JUCE: UnitTestRunner::TestResult Struct Reference

JUCE

Public Attributes | List of all members
UnitTestRunner::TestResult Struct Reference

Contains the results of a test. More...

## Public Attributes
String | unitTestName
| The main name of this test (i.e. More...
String | subcategoryName
| The name of the current subcategory (i.e. More...
int | passes
| The number of UnitTest::expect() calls that succeeded. More...
int | failures
| The number of UnitTest::expect() calls that failed. More...
StringArray | messages
| A list of messages describing the failed tests. 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

## ◆ unitTestName

String UnitTestRunner::TestResult::unitTestName

The main name of this test (i.e.

the name of the UnitTest object being run).

## ◆ subcategoryName

String UnitTestRunner::TestResult::subcategoryName

The name of the current subcategory (i.e.

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

## ◆ passes

int UnitTestRunner::TestResult::passes

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

## ◆ failures

int UnitTestRunner::TestResult::failures

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

## ◆ messages

StringArray UnitTestRunner::TestResult::messages

A list of messages describing the failed tests.

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

- juce_UnitTest.h