|
cpp-ElementTree
Python ElementTree-alike XML API for C++
|
myunit: Ultra tiny test framework. More...
Classes | |
| struct | Test |
| Internal descriptor for a test case, tracks the name of the unit where the test was defined, its name, and a reference to its closure. More... | |
| struct | TestSetup |
| Internal descriptor for a function to be executed once during unit initialization. More... | |
Functions | |
| template<typename Exception , typename Expr > | |
| Exception | raises (Expr expr) |
| Crash if an exception was not thrown. More... | |
myunit: Ultra tiny test framework.
Works across multiple files, only one of which may contain MU_MAIN. Example:
| Exception myunit::raises | ( | Expr | expr | ) |
Crash if an exception was not thrown.
Return the exception if it was thrown. the thrown exception value.
1.8.11