utility.cpp File
C++ source file with implementations for the µTest++ methods. More...
Included Headers
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 | utility |
|
Utility functions for the µTest++ testing framework. More... | |
Functions Index
| const char * | extract_file_name (const char *path) noexcept |
|
Extracts the file name component from a full path. More... | |
| bool | is_match (std::string_view input, std::string_view pattern) |
|
Check if a string matches a pattern. More... | |
Description
C++ source file with implementations for the µTest++ methods.
This source file contains the implementations of the utility functions for the µTest++ framework. It provides extract_file_name(), which strips the folder path from a file path returning only the base name, and is_match(), which performs wildcard pattern matching with * (any sequence of characters) and ? (any single character) support.
All definitions reside within the micro_os_plus::micro_test_plus::utility namespace.
This file must be included when building the µTest++ library.
File Listing
The file content with the documentation metadata removed is:
Generated via doxygen2docusaurus 2.2.0 by Doxygen 1.17.0.