[ CCUnit project page ] | [ CCUnit home page ] |
A Composite
class of Tests.
More...
![]() |
Data Structures | |
struct | CCUnitTestSuite |
A Composite class of Tests. More... | |
struct | CCUnitTestSuiteDfn |
Typedefs | |
typedef struct CCUnitTestSuiteDfn | CCUnitTestSuiteDfn |
Functions | |
static void | run (CCUnitTest *testSuite, CCUnitTestResult *result) |
Runs the test cases and collects their result in a TestResult. | |
static void | destroy (CCUnitTest *test) |
destruct test suite. | |
CCUnitTestSuite * | ccunit_newTestSuiteFromDfn (const CCUnitTestSuiteDfn *sdp) |
Constructs a TestSuite from definition struct. |
A Composite
class of Tests.
It runs a collection of test cases.
typedef struct CCUnitTestSuiteDfn CCUnitTestSuiteDfn |
CCUnitTestSuite * ccunit_newTestSuiteFromDfn | ( | const CCUnitTestSuiteDfn * | sdp | ) |
Constructs a TestSuite from definition struct.
sdp | test suite definition. |
static void destroy | ( | CCUnitTest * | test | ) | [static] |
destruct test suite.
test | destruct object. |
References ccunit_deleteList(), ccunit_deleteTest(), ccunitTypeSuite, name, safe_free, tests, and CCUnitTest::type.
static void run | ( | CCUnitTest * | testSuite, | |
CCUnitTestResult * | result | |||
) | [static] |
Runs the test cases and collects their result in a TestResult.
testSuite | test suite. | |
result | result container. |
References ccunit_initListIterator(), ccunit_nextListIterator(), ccunitTypeSuite, CCUnitTest::run, CCUnitTestResult::shouldStop, tests, and CCUnitTest::type.
|
hosts this site. | Send comments to: CCUnit Developer |
Generated on Sun Aug 29 2010 10:59:33 for CCUnit by ![]() |