[ CCUnit project page ] |  | [ CCUnit home page ]

Data Fields

# CCUnitTestRunner Struct Reference
[TestRunner]

Runs a single test and collects its results. More...

`#include <CCUnitTestRunner.h>`

Collaboration diagram for CCUnitTestRunner:
[legend]

## Data Fields
CCUnitTestListener | listener
| test listeners
CCUnitTestResult * | result
| test result container
int(* | run )(CCUnitTestRunner *, CCUnitTestSuite *)
| test run function
FILE * | ofp
| result output stream

## Detailed Description

Runs a single test and collects its results.

This method can be used to start a test run from your program.

See also:
  CCUnitTestSuite, CCUnitTestCase.

## Field Documentation

CCUnitTestListener CCUnitTestRunner::listener

test listeners

Referenced by doRun().

FILE* CCUnitTestRunner::ofp

result output stream

Referenced by addFailure(), doRun(), printFailures(), printHeader(), and startTest().

CCUnitTestResult* CCUnitTestRunner::result

test result container

Referenced by doRun().

int(* CCUnitTestRunner::run)(CCUnitTestRunner *, CCUnitTestSuite *)

test run function

The documentation for this struct was generated from the following file:

- CCUnitTestRunner.h

| hosts this site. |  | Send comments to: CCUnit Developer |