MCPcopy Create free account
hub / github.com/apache/trafficserver / check_node_attr

Function check_node_attr

plugins/esi/test/docnode_test.cc:35–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33using namespace EsiLib;
34
35void
36check_node_attr(const Attribute &attr, const char *name, const char *value)
37{
38 int name_len = strlen(name);
39 int value_len = strlen(value);
40 REQUIRE(attr.name_len == name_len);
41 REQUIRE(attr.value_len == value_len);
42 REQUIRE(strncmp(attr.name, name, name_len) == 0);
43 REQUIRE(strncmp(attr.value, value, value_len) == 0);
44}
45
46void
47checkNodeList1(const DocNodeList &node_list)

Callers 2

checkNodeList1Function · 0.70
checkNodeList2Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected