OSDN Git Service

The function to run TestFixtures was added.
authortsutsumi <>
Wed, 24 Sep 2003 10:23:03 +0000 (10:23 +0000)
committertsutsumi <>
Wed, 24 Sep 2003 10:23:03 +0000 (10:23 +0000)
src/ccunit/CCUnitTestFixture.h

index a8cf682..cf00680 100644 (file)
@@ -33,6 +33,7 @@
 #include <ccunit/CCUnitList.h>
 #include <ccunit/CCUnitTest.h>
 #include <ccunit/CCUnitTestCase.h>
+#include <ccunit/CCUnitTestResult.h>
 
 /**
  * @ingroup CCUnitTest
@@ -170,6 +171,13 @@ extern CCUnitTestCase* ccunit_addNewTestCase (CCUnitTestFixture* fixture,
                                              void (*runTest)());
 
 /**
+ * run test cases and collect its results.
+ * @param f test fixture.
+ * @return test result.
+ */
+extern inline struct CCUnitTestResult* ccunit_runTestFixture (CCUnitTestFixture* f);
+
+/**
  * Runs the bare test sequence.
  *
  * @param testFixture test fixture to run.