|
Envision
A visual programming IDE for object-oriented languages
|
The TestResult class describes the outcome of a single test or check. More...
Public Types | |
| enum | TestOutcome { TestPassed , TestFailed } |
Public Member Functions | |
| TestResult (TestOutcome outcome, const QString &message) | |
| virtual | ~TestResult () |
| const QString & | getMessage () const |
| TestOutcome | getOutcome () const |
| bool | isFailed () const |
| bool | isPassed () const |
Private Attributes | |
| QString | message |
| TestOutcome | outcome |
The TestResult class describes the outcome of a single test or check.
An outcome consists of two fields:
| SelfTest::TestResult::TestResult | ( | TestOutcome | outcome, |
| const QString & | message | ||
| ) |
|
virtual |
| const QString & SelfTest::TestResult::getMessage | ( | ) | const |
| TestResult::TestOutcome SelfTest::TestResult::getOutcome | ( | ) | const |
| bool SelfTest::TestResult::isFailed | ( | ) | const |
| bool SelfTest::TestResult::isPassed | ( | ) | const |
|
private |
|
private |