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

C++ source file with implementations for the µTest++ test hierarchy member functions. More...

#include "micro-os-plus/micro-test-plus/test.h"
#include "micro-os-plus/micro-test-plus/runner.h"
#include <cstdio>
#include <cstring>
#include <exception>
#include <string>

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.

Functions

void micro_os_plus::micro_test_plus::detail::escape_control_characters (std::string &name)
 Escapes the control characters of a name.

Detailed Description

This source file contains the non-template implementations for the test hierarchy of the µTest++ framework: the constructors and destructors, the run() member functions of the test cases and suites, which call the reporter before and after invoking the stored callable, and the registration of the child test cases, including the accumulation of their totals.

All definitions reside within the micro_os_plus::micro_test_plus namespace.

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

Definition in file test.cpp.