| 33 | using namespace EsiLib; |
| 34 | |
| 35 | void |
| 36 | check_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 | |
| 46 | void |
| 47 | checkNodeList1(const DocNodeList &node_list) |
no outgoing calls
no test coverage detected