|
micro-test-plus 6.0.0
µTest++ Testing Framework
|
C++ header file with inline implementations for the µTest++ exceptions comparators. More...
Go to the source code of this file.
Namespaces | |
| namespace | micro_os_plus |
| The primary namespace for the µOS++ framework. | |
| namespace | micro_os_plus::micro_test_plus |
| Primary namespace for the µTest++ testing framework. | |
Functions | |
| template<class Callable_T> requires std::invocable<Callable_T&> | |
| auto | micro_os_plus::micro_test_plus::nothrow (Callable_T &&func) |
| Checks whether a callable does not throw any exception, for expect() or require(). | |
| template<class Callable_T> requires std::invocable<Callable_T&> | |
| auto | micro_os_plus::micro_test_plus::throws (Callable_T &&func) |
| Checks whether a callable throws any exception, for expect() or require(). | |
| template<class Exception_T, class Callable_T> requires std::invocable<Callable_T&> | |
| auto | micro_os_plus::micro_test_plus::throws (Callable_T &&func) |
| Checks whether a callable throws a specific exception, for expect() or require(). | |
This header provides the inline implementations for the exception-checking function templates used within the µTest++ framework (throws() and nothrow()), which create the detail::throws_op and detail::nothrow_op comparator objects.
All definitions reside within the micro_os_plus::micro_test_plus namespace.
This file is included by exceptions.h; the applications include micro-os-plus/micro-test-plus.h, not this file.
Definition in file exceptions-inlines.h.