|
micro-test-plus 6.0.0
µTest++ Testing Framework
|
The result of the invocation of the callable of a check. More...
#include <detail.h>
Public Attributes | |
| throw_outcome | outcome |
| What was thrown, when the check failed. | |
| bool | value |
| The result of the check. | |
| std::string | what |
| The what() of the std::exception thrown, if any. | |
Returned by the lambda that the constructors of throws_op and nothrow_op pass to callable_op.
| throw_outcome micro_os_plus::micro_test_plus::detail::callable_result::outcome |
throw_outcome::none when the check passed, or when nothing was thrown but an exception was expected.
| bool micro_os_plus::micro_test_plus::detail::callable_result::value |
True if the expected exception was thrown (throws_op), or if nothing was thrown (nothrow_op).
| std::string micro_os_plus::micro_test_plus::detail::callable_result::what |
Empty unless outcome is throw_outcome::std_exception.