File String.hpp¶
↰ Parent directory (include/mu/tiny)
Lightweight string class and string-conversion utilities for the mutiny test framework.
Definition (include/mu/tiny/String.hpp)¶
Detailed Description¶
When Define MUTINY_USE_STD_STRING is defined, Class String is an alias for std::string and the custom class body is omitted entirely. Otherwise a self-contained String class is provided that avoids any dependency on the C++ standard library, allowing the framework to be used in bare-metal and other constrained environments.
The free functions below (Function mu::tiny::string_from(const mock::NamedValue&), Function mu::tiny::hex_string_from(unsigned int), Function mu::tiny::brackets_formatted_hex_string_from(int), and related utilities) are used throughout the framework to convert arbitrary values to their printable representations in assertion failure messages.
Includes¶
mu/tiny/export.hmu/tiny/features.hpp(File features.hpp)stdarg.hstddef.h
Included By¶
Namespaces¶
Classes¶
Functions¶
Function mu::tiny::brackets_formatted_hex_string_from(unsigned long)
Function mu::tiny::brackets_formatted_hex_string_from(long long)
Function mu::tiny::brackets_formatted_hex_string_from(unsigned long long)
Function mu::tiny::brackets_formatted_hex_string_from(signed char)
Function mu::tiny::brackets_formatted_hex_string_from(unsigned int)
Function mu::tiny::string_replace(String&, const char *, const char *)