/external/catch2/projects/SelfTest/UsageTests/ |
D | Matchers.tests.cpp | 104 REQUIRE_THAT(testStringForMatching(), Contains("string")); 105 REQUIRE_THAT(testStringForMatching(), Contains("string", Catch::CaseSensitive::No)); 158 … REQUIRE_THAT(testStringForMatching(), Matches("this string contains 'abc' as a substring")); 159 REQUIRE_THAT(testStringForMatching(), 161 … REQUIRE_THAT(testStringForMatching(), Matches("^this string contains 'abc' as a substring$")); 162 REQUIRE_THAT(testStringForMatching(), Matches("^.* 'abc' .*$")); 163 … REQUIRE_THAT(testStringForMatching(), Matches("^.* 'ABC' .*$", Catch::CaseSensitive::No)); 168 … REQUIRE_THAT(testStringForMatching2(), !Matches("this string contains 'abc' as a substring")); 253 REQUIRE_THAT(permuted, UnorderedEquals(v)); 256 REQUIRE_THAT(permuted, UnorderedEquals(v)); [all …]
|
D | Compilation.tests.cpp | 88 REQUIRE_THAT("aaa", Catch::EndsWith("aaa")); in templated_tests()
|
/external/catch2/projects/XCode/OCTest/OCTest/ |
D | CatchOCTestCase.mm | 73 REQUIRE_THAT( @"This is a string", Equals( @"This isnt a string" ) ); 74 REQUIRE_THAT( @"This is a string", Contains( @"is a" ) ); category 75 REQUIRE_THAT( @"This is a string", StartsWith( @"This" ) ); category 76 REQUIRE_THAT( @"This is a string", EndsWith( @"string" ) ); category
|
/external/catch2/docs/ |
D | matchers.md | 10 Matchers are introduced with the `REQUIRE_THAT` or `CHECK_THAT` macros, which take two arguments. 19 REQUIRE_THAT( str, EndsWith( "as a service" ) ); 27 REQUIRE_THAT( str, EndsWith( "as a service", Catch::CaseSensitive::No ) ); 33 REQUIRE_THAT( str, 64 REQUIRE_THAT("Hello olleH",
|
D | list-of-examples.md | 24 - Assertion: [REQUIRE_THAT and Matchers](../examples/040-Asn-RequireThat.cpp)
|
D | assertions.md | 161 * **REQUIRE_THAT(** _lhs_, _matcher expression_ **)** and
|
/external/catch2/examples/ |
D | 207-Rpt-TeamCityReporter.cpp | 46 REQUIRE_THAT( "hello", Contains( "world" ) );
|
/external/catch2/projects/SelfTest/Baselines/ |
D | console.sw.approved.txt | 233 REQUIRE_THAT( "aaa", Catch::EndsWith("aaa") ) 1618 REQUIRE_THAT( 1, Predicate<int>(alwaysTrue, "always true") ) 1623 REQUIRE_THAT( 1, !Predicate<int>(alwaysFalse, "always false") ) 1635 …REQUIRE_THAT( "Hello olleH", Predicate<std::string>( [] (std::string const& str) -> bool { return … 1640 …REQUIRE_THAT( "This wouldn't pass", !Predicate<std::string>( [] (std::string const& str) -> bool {… 2617 REQUIRE_THAT( 1., WithinAbs(1., 0) ) 2622 REQUIRE_THAT( 0., WithinAbs(1., 1) ) 2627 REQUIRE_THAT( 0., !WithinAbs(1., 0.99) ) 2632 REQUIRE_THAT( 0., !WithinAbs(1., 0.99) ) 2637 REQUIRE_THAT( NAN, !WithinAbs(NAN, 0) ) [all …]
|
D | console.swa4.approved.txt | 233 REQUIRE_THAT( "aaa", Catch::EndsWith("aaa") )
|
/external/catch2/projects/ExtraTests/ |
D | CMakeLists.txt | 30 … CHECK_THROWS_AS; CHECK_THROWS_WITH; CHECK_THROWS_MATCHES; CHECK_NOTHROW; REQUIRE_THAT; CHECK_THAT"
|
/external/catch2/projects/SelfTest/IntrospectiveTests/ |
D | CmdLine.tests.cpp | 352 REQUIRE_THAT(result.errorMessage(), Contains("Unrecognized reporter")); 387 REQUIRE_THAT(result.errorMessage(), Contains("convert") && Contains("oops"));
|
/external/catch2/include/ |
D | catch.hpp | 214 #define REQUIRE_THAT( arg, matcher ) INTERNAL_CHECK_THAT( "REQUIRE_THAT", matcher, Catch::ResultDis… macro 381 #define REQUIRE_THAT( arg, matcher ) (void)(0) macro
|
/external/catch2/single_include/catch2/ |
D | catch.hpp | 14699 #define REQUIRE_THAT( arg, matcher ) INTERNAL_CHECK_THAT( "REQUIRE_THAT", matcher, Catch::ResultDis… macro 14864 #define REQUIRE_THAT( arg, matcher ) (void)(0) macro
|
/external/bcc/tests/cc/ |
D | catch.hpp | 10392 #define REQUIRE_THAT( arg, matcher ) INTERNAL_CHECK_THAT( arg, matcher, Catch::ResultDisposition::N… macro
|