Lines Matching full:root
387 currentElement = &root;
403 TEST_ASSERT((currentElement == &root) ? !elemStack.size() : elemStack.size() > 0);
427 DomElement root;
513 const DomElement &root = handler.root;
514 TEST_ASSERT_EQUAL_STRING("WV-CSP-Message", root.name.c_str());
515 TEST_ASSERT_EQUAL_INT(1, root.attribs.size());
516 TEST_ASSERT_EQUAL_STRING("xmlns", root.attribs[0].name.c_str());
517 TEST_ASSERT_EQUAL_STRING("http://www.wireless-village.org/CSP1.1", root.attribs[0].value.c_str());
519 TEST_ASSERT_EQUAL_INT(1, root.children.size());
520 const DomElement &elem = root.children[0];
534 const DomElement &root = handler.root;
535 TEST_ASSERT_EQUAL_STRING("WV-CSP-Message", root.name.c_str());
536 TEST_ASSERT_EQUAL_INT(1, root.attribs.size());
537 TEST_ASSERT_EQUAL_STRING("xmlns", root.attribs[0].name.c_str());
538 TEST_ASSERT_EQUAL_STRING("http://www.wireless-village.org/CSP1.1", root.attribs[0].value.c_str());
540 TEST_ASSERT_EQUAL_INT(1, root.children.size());
541 const DomElement &session = root.children[0];
566 const DomElement &sometag = handler.root.children[0];
576 const DomElement &metag = handler.root.children[1];
583 const DomElement &tag = handler.root.children[2];
600 const DomElement &root = handler.root;
601 TEST_ASSERT_EQUAL_STRING("WV-CSP-Message", root.name.c_str());
602 TEST_ASSERT_EQUAL_INT(1, root.attribs.size());
603 TEST_ASSERT_EQUAL_STRING("xmlns", root.attribs[0].name.c_str());
605 root.attribs[0].value.c_str());
607 const DomElement &transaction = root.children[0].children[1];
642 const DomElement &root = handler.root;
643 TEST_ASSERT_EQUAL_STRING("WV-CSP-Message", root.name.c_str());
644 TEST_ASSERT_EQUAL_INT(1, root.attribs.size());
645 TEST_ASSERT_EQUAL_STRING("xmlns", root.attribs[0].name.c_str());
647 root.attribs[0].value.c_str());
649 const DomElement &transacContent = root.children[0].children[1].children[1];
676 const DomElement &root = handler.root;
677 const DomElement &transacContent = root.children[0].children[1].children[1];
695 const DomElement &root = handler.root;
696 const DomElement &transacContent = root.children[0].children[1].children[1];
732 const DomElement &sessionType = handler.root.children[0].children[0].children[0];
779 const DomElement &root = handler.root;
780 TEST_ASSERT_EQUAL_STRING("WV-CSP-Message", root.name.c_str());
781 TEST_ASSERT_EQUAL_INT(1, root.attribs.size());
782 TEST_ASSERT_EQUAL_STRING("xmlns", root.attribs[0].name.c_str());
784 root.attribs[0].value.c_str());
818 const DomElement &sessionType = handler.root.children[0].children[0].children[0];
823 handler.root.name.clear();
824 handler.root.children.clear();
829 TEST_ASSERT_EQUAL_INT(0, handler.root.children.size());
830 TEST_ASSERT_EQUAL_INT(0, handler.root.name.size());