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

C++ source file with implementations for the deprecated µTest++ definitions. 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.
namespace  micro_os_plus::micro_test_plus::reflection
 Reflection utilities for the µTest++ testing framework.

Functions

const char * micro_os_plus::micro_test_plus::reflection::short_name (const char *name) noexcept
 Deprecated extraction of the file name from a path.

Detailed Description

This source file contains the non-inline definitions of the deprecated definitions declared in deprecated.h:

  • reflection::short_name(), which extracts the base file name from a fully qualified path, by delegating to utility::extract_file_name();
  • the constructor of detail::timestamp that reads the system clock, with detail::read_clock(), the same clock as detail::stopwatch.

All definitions reside within the micro_os_plus::micro_test_plus namespace.

The definitions are compiled only when MICRO_OS_PLUS_MICRO_TEST_PLUS_DEPRECATED_ENABLED is defined.

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

Definition in file deprecated.cpp.