|
| | runnable (context_ptr ctx, std::string_view description, block_type root_type, const detail::source_location &loc=detail::source_location::current()) |
| | Creates a new runnable. More...
|
| |
|
template<class... Ts> |
| void | fail (format_string_with_location fwl, Ts &&... xs) |
| | Generates a message with the INFO severity level.
|
| |
|
template<class T0 , class T1 > |
| bool | check_eq (const T0 &lhs, const T1 &rhs, const detail::source_location &location=detail::source_location::current()) |
| | Checks whether lhs and rhs are equal.
|
| |
|
template<class T0 , class T1 > |
| bool | check_ne (const T0 &lhs, const T1 &rhs, const detail::source_location &location=detail::source_location::current()) |
| | Checks whether lhs and rhs are unequal.
|
| |
|
template<class T0 , class T1 > |
| bool | check_lt (const T0 &lhs, const T1 &rhs, const detail::source_location &location=detail::source_location::current()) |
| | Checks whether lhs is less than rhs.
|
| |
|
template<class T0 , class T1 > |
| bool | check_le (const T0 &lhs, const T1 &rhs, const detail::source_location &location=detail::source_location::current()) |
| | Checks whether lhs less than or equal to rhs.
|
| |
|
template<class T0 , class T1 > |
| bool | check_gt (const T0 &lhs, const T1 &rhs, const detail::source_location &location=detail::source_location::current()) |
| | Checks whether lhs is greater than rhs.
|
| |
|
template<class T0 , class T1 > |
| bool | check_ge (const T0 &lhs, const T1 &rhs, const detail::source_location &location=detail::source_location::current()) |
| | Checks whether lhs greater than or equal to rhs.
|
| |
|
bool | check (bool value, const detail::source_location &location=detail::source_location::current()) |
| | Checks whether value is true.
|
| |
|
template<class T0 , class T1 > |
| void | require_eq (const T0 &lhs, const T1 &rhs, const detail::source_location &location=detail::source_location::current()) |
| | Evaluates whether lhs and rhs are equal and fails otherwise.
|
| |
|
template<class T0 , class T1 > |
| void | require_ne (const T0 &lhs, const T1 &rhs, const detail::source_location &location=detail::source_location::current()) |
| | Evaluates whether lhs and rhs are unequal and fails otherwise.
|
| |
|
template<class T0 , class T1 > |
| void | require_lt (const T0 &lhs, const T1 &rhs, const detail::source_location &location=detail::source_location::current()) |
| | Evaluates whether lhs is less than rhs and fails otherwise.
|
| |
|
template<class T0 , class T1 > |
| void | require_le (const T0 &lhs, const T1 &rhs, const detail::source_location &location=detail::source_location::current()) |
| | Evaluates whether lhs less than or equal to rhs and fails otherwise.
|
| |
|
template<class T0 , class T1 > |
| void | require_gt (const T0 &lhs, const T1 &rhs, const detail::source_location &location=detail::source_location::current()) |
| | Evaluates whether lhs is greater than rhs and fails otherwise.
|
| |
| template<class T0 , class T1 > |
| void | require_ge (const T0 &lhs, const T1 &rhs, const detail::source_location &location=detail::source_location::current()) |
| | Evaluates whether lhs greater than or equal to rhs and fails otherwise. More...
|
| |
|
void | require (bool value, const detail::source_location &location=detail::source_location::current()) |
| | Evaluates whether value is true and fails otherwise.
|
| |
|
block & | current_block () |
| |
|
template<class Expr > |
| void | should_fail (Expr &&expr, const caf::detail::source_location &location=caf::detail::source_location::current()) |
| |
|
template<class... Ts> |
| auto | block_parameters () |
| |
A runnable definition of a test case or scenario.