Module for the module result collection.
MIT. See LICENSE for full details.
A class to hold module results.
Indicate if the collection is empty.
true if the collection is empty, false if not.
The total number of tests in the collection.
the number of tests that dunit has run.
The amount of tests that contain a DUnitAssertError.
the number of tests that have failed.
The amount of tests that don't contain a DUnitAssertError.
the number of tests that have passed.
Add a result to the collection.
This method also sorts the collection by source and makes sure all results containing errors are at the end. This enables the console output to be more user friendly.
ModuleResult result | The module result to add. |
Overload slicing.
The internal collection of module results.
Overload indexing.
size_t index | The index of the collection. |
The module result residing at the passed index.