CCUnit project page CCUnit home page

Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

CCUnitTestResult.h File Reference


Detailed Description

TestResult module.

#include <ccunit/CCUnitConfig.h>
#include <ccunit/CCUnitList.h>
#include <ccunit/CCUnitTestFailure.h>
#include <ccunit/CCUnitTestListener.h>

Include dependency graph for CCUnitTestResult.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.


Data Structures

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


Typedefs

typedef 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.


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