micro-test-plus 6.0.1
µTest++ Testing Framework
Loading...
Searching...
No Matches
expression-formatter-inlines.h File Reference

C++ header file with inline implementations for the µTest++ expression formatter. 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.
namespace  micro_os_plus::micro_test_plus::detail
 Internal implementation details for the µTest++ framework.

Detailed Description

This header provides the inline and template member function implementations for expression_formatter: the constructors, the str() accessor, and the template operators (for the pointers, the value wrappers, the ranges, the scoped enumerations, the pairs, the tuples, the optionals, and the expressions), which are instantiated for each concrete type. It also defines plain_text::append().

The compound expression operators format comparator expressions and wrap them in the pass/fail colour codes of the owning reporter.

Numbers and pointers are formatted with the detail::append_number() and detail::append_pointer() helpers, defined in detail-inlines.h and shared with the reporter.

All definitions reside within the micro_os_plus::micro_test_plus::detail namespace.

This file is included by expression-formatter.h; the applications include micro-os-plus/micro-test-plus.h, not this file.

Definition in file expression-formatter-inlines.h.