Lines Matching defs:node
96 throw Error(std::string("Duplicate node '") + name + "' in '" + parent->getFullPath());
149 // Don't need to consider current node.
154 // Check if first component matches this node.
221 return matchingNode; // Last element in path, return matching node.
261 TestNode* node = group->getChild(ndx);
262 if (node->getNodeType() == TESTNODETYPE_GROUP)
264 TestGroup* childGroup = static_cast<TestGroup*>(node);
318 static void addNodeAndParents (std::set<const TestNode*>& nodeSet, const TestNode* node)
320 while (node != DE_NULL)
322 nodeSet.insert(node);
323 node = node->getParent();
373 void TestSet::add (const TestNode* node)
375 if (node->getNodeType() == TESTNODETYPE_TEST_CASE)
376 addCase(static_cast<const TestCase*>(node));
379 XE_CHECK(node->getNodeType() == TESTNODETYPE_GROUP ||
380 node->getNodeType() == TESTNODETYPE_ROOT);
381 addGroup(static_cast<const TestGroup*>(node));
396 void TestSet::remove (const TestNode* node)
398 if (node->getNodeType() == TESTNODETYPE_TEST_CASE)
399 removeCase(static_cast<const TestCase*>(node));
402 XE_CHECK(node->getNodeType() == TESTNODETYPE_GROUP ||
403 node->getNodeType() == TESTNODETYPE_ROOT);
404 removeGroup(static_cast<const TestGroup*>(node));