Lines Matching refs:parent
87 TestNode::TestNode (TestGroup* parent, TestNodeType nodeType, const char* name)
88 : m_parent (parent)
95 if (parent->m_childNames.find(name) != parent->m_childNames.end())
96 throw Error(std::string("Duplicate node '") + name + "' in '" + parent->getFullPath());
179 TestGroup::TestGroup (TestGroup* parent, TestNodeType nodeType, const char* name)
180 : TestNode(parent, nodeType, name)
183 DE_ASSERT(!parent == (nodeType == TESTNODETYPE_ROOT));
240 TestCase* TestCase::createAsChild(TestGroup* parent, TestCaseType caseType, const char *name)
242 return new TestCase(parent, caseType, name);
245 TestCase::TestCase (TestGroup* parent, TestCaseType caseType, const char* name)
246 : TestNode (parent, TESTNODETYPE_TEST_CASE, name)