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

Functions

# CCUnitTestRunner.c File Reference

TestRunner module implementation. More...

`#include <stdio.h>`
`#include <ccunit/CCUnitTestRunner.h>`
Include dependency graph for CCUnitTestRunner.c:

## Functions
static void | startTest (CCUnitTestListener *listener, CCUnitTestCase *test)
| receive startTest notification.
static void | endTest (CCUnitTestListener *listener, CCUnitTestCase *test)
| receive endTest notification.
static void | addFailure (CCUnitTestListener *listener, CCUnitTestFailure *failure)
| receive addFailure notification.
static void | printHeader (CCUnitTestRunner *runner, CCUnitTestResult *result)
| Prints the header of the report.
static void | printFailures (CCUnitTestRunner *runner, CCUnitTestResult *result)
| Prints failures.
static void | print (CCUnitTestRunner *runner, CCUnitTestResult *result)
| Prints failures.
static int | doRun (CCUnitTestRunner *runner, CCUnitTestSuite *suite)
| Runs a single test and collects its results.
CCUnitTestRunner * | ccunit_newTestRunner (FILE *output)
| constructor.
void | ccunit_deleteTestRunner (CCUnitTestRunner *runner)
| destructor.
int | ccunit_runTestRunner (CCUnitTestRunner *runner, CCUnitTestSuite *suite)
| Runs test suite.
CCUnitTestResult * | ccunit_getResult (CCUnitTestRunner *runner)
| Get test result.

## Detailed Description

TestRunner module implementation.

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