#include <testresult.h>
Public Member Functions | |
| TestResult () | |
| virtual | ~TestResult () |
| int | getTotalSuccesses () const |
| Get the total number of successes registered by all test cases ran. | |
| int | getTotalErrors () const |
| Get the total number of errors registered by all test cases ran. | |
| int | getTotalFailures () const |
| Get the total number of failures registered by all test cases ran. | |
| int | getSuccesses () const |
| Get the number of testcases ran that succeeded. | |
| int | getFailures () const |
| Get the number of testcases ran that failed. | |
| int | getErrors () const |
| Get the number of testcases ran that reported an error. | |
| int | getTestCaseCount () const |
| Get the number of testcases in the TestCase list. | |
| int | getTestRanCount () const |
| Get the number of tests. | |
| int | getTestCaseRanCount () const |
| Get the number of testcases ran. | |
| TestCase * | getTestCases () const |
| Get the TestCase list. | |
| void | setTestCases (TestCase *testCases, int testCaseCount) |
| Set the TestCase list and the size of the list. | |
| virtual void | addResult (TestCase *testCase) |
| Add a TestCase result. | |
Protected Attributes | |
| int | testCaseCount_ |
| int | testRanCount_ |
| int | testCaseRanCount_ |
| int | totalSuccesses_ |
| int | totalErrors_ |
| int | totalFailures_ |
| int | successes_ |
| int | errors_ |
| int | failures_ |
| TestCase * | testCases_ |
|
|
|
|
|
|
|
|
Add a TestCase result. This is used by a TestCase after it has completed.
|
|
|
Get the number of testcases ran that reported an error.
|
|
|
Get the number of testcases ran that failed.
|
|
|
Get the number of testcases ran that succeeded.
|
|
|
Get the number of testcases in the TestCase list.
|
|
|
Get the number of testcases ran.
|
|
|
Get the TestCase list. This list contains all TestCase registered and not only those that were ran.
|
|
|
Get the number of tests.
|
|
|
Get the total number of errors registered by all test cases ran. This is the sum of all TestCase->getErrorsCount().
|
|
|
Get the total number of failures registered by all test cases ran. This is the sum of all TestCase->getFailuresCount().
|
|
|
Get the total number of successes registered by all test cases ran. This is the sum of all TestCase->getSuccessesCount().
|
|
||||||||||||
|
Set the TestCase list and the size of the list.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.8