reporter-inlines.h File
C++ header file with inline implementations for the µTest++ test reporter. More...
Namespaces Index
| namespace | micro_os_plus |
|
The primary namespace for the µOS++ framework. More... | |
| namespace | micro_test_plus |
|
Primary namespace for the µTest++ testing framework. More... | |
| namespace | detail |
|
Internal implementation details for the µTest++ framework. More... | |
Functions Index
| indentation | indent (size_t level) |
|
Factory function that creates an indentation manipulator. More... | |
Description
C++ header file with inline implementations for the µTest++ test reporter.
This header provides the inline implementations for the test reporting facilities used within the µTest++ framework: the indent() manipulator factory, the reporter accessor, and the template output operators for pointers and arithmetic values.
All definitions reside within the micro_os_plus::micro_test_plus::detail namespace, since the reporters are internal to the framework.
This file is included by reporter.h; the applications include micro-os-plus/micro-test-plus.h, not this file.
Functions
indent()
| inline nodiscard |
Factory function that creates an indentation manipulator.
Returns an indentation aggregate initialised with level.
Allows writing reporter << indent(n) instead of constructing the manipulator explicitly.
- Parameters
-
level The number of four-space indentation levels.
- Returns
An indentation value for use with operator<<.
Definition at line 64 of file reporter-inlines.h.
Reference micro_os_plus::micro_test_plus::detail::indent.
Referenced by micro_os_plus::micro_test_plus::detail::reporter_human::begin_test_case, micro_os_plus::micro_test_plus::detail::reporter_tap::begin_test_case, micro_os_plus::micro_test_plus::detail::reporter_human::display_open_heading, micro_os_plus::micro_test_plus::detail::reporter_tap::display_open_heading, micro_os_plus::micro_test_plus::detail::reporter_tap::end_suite, micro_os_plus::micro_test_plus::detail::reporter_human::end_test_case, micro_os_plus::micro_test_plus::detail::reporter_tap::end_test_case, micro_os_plus::micro_test_plus::detail::reporter_human::fail_suite, micro_os_plus::micro_test_plus::detail::reporter_tap::fail_suite, micro_os_plus::micro_test_plus::detail::indent, micro_os_plus::micro_test_plus::detail::reporter_human::output_fail_prefix, micro_os_plus::micro_test_plus::detail::reporter_tap::output_fail_prefix, micro_os_plus::micro_test_plus::detail::reporter_tap::output_fail_suffix, micro_os_plus::micro_test_plus::detail::reporter_human::output_pass_prefix, micro_os_plus::micro_test_plus::detail::reporter_tap::output_pass_prefix, micro_os_plus::micro_test_plus::detail::reporter_tap::pass_without_text, micro_os_plus::micro_test_plus::detail::reporter_human::skip_test_case and micro_os_plus::micro_test_plus::detail::reporter_tap::skip_test_case.
File Listing
The file content with the documentation metadata removed is:
Generated via doxygen2docusaurus 2.2.8 by Doxygen 1.18.0.