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 | |
Time | endTime |
The time at which this test ended. More... | |
int | failures = 0 |
The number of UnitTest::expect() calls that failed. More... | |
StringArray | messages |
A list of messages describing the failed tests. More... | |
int | passes = 0 |
The number of UnitTest::expect() calls that succeeded. More... | |
Time | startTime = Time::getCurrentTime() |
The time at which this test was started. More... | |
String | subcategoryName |
The name of the current subcategory (i.e. More... | |
String | unitTestName |
The main name of this test (i.e. More... | |
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 |
|
inlineexplicit |
Time juce::UnitTestRunner::TestResult::endTime |
The time at which this test ended.
int juce::UnitTestRunner::TestResult::failures = 0 |
The number of UnitTest::expect() calls that failed.
StringArray juce::UnitTestRunner::TestResult::messages |
A list of messages describing the failed tests.
int juce::UnitTestRunner::TestResult::passes = 0 |
The number of UnitTest::expect() calls that succeeded.
Time juce::UnitTestRunner::TestResult::startTime = Time::getCurrentTime() |
The time at which this test was started.
String juce::UnitTestRunner::TestResult::subcategoryName |
The name of the current subcategory (i.e.
the name that was set when UnitTest::beginTest() was called).
String juce::UnitTestRunner::TestResult::unitTestName |
The main name of this test (i.e.
the name of the UnitTest object being run).