QtRocket
 
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 ( )

◆ AnyTrue()

AnyTrueMatcher Catch::Matchers::AnyTrue ( )

◆ ContainsSubstring()

StringContainsMatcher Catch::Matchers::ContainsSubstring ( std::string const & str,
CaseSensitive caseSensitivity )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EndsWith()

EndsWithMatcher Catch::Matchers::EndsWith ( std::string const & str,
CaseSensitive caseSensitivity )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Equals()

StringEqualsMatcher Catch::Matchers::Equals ( std::string const & str,
CaseSensitive caseSensitivity )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsEmpty()

IsEmptyMatcher Catch::Matchers::IsEmpty ( )

◆ IsNaN()

IsNaNMatcher Catch::Matchers::IsNaN ( )

◆ Matches()

RegexMatcher Catch::Matchers::Matches ( std::string const & regex,
CaseSensitive caseSensitivity )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Message()

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

◆ NoneTrue()

NoneTrueMatcher Catch::Matchers::NoneTrue ( )

◆ SizeIs()

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

◆ StartsWith()

StartsWithMatcher Catch::Matchers::StartsWith ( std::string const & str,
CaseSensitive caseSensitivity )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ WithinAbs()

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

◆ WithinRel() [1/4]

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

◆ WithinRel() [2/4]

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

◆ WithinRel() [3/4]

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

◆ WithinRel() [4/4]

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

◆ WithinULP() [1/2]

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

◆ WithinULP() [2/2]

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