Dwm::Assertions class definition and UnitAssert() macro for unit tests. More...
#include <cstdint>#include <iostream>#include <map>#include <mutex>#include <string>
Go to the source code of this file.
Classes | |
| class | Dwm::AssertionCounter |
| Holds 'passed' and 'failed' counters. More... | |
| class | Dwm::Assertion |
| Holds assertion information. More... | |
| class | Dwm::FunctionAssertions |
| A container class to hold all assertions called from a single function. More... | |
| class | Dwm::FileAssertions |
| A container class to hold all assertions called from a single source file. More... | |
| class | Dwm::Assertions |
| A container to hold all assertions. Note everything is static here. More... | |
Macros | |
| #define | UnitAssert(e) |
| This macro is used just like assert(), but populates Assertions so we can report results at the end of tests using the members of Assertions. | |
Dwm::Assertions class definition and UnitAssert() macro for unit tests.
| #define UnitAssert | ( | e | ) |
This macro is used just like assert(), but populates Assertions so we can report results at the end of tests using the members of Assertions.