micro-test-plus 3.2.2
µTest++ Testing Framework
Loading...
Searching...
No Matches
detail.h File Reference

C++ header file with declarations for the µTest++ internals. More...

#include <stdio.h>
#include <string>

Go to the source code of this file.

Classes

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

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.
namespace  micro_os_plus::micro_test_plus::detail
 Internal implementation details for the µTest++ framework.

Functions

template<typename Lhs_T, typename Rhs_T>
 micro_os_plus::micro_test_plus::detail::and_ (const Lhs_T &, const Rhs_T &) -> and_< Lhs_T, Rhs_T >
template<typename Lhs_T, typename Rhs_T>
 micro_os_plus::micro_test_plus::detail::eq_ (const Lhs_T &, const Rhs_T &) -> eq_< Lhs_T, Rhs_T >
template<typename Lhs_T, typename Rhs_T>
 micro_os_plus::micro_test_plus::detail::ge_ (const Lhs_T &, const Rhs_T &) -> ge_< Lhs_T, Rhs_T >
template<class T>
constexpr auto micro_os_plus::micro_test_plus::detail::get (const T &t)
 Generic getter function template for value retrieval.
template<class T>
constexpr auto micro_os_plus::micro_test_plus::detail::get_impl (const T &t, int) -> decltype(t.get())
 Generic getter function template for value retrieval.
template<class T>
constexpr auto micro_os_plus::micro_test_plus::detail::get_impl (const T &t,...) -> decltype(auto)
 Fallback variadic getter function template.
template<typename Lhs_T, typename Rhs_T>
 micro_os_plus::micro_test_plus::detail::gt_ (const Lhs_T &, const Rhs_T &) -> gt_< Lhs_T, Rhs_T >
template<typename Lhs_T, typename Rhs_T>
 micro_os_plus::micro_test_plus::detail::le_ (const Lhs_T &, const Rhs_T &) -> le_< Lhs_T, Rhs_T >
template<typename Lhs_T, typename Rhs_T>
 micro_os_plus::micro_test_plus::detail::lt_ (const Lhs_T &, const Rhs_T &) -> lt_< Lhs_T, Rhs_T >
template<typename Lhs_T, typename Rhs_T>
 micro_os_plus::micro_test_plus::detail::ne_ (const Lhs_T &, const Rhs_T &) -> ne_< Lhs_T, Rhs_T >
template<typename T>
 micro_os_plus::micro_test_plus::detail::not_ (const T &) -> not_< T >
template<typename Lhs_T, typename Rhs_T>
 micro_os_plus::micro_test_plus::detail::or_ (const Lhs_T &, const Rhs_T &) -> or_< Lhs_T, Rhs_T >

Detailed Description

This header provides the declarations for the internal components of the µTest++ framework, encapsulated within the micro_os_plus::micro_test_plus::detail namespace. It defines the core mechanisms, helper structures, and utility templates that underpin the framework's assertion handling, value retrieval, comparator logic, deferred reporting, and exception checking facilities.

All definitions reside within the micro_os_plus::micro_test_plus::detail namespace, ensuring clear separation from user code and minimising the risk of naming conflicts.

The header files are organised within the include/micro-os-plus/micro-test-plus folder to maintain a structured and modular codebase.

This file is intended solely for internal use within the framework and should not be included directly by user code.

Definition in file detail.h.