Lines Matching refs:children
371 vector<DomElement> children;
394 currentElement->children.push_back(child);
396 currentElement = &(currentElement->children.back());
519 TEST_ASSERT_EQUAL_INT(1, root.children.size());
520 const DomElement &elem = root.children[0];
521 TEST_ASSERT_EQUAL_INT(0, elem.children.size());
540 TEST_ASSERT_EQUAL_INT(1, root.children.size());
541 const DomElement &session = root.children[0];
542 TEST_ASSERT_EQUAL_INT(1, session.children.size());
546 const DomElement &sessionDesc = session.children[0];
547 TEST_ASSERT_EQUAL_INT(1, sessionDesc.children.size());
551 const DomElement &sessionType = sessionDesc.children[0];
552 TEST_ASSERT_EQUAL_INT(0, sessionType.children.size());
566 const DomElement &sometag = handler.root.children[0];
569 TEST_ASSERT_EQUAL_INT(1, sometag.children.size());
571 const DomElement &someMoreTag = sometag.children[0].children[0];
574 TEST_ASSERT_EQUAL_INT(0, someMoreTag.children.size());
576 const DomElement &metag = handler.root.children[1];
581 TEST_ASSERT_EQUAL_INT(0, metag.children.size());
583 const DomElement &tag = handler.root.children[2];
588 TEST_ASSERT_EQUAL_INT(0, tag.children.size());
607 const DomElement &transaction = root.children[0].children[1];
610 TEST_ASSERT_EQUAL_INT(2, transaction.children.size());
612 const DomElement &transactionContent = transaction.children[1];
618 TEST_ASSERT_EQUAL_INT(1, transactionContent.children.size());
620 const DomElement &clientID = transactionContent.children[0].children[0];
624 TEST_ASSERT_EQUAL_INT(0, clientID.children.size());
626 const DomElement &capReq = transactionContent.children[0].children[4];
630 TEST_ASSERT_EQUAL_INT(0, capReq.children.size());
649 const DomElement &transacContent = root.children[0].children[1].children[1];
656 const DomElement &resultCode = transacContent.children[0].children[0].children[0];
661 const DomElement &detailedResultCode = transacContent.children[0].children[0].children[2].children[0];
677 const DomElement &transacContent = root.children[0].children[1].children[1];
678 const DomElement &contentData = transacContent.children[0].children[2];
696 const DomElement &transacContent = root.children[0].children[1].children[1];
697 const DomElement &capList = transacContent.children[0].children[0];
701 TEST_ASSERT_EQUAL_INT(9, capList.children.size());
703 TEST_ASSERT_EQUAL_STRING("ClientType", capList.children[0].name.c_str());
704 TEST_ASSERT_EQUAL_STRING("MOBILE_PHONE", capList.children[0].characters.c_str());
706 TEST_ASSERT_EQUAL_STRING("SupportedBearer", capList.children[5].name.c_str());
707 TEST_ASSERT_EQUAL_STRING("HTTP", capList.children[5].characters.c_str());
709 TEST_ASSERT_EQUAL_STRING("SupportedCIRMethod", capList.children[7].name.c_str());
710 TEST_ASSERT_EQUAL_STRING("SHTTP", capList.children[7].characters.c_str());
712 TEST_ASSERT_EQUAL_STRING("SupportedCIRMethod", capList.children[8].name.c_str());
713 TEST_ASSERT_EQUAL_STRING("SSMS", capList.children[8].characters.c_str());
732 const DomElement &sessionType = handler.root.children[0].children[0].children[0];
733 TEST_ASSERT_EQUAL_INT(0, sessionType.children.size());
818 const DomElement &sessionType = handler.root.children[0].children[0].children[0];
819 TEST_ASSERT_EQUAL_INT(0, sessionType.children.size());
824 handler.root.children.clear();
829 TEST_ASSERT_EQUAL_INT(0, handler.root.children.size());