CCUnit  2.1
A C Unit Testing Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Functions
TestSuite
Test

A Composite class of Tests. More...

Collaboration diagram for TestSuite:

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.
CCUnitTestSuiteccunit_newTestSuiteFromDfn (const CCUnitTestSuiteDfn *sdp)
 Constructs a TestSuite from definition struct.

Detailed Description

A Composite class of Tests.

It runs a collection of test cases.


Typedef Documentation


Function Documentation

CCUnitTestSuite * ccunit_newTestSuiteFromDfn ( const CCUnitTestSuiteDfn sdp)
static void destroy ( CCUnitTest test)
static

destruct test suite.

Parameters:
testdestruct object.

References ccunit_deleteList(), ccunit_deleteTest(), ccunitTypeSuite, name, safe_free, tests, and CCUnitTest::type.

Referenced by ccunit_newTestSuite().

Here is the call graph for this function:

Here is the caller graph for this function:

static void run ( CCUnitTest testSuite,
CCUnitTestResult result 
)
static

Runs the test cases and collects their result in a TestResult.

Parameters:
testSuitetest suite.
resultresult container.

References ccunit_initListIterator(), ccunit_nextListIterator(), ccunitTypeSuite, CCUnitTest::run, CCUnitTestResult::shouldStop, tests, and CCUnitTest::type.

Referenced by ccunit_newTestSuite().

Here is the call graph for this function:

Here is the caller graph for this function:

SourceForge.jp hosts this site. Send comments to: CCUnit Developer