[ CCUnit project page ] [ CCUnit home page ]
Data Structures | Typedefs | Functions

CCUnitTestResult.h File Reference

TestResult module. More...

#include <ccunit/CCUnitConfig.h>
#include <ccunit/CCUnitList.h>
#include <ccunit/CCUnitTestFailure.h>
#include <ccunit/CCUnitTestListener.h>
Include dependency graph for CCUnitTestResult.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  CCUnitTestResult
 Collects the results of a test case. More...

Typedefs

typedef struct CCUnitTestResult CCUnitTestResult
 Collects the results of a test case.

Functions

CCUnitTestResultccunit_newTestResult ()
 Construct TestResult.
void ccunit_deleteTestResult (CCUnitTestResult *result)
 Destruct TestResult.
void ccunit_addFailure (CCUnitTestResult *result, struct CCUnitTestFailure *failure)
 Adds a failure to the list of failures.
void ccunit_addResultListener (CCUnitTestResult *result, CCUnitTestListener *listener)
 Registers a TestRunner as TestListener.
CCUnitListIteratorccunit_failures (CCUnitTestResult *result)
 Returns an Iterator for the failures.
size_t ccunit_failureCount (CCUnitTestResult *result)
 Gets the number of detected failures.
bool ccunit_wasSuccessful (CCUnitTestResult *result)
 Returns whether the entire test was successful or not.
void ccunit_stopTest (CCUnitTestResult *result)
 Marks that the test run should stop.
size_t ccunit_runCount (CCUnitTestResult *result)
 Gets the number of run tests.

Detailed Description

TestResult module.

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