assert (test->type == ccunitTypeTestCase);
testCase = (CCUnitTestCase*)test;
safe_free (testCase->name);
+ ccunit_deleteTestFunc (testCase->setup_setUp);
+ ccunit_deleteTestFunc (testCase->setup_tearDown);
ccunit_deleteTestFunc (testCase->setUp);
ccunit_deleteTestFunc (testCase->tearDown);
ccunit_deleteList (&testCase->testFuncs,
return testCase;
}
+inline void ccunit_deleteTestCase (CCUnitTestCase* testCase)
+{
+ ccunit_deleteTest (&testCase->test);
+}
+
inline struct CCUnitTestResult* ccunit_runTestCase (CCUnitTestCase* testCase)
{
CCUnitTestResult* result;