27 static const char gDoc[] =
32 "<subelem1>Some text.</subelem1>"
33 "<subelem2 f='6' g='7'/>"
34 "<subelem3>Some more text.</subelem3>"
48 const char* v =
dom.findAttr(
root,
"a");
59 const auto* elem1 = check_node(r,
dom,
dom.getFirstChild(
root),
61 const auto* elem2 = check_node(r,
dom,
dom.getNextSibling(elem1),
63 const auto* elem3 = check_node(r,
dom,
dom.getNextSibling(elem2),
66 const auto* subelem1 = check_node(r,
dom,
dom.getFirstChild(elem3),
69 check_node(r,
dom,
dom.getFirstChild(subelem1),
72 const auto* subelem2 = check_node(r,
dom,
dom.getNextSibling(subelem1),
74 const auto* subelem3 = check_node(r,
dom,
dom.getNextSibling(subelem2),
77 check_node(r,
dom,
dom.getFirstChild(subelem3),
81 check_node(r,
dom,
dom.getNextSibling(elem3),
#define DEF_TEST(name, reporter)
#define REPORTER_ASSERT(r, cond,...)