micro-test-plus 3.2.0
µTest++, a lightweight testing framework for embedded platforms
Loading...
Searching...
No Matches
detail.h File Reference
#include <stdio.h>

Go to the source code of this file.

Classes

struct  micro_os_plus::micro_test_plus::detail::and_< Lhs_T, Rhs_T >
 Logical and operator. More...
 
struct  micro_os_plus::micro_test_plus::detail::assertion< Expr_T >
 An object used to pass assertion parameters to the evaluator. More...
 
class  micro_os_plus::micro_test_plus::detail::deferred_reporter< Expr_T >
 Class template for a deferred reporter specific to an expression. More...
 
class  micro_os_plus::micro_test_plus::detail::deferred_reporter_base
 Base class for a deferred reporter, that collects the messages into a string. More...
 
struct  micro_os_plus::micro_test_plus::detail::eq_< Lhs_T, Rhs_T >
 Equality comparator. More...
 
struct  micro_os_plus::micro_test_plus::detail::ge_< Lhs_T, Rhs_T >
 Greater than or equal comparator. More...
 
struct  micro_os_plus::micro_test_plus::detail::gt_< Lhs_T, Rhs_T >
 Greater than comparator. More...
 
struct  micro_os_plus::micro_test_plus::detail::le_< Lhs_T, Rhs_T >
 Less than or equal comparator. More...
 
struct  micro_os_plus::micro_test_plus::detail::lt_< Lhs_T, Rhs_T >
 Less than comparator. More...
 
struct  micro_os_plus::micro_test_plus::detail::ne_< Lhs_T, Rhs_T >
 Non-equality comparator. More...
 
struct  micro_os_plus::micro_test_plus::detail::not_< T >
 Logical not operator. More...
 
struct  micro_os_plus::micro_test_plus::detail::nothrow_< Callable_T >
 Operator to check if the expression does not throw any exception. More...
 
struct  micro_os_plus::micro_test_plus::detail::or_< Lhs_T, Rhs_T >
 Logical or operator. More...
 
struct  micro_os_plus::micro_test_plus::detail::throws_< Callable_T, Exception_T >
 Operator to check if the expression throws a specific exception. More...
 
struct  micro_os_plus::micro_test_plus::detail::throws_< Callable_T, void >
 Operator to check if the expression throws any exception. More...
 

Namespaces

namespace  micro_os_plus
 
namespace  micro_os_plus::micro_test_plus
 
namespace  micro_os_plus::micro_test_plus::detail
 Namespace with implementation details, not part of the public API.
 

Functions

template<class T >
constexpr auto micro_os_plus::micro_test_plus::detail::get (const T &t)
 Generic getter, calling the getter implementation.
 
template<class T >
constexpr auto micro_os_plus::micro_test_plus::detail::get_impl (const T &t, int) -> decltype(t.get())
 Generic getter implementation. If the type has a get() method, call it. It is recommended for custom types to define a get() method.
 
template<class T >
constexpr auto micro_os_plus::micro_test_plus::detail::get_impl (const T &t,...) -> decltype(auto)
 Variadic getter implementation that returns the first argument and discards the rest.