Project
Loading...
Searching...
No Matches
Catch::Matchers Namespace Reference

Namespaces

namespace  Detail
 

Functions

IsEmptyMatcher IsEmpty ()
 
HasSizeMatcher SizeIs (std::size_t sz)
 
ExceptionMessageMatcher Message (std::string const &message)
 
WithinUlpsMatcher WithinULP (double target, uint64_t maxUlpDiff)
 
WithinUlpsMatcher WithinULP (float target, uint64_t maxUlpDiff)
 
WithinAbsMatcher WithinAbs (double target, double margin)
 
WithinRelMatcher WithinRel (double target, double eps)
 
WithinRelMatcher WithinRel (double target)
 
WithinRelMatcher WithinRel (float target, float eps)
 
WithinRelMatcher WithinRel (float target)
 
IsNaNMatcher IsNaN ()
 
AllTrueMatcher AllTrue ()
 
NoneTrueMatcher NoneTrue ()
 
AnyTrueMatcher AnyTrue ()
 
StringEqualsMatcher Equals (std::string const &str, CaseSensitive caseSensitivity)
 
StringContainsMatcher ContainsSubstring (std::string const &str, CaseSensitive caseSensitivity)
 
EndsWithMatcher EndsWith (std::string const &str, CaseSensitive caseSensitivity)
 
StartsWithMatcher StartsWith (std::string const &str, CaseSensitive caseSensitivity)
 
RegexMatcher Matches (std::string const &regex, CaseSensitive caseSensitivity)
 

Function Documentation

◆ AllTrue()

AllTrueMatcher Catch::Matchers::AllTrue ( )

Definition at line 7786 of file catch_amalgamated.cxx.

◆ AnyTrue()

AnyTrueMatcher Catch::Matchers::AnyTrue ( )

Definition at line 7794 of file catch_amalgamated.cxx.

◆ ContainsSubstring()

StringContainsMatcher Catch::Matchers::ContainsSubstring ( std::string const &  str,
CaseSensitive  caseSensitivity 
)

Definition at line 7886 of file catch_amalgamated.cxx.

◆ EndsWith()

EndsWithMatcher Catch::Matchers::EndsWith ( std::string const &  str,
CaseSensitive  caseSensitivity 
)

Definition at line 7889 of file catch_amalgamated.cxx.

◆ Equals()

StringEqualsMatcher Catch::Matchers::Equals ( std::string const &  str,
CaseSensitive  caseSensitivity 
)

Definition at line 7883 of file catch_amalgamated.cxx.

◆ IsEmpty()

IsEmptyMatcher Catch::Matchers::IsEmpty ( )

Definition at line 7508 of file catch_amalgamated.cxx.

◆ IsNaN()

IsNaNMatcher Catch::Matchers::IsNaN ( )

Definition at line 7764 of file catch_amalgamated.cxx.

◆ Matches()

RegexMatcher Catch::Matchers::Matches ( std::string const &  regex,
CaseSensitive  caseSensitivity 
)

Definition at line 7896 of file catch_amalgamated.cxx.

◆ Message()

ExceptionMessageMatcher Catch::Matchers::Message ( std::string const &  message)

Definition at line 7532 of file catch_amalgamated.cxx.

◆ NoneTrue()

NoneTrueMatcher Catch::Matchers::NoneTrue ( )

Definition at line 7790 of file catch_amalgamated.cxx.

◆ SizeIs()

HasSizeMatcher Catch::Matchers::SizeIs ( std::size_t  sz)

Definition at line 7512 of file catch_amalgamated.cxx.

◆ StartsWith()

StartsWithMatcher Catch::Matchers::StartsWith ( std::string const &  str,
CaseSensitive  caseSensitivity 
)

Definition at line 7892 of file catch_amalgamated.cxx.

◆ WithinAbs()

WithinAbsMatcher Catch::Matchers::WithinAbs ( double  target,
double  margin 
)

Definition at line 7733 of file catch_amalgamated.cxx.

◆ WithinRel() [1/4]

WithinRelMatcher Catch::Matchers::WithinRel ( double  target)

Definition at line 7741 of file catch_amalgamated.cxx.

◆ WithinRel() [2/4]

WithinRelMatcher Catch::Matchers::WithinRel ( double  target,
double  eps 
)

Definition at line 7737 of file catch_amalgamated.cxx.

◆ WithinRel() [3/4]

WithinRelMatcher Catch::Matchers::WithinRel ( float  target)

Definition at line 7749 of file catch_amalgamated.cxx.

◆ WithinRel() [4/4]

WithinRelMatcher Catch::Matchers::WithinRel ( float  target,
float  eps 
)

Definition at line 7745 of file catch_amalgamated.cxx.

◆ WithinULP() [1/2]

WithinUlpsMatcher Catch::Matchers::WithinULP ( double  target,
uint64_t  maxUlpDiff 
)

Definition at line 7725 of file catch_amalgamated.cxx.

◆ WithinULP() [2/2]

WithinUlpsMatcher Catch::Matchers::WithinULP ( float  target,
uint64_t  maxUlpDiff 
)

Definition at line 7729 of file catch_amalgamated.cxx.