micro-test-plus 6.0.0
µTest++ Testing Framework
Loading...
Searching...
No Matches
micro_os_plus::micro_test_plus::detail::failed_requirement Struct Reference

The exception thrown to stop a test case after a failed require(). More...

#include <detail.h>

Detailed Description

Thrown by the destructor of check_result, after the failure was reported and counted, when exceptions are enabled, and caught by test_case::run(), which ends the test case normally; the run continues with the next test case.

It is deliberately not derived from std::exception, so that a catch (const std::exception&) in the test case body does not stop it; a catch (...) does, and should rethrow it.

Definition at line 1321 of file detail.h.


The documentation for this struct was generated from the following file: