JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::UnitTestRunner::TestResult Struct Reference

Contains the results of a test. More...

#include <juce_UnitTest.h>

Collaboration diagram for juce::UnitTestRunner::TestResult:

Public Attributes

int failures
 The number of UnitTest::expect() calls that failed. More...
 
StringArray messages
 A list of messages describing the failed tests. More...
 
int passes
 The number of UnitTest::expect() calls that succeeded. More...
 
String subcategoryName
 The name of the current subcategory (i.e. More...
 
String unitTestName
 The main name of this test (i.e. More...
 

Detailed Description

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.

Member Data Documentation

◆ failures

int juce::UnitTestRunner::TestResult::failures

The number of UnitTest::expect() calls that failed.

◆ messages

StringArray juce::UnitTestRunner::TestResult::messages

A list of messages describing the failed tests.

◆ passes

int juce::UnitTestRunner::TestResult::passes

The number of UnitTest::expect() calls that succeeded.

◆ subcategoryName

String juce::UnitTestRunner::TestResult::subcategoryName

The name of the current subcategory (i.e.

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

◆ unitTestName

String juce::UnitTestRunner::TestResult::unitTestName

The main name of this test (i.e.

the name of the UnitTest object being run).


The documentation for this struct was generated from the following file: