OpenShot Audio Library | OpenShotAudio 0.4.0
|
#include <juce_UnitTest.h>
Public Member Functions | |
TestResult (const String &name, const String &subCategory) | |
Public Attributes | |
String | unitTestName |
String | subcategoryName |
int | passes = 0 |
int | failures = 0 |
StringArray | messages |
Time | startTime = Time::getCurrentTime() |
Time | endTime |
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.
Definition at line 377 of file juce_UnitTest.h.
|
inlineexplicit |
Definition at line 381 of file juce_UnitTest.h.
Time juce::UnitTestRunner::TestResult::endTime |
The time at which this test ended.
Definition at line 403 of file juce_UnitTest.h.
int juce::UnitTestRunner::TestResult::failures = 0 |
The number of UnitTest::expect() calls that failed.
Definition at line 395 of file juce_UnitTest.h.
StringArray juce::UnitTestRunner::TestResult::messages |
A list of messages describing the failed tests.
Definition at line 398 of file juce_UnitTest.h.
int juce::UnitTestRunner::TestResult::passes = 0 |
The number of UnitTest::expect() calls that succeeded.
Definition at line 393 of file juce_UnitTest.h.
Time juce::UnitTestRunner::TestResult::startTime = Time::getCurrentTime() |
The time at which this test was started.
Definition at line 401 of file juce_UnitTest.h.
String juce::UnitTestRunner::TestResult::subcategoryName |
The name of the current subcategory (i.e. the name that was set when UnitTest::beginTest() was called).
Definition at line 390 of file juce_UnitTest.h.
String juce::UnitTestRunner::TestResult::unitTestName |
The main name of this test (i.e. the name of the UnitTest object being run).
Definition at line 388 of file juce_UnitTest.h.