|
kaycxx-test
C++ unit test framework
|
Defines the assert_not_match function. More...
#include <format>#include <optional>#include <regex>#include <source_location>#include <string>#include <string_view>#include <utility>#include <kaycxx/test/assertion_error.hpp>#include <kaycxx/test/detail/regex_matches.hpp>#include <kaycxx/test/detail/string_like.hpp>#include <kaycxx/test/detail/to_string.hpp>

Go to the source code of this file.
Namespaces | |
| namespace | kaycxx |
| Root namespace for kaycxx libraries. | |
| namespace | kaycxx::test |
| Unit test framework functions and types. | |
Functions | |
| template<detail::string_like T> | |
| void | kaycxx::test::assert_not_match (T const &actual, std::string_view pattern, std::string_view reason={}, std::optional< std::source_location > location=std::source_location::current()) |
| Asserts that the argument does not match the given pattern. | |
| template<detail::string_like T> | |
| void | kaycxx::test::assert_not_match (T const &actual, std::regex const ®ex, std::string_view reason={}, std::optional< std::source_location > location=std::source_location::current()) |
| Asserts that the argument does not match the given regular expression. | |
Defines the assert_not_match function.