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

Data Fields

# CCUnitTestFailure Struct Reference
[TestFailure, Browsing collected test result]

Collects a failed test together with the failed assertion. More...

`#include <CCUnitTestFailure.h>`

Collaboration diagram for CCUnitTestFailure:
[legend]

## Data Fields
const char * | file
| file name
unsigned int | line
| line No.
const char * | condstr
| test condition
const char * | expect
| expect value as string
const char * | actual
| actual value as string
const CCUnitTestCase * | testCase
| test case object

## Detailed Description

Collects a failed test together with the failed assertion.

See also:
  TestResult

## Field Documentation

const char* CCUnitTestFailure::actual

actual value as string

Referenced by printFailures().

const char* CCUnitTestFailure::condstr

test condition

Referenced by printFailures().

const char* CCUnitTestFailure::expect

expect value as string

Referenced by printFailures().

const char* CCUnitTestFailure::file

file name

Referenced by printFailures().

unsigned int CCUnitTestFailure::line

line No.

Referenced by printFailures().

const CCUnitTestCase* CCUnitTestFailure::testCase

test case object

Referenced by printFailures(), and runTest().

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

- CCUnitTestFailure.h

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