tunit - Reference Guide  1.0.0
Modern c++17 unit testing framework on Windows, macOS, Linux, iOS and android.
string_assert.h File Reference

Contains tunit::string_assert class. More...

#include "assert.h"
#include <locale>
#include <cstring>
#include <regex>
#include <string>
Include dependency graph for string_assert.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tunit::string_assert
 The string_assert class contains a collection of static methods that implement the most string assertions used in tUnit. More...
 

Namespaces

 tunit
 The tunit namespace contains a unit test library.
 

Macros

#define are_equal_ignoring_case_(...)   __CMD_ASSERT_ARGS(are_equal_ignoring_case, __VA_ARGS__)
 
#define are_not_equal_ignoring_case_(...)   __CMD_ASSERT_ARGS(are_not_equal_ignoring_case, __VA_ARGS__)
 
#define does_not_end_with_(...)   __CMD_ASSERT_ARGS(does_not_end_with, __VA_ARGS__)
 
#define does_not_match_(...)   __CMD_ASSERT_ARGS(does_not_match, __VA_ARGS__)
 
#define does_not_start_with_(...)   __CMD_ASSERT_ARGS(does_not_start_with, __VA_ARGS__)
 
#define ends_with_(...)   __CMD_ASSERT_ARGS(ends_with, __VA_ARGS__)
 
#define matches_(...)   __CMD_ASSERT_ARGS(matches, __VA_ARGS__)
 
#define starts_with_(...)   __CMD_ASSERT_ARGS(starts_with, __VA_ARGS__)
 

Detailed Description

Contains tunit::string_assert class.