Classes | |
| class | easyunit::DefaultTestPrinter |
| This is the default testprinter used by easyunit testregistry when the user calls the runAndPrint() method without specifying a testprinter. More... | |
| class | easyunit::SimpleString |
| SimpleString is a simple implementation of the std class String and is provided to ease the manipulation of strings without using any other libraries. More... | |
| class | easyunit::Test |
| Test class containing all macros to do unit testing. More... | |
| class | easyunit::TestCase |
| A TestCase is a collection of unit tests (instance of Test) and is always specified by the first parameter of a Test declaration. More... | |
| class | easyunit::TestPartResult |
| This class contains details about assertion processed during the execution of a Test. More... | |
| class | easyunit::TestPrinter |
| A TestPrinter is a class used by the TestRegistry to print results of executed TestCases. More... | |
| class | easyunit::TestRegistry |
| The TestRegistry is the main class used to register all tests, and create appropriate TestCase. More... | |
| class | easyunit::TestResult |
| class | easyunit::TestRunner |
| Test runner used to determine which test to run. More... | |
Enumerations | |
| enum | headerLevel { complete, normal, off } |
| Complete header level means that a header will be printed before the test details with all information available in the test result. More... | |
| enum | testType { failure, success, error } |
| This enumeration contains the three states a TestPartResult can take. More... | |
Functions | |
| SimpleString | StringFrom (bool value) |
| SimpleString | StringFrom (const char *value) |
| SimpleString | StringFrom (long value) |
| SimpleString | StringFrom (int value) |
| SimpleString | StringFrom (double value) |
| SimpleString | StringFrom (const SimpleString &other) |
This is the namespace containing all easyunit classes.
|
|
Complete header level means that a header will be printed before the test details with all information available in the test result. Normal header level means that a header will be printed before the test details with the most useful information available in the test result. Off header level means that no header will be printed before the test details. Whatever the level, there will always be a clear indication telling if there was a failure/error or not at the global level. |
|
|
This enumeration contains the three states a TestPartResult can take. A failure means that an assertion failed during the test. A success means that all assertion succeeded during the test. An error means that an exception was thrown during the test. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.8