implemented a solution to determine negative matches. But because this solution relies on throwing from a destructor, it is not possible to catch the resulting assertion failure. Not sure why (AFAIK there is no second exception thrown while unwinding the stack), but throwing from dtors is considered "undefined behaviour" anyway. So this solution is of limited use beyond that solution, I'm not sure if the desired syntax can be implemented at all in C++. Seems that we need to build a bracketing construct, first to initiate a negated match and finally, after all queries, to detect if there happened any failure or not |
||
|---|---|---|
| .. | ||
| depend-4test.hpp | ||
| event-log.cpp | ||
| event-log.hpp | ||
| run.hpp | ||
| suite.cpp | ||
| suite.hpp | ||
| test-coll.hpp | ||
| test-helper.cpp | ||
| test-helper.hpp | ||
| test.h | ||
| testdummy.hpp | ||
| testoption.cpp | ||
| testoption.hpp | ||