Lines Matching refs:TestNode
44 struct TestNode struct
47 struct TestNode* sibling; argument
48 struct TestNode* child; argument
53 static const struct TestNode* currentTest; argument
67 static TestNode* addTestNode( TestNode *root, const char *name );
69 static TestNode *createTestNode(const char* name, int32_t nameLen);
79 static void iterateTestsWithLevel( const TestNode *root, int depth,
80 const TestNode** nodeList,
172 static TestNode *createTestNode(const char* name, int32_t nameLen) in createTestNode()
174 TestNode *newNode; in createTestNode()
176 newNode = (TestNode*)malloc(sizeof(TestNode) + (nameLen + 1)); in createTestNode()
189 cleanUpTestTree(TestNode *tn) in cleanUpTestTree()
204 addTest(TestNode** root, in addTest()
208 TestNode *newNode; in addTest()
222 static TestNode *addTestNode ( TestNode *root, const char *name ) in addTestNode()
225 TestNode *nextNode, *curNode; in addTestNode()
327 static void iterateTestsWithLevel ( const TestNode* root, in iterateTestsWithLevel()
329 const TestNode** nodeList, in iterateTestsWithLevel()
493 showTests ( const TestNode *root ) in showTests()
496 const TestNode *nodeList[MAXTESTS]; in showTests()
506 runTests ( const TestNode *root ) in runTests()
509 const TestNode *nodeList[MAXTESTS]; in runTests()
575 const TestNode* T_CTEST_EXPORT2
576 getTest(const TestNode* root, const char* name) in getTest()
579 TestNode *nextNode; in getTest()
580 const TestNode* curNode; in getTest()
1086 runTestRequest(const TestNode* root, in runTestRequest()
1093 const TestNode* toRun; in runTestRequest()