| JUCE
    | 
Contains the results of a test. More...
#include <juce_UnitTest.h>
| Public Member Functions | |
| TestResult ()=default | |
| TestResult (const String &name, const String &subCategory) | |
| Public Attributes | |
| String | unitTestName | 
| The main name of this test (i.e. | |
| String | subcategoryName | 
| The name of the current subcategory (i.e. | |
| int | passes = 0 | 
| The number of UnitTest::expect() calls that succeeded. | |
| int | failures = 0 | 
| The number of UnitTest::expect() calls that failed. | |
| StringArray | messages | 
| A list of messages describing the failed tests. | |
| Time | startTime = Time::getCurrentTime() | 
| The time at which this test was started. | |
| Time | endTime | 
| The time at which this test ended. | |
Contains the results of a test.
One of these objects is instantiated each time UnitTest::beginTest() is called, and it contains details of the number of subsequent UnitTest::expect() calls that are made.
| 
 | default | 
| String UnitTestRunner::TestResult::unitTestName | 
The main name of this test (i.e.
the name of the UnitTest object being run).
| String UnitTestRunner::TestResult::subcategoryName | 
The name of the current subcategory (i.e.
the name that was set when UnitTest::beginTest() was called).
| int UnitTestRunner::TestResult::passes = 0 | 
The number of UnitTest::expect() calls that succeeded.
| int UnitTestRunner::TestResult::failures = 0 | 
The number of UnitTest::expect() calls that failed.
| StringArray UnitTestRunner::TestResult::messages | 
A list of messages describing the failed tests.
| Time UnitTestRunner::TestResult::startTime = Time::getCurrentTime() | 
The time at which this test was started.
| Time UnitTestRunner::TestResult::endTime | 
The time at which this test ended.