45#ifndef MICRO_TEST_PLUS_DETAILS_INLINES_H_
46#define MICRO_TEST_PLUS_DETAILS_INLINES_H_
61#pragma GCC diagnostic push
62#pragma GCC diagnostic ignored "-Waggregate-return"
64#pragma clang diagnostic ignored "-Wc++98-compat"
65#pragma clang diagnostic ignored "-Wc++98-compat-pedantic"
92 if constexpr (std::is_arithmetic_v<T>)
94 message_.append (std::to_string (msg));
116 template <
class Expr_T>
118 const Expr_T& expr,
bool abort,
124 printf (
"%s\n", __PRETTY_FUNCTION__);
141 template <
class Expr_T>
161#pragma GCC diagnostic pop
const reflection::source_location location_
Stores the source location associated with the report.
std::string message_
String to collect the expectation message passed via operator<<().
bool abort_
Indicates whether the reporting should abort further processing.
deferred_reporter_base(bool value, const reflection::source_location location)
Constructs a deferred reporter base.
auto & operator<<(const T &msg)
Appends a message to the reporter.
bool value_
Stores the result value of the report.
constexpr deferred_reporter(const Expr_T &expr, bool abort, const reflection::source_location &location)
Constructs a deferred reporter for a specific expression.
const Expr_T expr_
Stores the expression under evaluation.
~deferred_reporter()
Destructor for the deferred reporter.
Local implementation of source location information for diagnostics.
Internal implementation details for the µTest++ framework.
Primary namespace for the µTest++ testing framework.
test_reporter reporter
Global instance of test_reporter.