edbee - Qt Editor Library
|
This method represents a test result. More...
#include <test.h>
Public Types | |
enum | Status { Passed, Failed, Skipped } |
Public Member Functions | |
TestResult (TestCase *testCase, const QString &methodName, const QString &description, const char *file, int lineNumber) | |
A single test result. More... | |
virtual | ~TestResult () |
virtual void | setBooleanResult (bool result, const char *statement) |
Sets the result and the state of the test. More... | |
virtual void | setCompareResult (bool result, const QString &actualValue, const QString &expectedValue, const char *actualStatement, const char *expectedStatement) |
Sets a compare result. More... | |
virtual void | setSkip () |
A skip test result. More... | |
virtual TestCase * | testCae () |
virtual QString | methodName () |
virtual QString | description () |
virtual const char * | fileName () |
virtual int | lineNumber () |
virtual bool | compareStatement () |
virtual const char * | actualStatement () |
virtual const char * | statement () |
virtual const char * | expectedStatement () |
virtual QString | actualValue () |
virtual QString | expectedValue () |
virtual Status | status () |
This method represents a test result.
|
explicit |
A single test result.
testCase | the testCase |
methodName | the called method name |
description | the description of this test |
file | the file of the test |
lineNUmber | the line numbrer of the test |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Sets the result and the state of the test.
result | the result status |
statement | the executed statement |
|
virtual |
Sets a compare result.
result | the compare result |
actualValue | the actual value set |
expectedValue | the expected value of this operation |
actualStatement | the executed statement |
actualValue | the actual value of the compare |
|
virtual |
A skip test result.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |