OpenShot Library | OpenShotAudio  0.2.2
unit_tests

Classes

class  juce::UnitTest
 This is a base class for classes that perform a unit test. More...
 
struct  juce::UnitTestRunner::TestResult
 Contains the results of a test. More...
 
class  juce::UnitTestRunner
 Runs a set of unit tests. More...
 

Detailed Description


Class Documentation

◆ juce::UnitTestRunner::TestResult

struct juce::UnitTestRunner::TestResult

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 381 of file juce_UnitTest.h.

Class Members
String unitTestName The main name of this test (i.e.

the name of the UnitTest object being run).

String subcategoryName The name of the current subcategory (i.e.

the name that was set when UnitTest::beginTest() was called).

int passes The number of UnitTest::expect() calls that succeeded.
int failures The number of UnitTest::expect() calls that failed.
StringArray messages A list of messages describing the failed tests.