micro-test-plus 6.0.0
µTest++ Testing Framework
Loading...
Searching...
No Matches
check-result.cpp File Reference

C++ source file with implementations for the µTest++ check result member functions. 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 source file contains the non-template members of the detail::check_result class, which reports the result of one check when destroyed. The private start() function, called by init(), captures the result value, the kind of the check, the source location, and the test case reference; the destructor updates the test case counters and, after a failed require(), stops the test case.

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

This file must be included when building the µTest++ library.

Definition in file check-result.cpp.