Lines Matching full:suite
46 Suite *
48 Suite *suite = (Suite *)calloc(1, sizeof(Suite)); in suite_create() local
49 if (suite != NULL) { in suite_create()
50 suite->name = name; in suite_create()
52 return suite; in suite_create()
65 suite_add_tcase(Suite *suite, TCase *tc) { in suite_add_tcase() argument
66 assert(suite != NULL); in suite_add_tcase()
70 tc->next_tcase = suite->tests; in suite_add_tcase()
71 suite->tests = tc; in suite_add_tcase()
108 suite_free(Suite *suite) { in suite_free() argument
109 if (! suite) { in suite_free()
113 while (suite->tests != NULL) { in suite_free()
114 TCase *next = suite->tests->next_tcase; in suite_free()
115 tcase_free(suite->tests); in suite_free()
116 suite->tests = next; in suite_free()
118 free(suite); in suite_free()
122 srunner_create(Suite *suite) { in srunner_create() argument
125 runner->suite = suite; in srunner_create()
161 Suite *suite; in srunner_run_all() local
164 suite = runner->suite; in srunner_run_all()
165 tc = suite->tests; in srunner_run_all()
236 suite_free(runner->suite); in srunner_free()