Go to the documentation of this file.
18 #ifndef __LIBTEST_TESTRESULT_H
19 #define __LIBTEST_TESTRESULT_H
36 #define OK TestResult( TestResult::Success )
37 #define FAIL TestResult( TestResult::Failure )
38 #define SKIP TestResult( TestResult::Skipped )
const Result m_result
The result code for this test.
TestResult(Result result, const char *description="")
Constructor.
bool isOK() const
Check if the test passed.
bool isSkipped() const
Check if the test is skipped.
String & getDescription()
Get result description.
Represents a Test result created by a TestInstance.
bool isFailed() const
Check if the test failed.
String m_description
Text describing the result.
const Result getResult() const
Get result code.