ModuleResultCollection

A class to hold module results.

Members

Functions

add
void add(ModuleResult result)

Add a result to the collection.

empty
bool empty()

Indicate if the collection is empty.

failedCount
size_t failedCount()

The amount of tests that contain a DUnitAssertError.

opIndex
ModuleResult opIndex(size_t index)

Overload indexing.

opSlice
ModuleResult[] opSlice()

Overload slicing.

passedCount
size_t passedCount()

The amount of tests that don't contain a DUnitAssertError.

totalCount
size_t totalCount()

The total number of tests in the collection.

Meta