micro-test-plus 4.1.0
µTest++ Testing Framework
Loading...
Searching...
No Matches
utility.h File Reference

C++ header file with declarations for the µTest++ utility helpers. More...

#include <string_view>
#include <vector>
#include "inlines/utility-inlines.h"

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::utility
 Utility functions for the µTest++ testing framework.

Functions

const char * micro_os_plus::micro_test_plus::utility::extract_file_name (const char *path) noexcept
 Extracts the file name component from a full path.
bool micro_os_plus::micro_test_plus::utility::is_match (std::string_view input, std::string_view pattern)
 Check if a string matches a pattern.
template<class T = std::string_view, class Delim_T>
auto micro_os_plus::micro_test_plus::utility::split (T input, Delim_T delim) -> std::vector< T >
 Split a string into a vector of sub-strings.

Detailed Description

This header provides declarations for the utility helper functions used within the µTest++ framework. It defines interfaces for string operations including file-name extraction, pattern matching, and string splitting.

Definition in file utility.h.