Inherits ReferenceCountedObject.
|
uint64 | startTime = 0 |
|
uint64 | endTime = 0 |
|
unsigned int | passed = 0 |
|
unsigned int | failed = 0 |
|
unsigned int | exceptions = 0 |
|
Map< const void *, HereMeta > | heres |
|
Array< TestResult > | results |
|
String | exceptionFailure |
|
String | exceptionType |
|
◆ compare()
static bool UnitTest::Run::compare |
( |
const Run & |
a, |
|
|
const Run & |
b |
|
) |
| |
|
static |
◆ getReport()
◆ onException()
void UnitTest::Run::onException |
( |
const Exception * |
exception | ) |
|
◆ onFailed()
void UnitTest::Run::onFailed |
( |
const String & |
what, |
|
|
unsigned int |
line = 0 |
|
) |
| |
Called when subtest failed.
◆ onHere()
void UnitTest::Run::onHere |
( |
const Here * |
here | ) |
|
Called when here point is reached.
◆ onNotHere()
void UnitTest::Run::onNotHere |
( |
const NotHere * |
here | ) |
|
Called when here point is reached but shouldn't be reached.
◆ onPassed()
void UnitTest::Run::onPassed |
( |
const String & |
what, |
|
|
unsigned int |
line = 0 |
|
) |
| |
Called when subtest passed.
◆ onPrint()
void UnitTest::Run::onPrint |
( |
const String & |
what, |
|
|
unsigned int |
line = 0 |
|
) |
| |
Called on explicit print request.
◆ onPrintIssue()
void UnitTest::Run::onPrintIssue |
( |
const String & |
what, |
|
|
unsigned int |
line = 0 |
|
) |
| |
Called on explicit print request.
◆ registerHere()
void UnitTest::Run::registerHere |
( |
const Here * |
here, |
|
|
const char * |
description |
|
) |
| |
Called when here point is declared.
◆ registerNotHere()
void UnitTest::Run::registerNotHere |
( |
const NotHere * |
here, |
|
|
const char * |
description |
|
) |
| |
Called when here point is declared.