Lines Matching refs:TestGroup
87 TestNode::TestNode (TestGroup* parent, TestNodeType nodeType, const char* name, const char* desc) in TestNode()
151 return static_cast<const TestGroup*>(this)->findChildNode(path); in find()
164 return static_cast<const TestGroup*>(this)->findChildNode(path + compLen + 1); in find()
180 TestGroup::TestGroup (TestGroup* parent, TestNodeType nodeType, const char* name, const char* descr… in TestGroup() function in xe::TestGroup
187 TestGroup::~TestGroup (void) in ~TestGroup()
193 TestGroup* TestGroup::createGroup (const char* name, const char* description) in createGroup()
195 return new TestGroup(this, TESTNODETYPE_GROUP, name, description); in createGroup()
198 TestCase* TestGroup::createCase (TestCaseType caseType, const char* name, const char* description) in createCase()
203 const TestNode* TestGroup::findChildNode (const char* path) const in findChildNode()
224 return static_cast<const TestGroup*>(matchingNode)->findChildNode(path + compLen + 1); in findChildNode()
235 : TestGroup(DE_NULL, TESTNODETYPE_ROOT, "", "") in TestRoot()
241 TestCase* TestCase::createAsChild(TestGroup* parent, TestCaseType caseType, const char *name, const… in createAsChild()
246 TestCase::TestCase (TestGroup* parent, TestCaseType caseType, const char* name, const char* descrip… in TestCase()
258 void addChildGroupsToMap (std::map<std::string, TestGroup*>& groupMap, TestGroup* group) in addChildGroupsToMap()
265 TestGroup* childGroup = static_cast<TestGroup*>(node); in addChildGroupsToMap()
295 TestGroup* curGroup = m_root; in createCase()
303 std::map<std::string, TestGroup*>::const_iterator groupPos = m_groupMap.find(curGroupPath); in createCase()
306 TestGroup* newGroup = curGroup->createGroup(components[ndx].c_str(), "" /* description */); in createCase()
328 static void addChildren (std::set<const TestNode*>& nodeSet, const TestGroup* group) in addChildren()
336 addChildren(nodeSet, static_cast<const TestGroup*>(child)); in addChildren()
340 static void removeChildren (std::set<const TestNode*>& nodeSet, const TestGroup* group) in removeChildren()
348 removeChildren(nodeSet, static_cast<const TestGroup*>(child)); in removeChildren()
352 static bool hasChildrenInSet (const std::set<const TestNode*>& nodeSet, const TestGroup* group) in hasChildrenInSet()
362 static void removeEmptyGroups (std::set<const TestNode*>& nodeSet, const TestGroup* group) in removeEmptyGroups()
382 addGroup(static_cast<const TestGroup*>(node)); in add()
391 void TestSet::addGroup (const TestGroup* testGroup) in addGroup()
405 removeGroup(static_cast<const TestGroup*>(node)); in remove()
418 void TestSet::removeGroup (const TestGroup* testGroup) in removeGroup()
457 static_cast<const TestGroup*>(curNode)->getNumChildren() > 0) in operator ++()
459 m_iterStack.push_back(GroupState(static_cast<const TestGroup*>(curNode))); in operator ++()
465 const TestGroup* group = m_iterStack.back().group; in operator ++()