Lines Matching refs:TestNode
25 struct TestNode struct
29 struct TestNode* sibling; argument
30 struct TestNode* child; argument
34 static const struct TestNode* currentTest;
48 static TestNode* addTestNode( TestNode *root, const char *name );
50 static TestNode* createTestNode();
60 static void iterateTestsWithLevel( const TestNode *root, int len,
61 const TestNode** list,
126 static TestNode *createTestNode( ) in createTestNode()
128 TestNode *newNode; in createTestNode()
130 newNode = (TestNode*)malloc ( sizeof ( TestNode ) ); in createTestNode()
141 cleanUpTestTree(TestNode *tn) in cleanUpTestTree()
155 addTest(TestNode** root, in addTest()
159 TestNode *newNode; in addTest()
173 static TestNode *addTestNode ( TestNode *root, const char *name ) in addTestNode()
176 TestNode *nextNode, *curNode; in addTestNode()
248 static void iterateTestsWithLevel ( const TestNode* root, in iterateTestsWithLevel()
250 const TestNode** list, in iterateTestsWithLevel()
307 showTests ( const TestNode *root ) in showTests()
310 const TestNode *aList[MAXTESTS]; in showTests()
320 runTests ( const TestNode *root ) in runTests()
323 const TestNode *aList[MAXTESTS]; in runTests()
367 const TestNode* T_CTEST_EXPORT2
368 getTest(const TestNode* root, const char* name) in getTest()
371 TestNode *nextNode; in getTest()
372 const TestNode* curNode; in getTest()
522 processArgs(const TestNode* root, in processArgs()
529 const TestNode* toRun; in processArgs()