Home
last modified time | relevance | path

Searched refs:CHECK_THAT (Results 1 – 13 of 13) sorted by relevance

/external/catch2/projects/SelfTest/UsageTests/
DMatchers.tests.cpp106 CHECK_THAT(testStringForMatching(), Contains("abc"));
107 CHECK_THAT(testStringForMatching(), Contains("aBC", Catch::CaseSensitive::No));
109 CHECK_THAT(testStringForMatching(), StartsWith("this"));
110 CHECK_THAT(testStringForMatching(), StartsWith("THIS", Catch::CaseSensitive::No));
111 CHECK_THAT(testStringForMatching(), EndsWith("substring"));
112 CHECK_THAT(testStringForMatching(), EndsWith(" SuBsTrInG", Catch::CaseSensitive::No));
116 CHECK_THAT(testStringForMatching(), Contains("not there", Catch::CaseSensitive::No));
117 CHECK_THAT(testStringForMatching(), Contains("STRING"));
121 CHECK_THAT(testStringForMatching(), StartsWith("This String"));
122 CHECK_THAT(testStringForMatching(), StartsWith("string", Catch::CaseSensitive::No));
[all …]
/external/catch2/projects/SelfTest/IntrospectiveTests/
DTagAlias.tests.cpp29 CHECK_THAT( what, Contains( "[@zzz]" ) );
30 CHECK_THAT( what, Contains( "file" ) );
31 CHECK_THAT( what, Contains( "2" ) );
32 CHECK_THAT( what, Contains( "10" ) );
DCmdLine.tests.cpp461 CHECK_THAT( result.errorMessage(), Contains( "colour mode must be one of" ) );
/external/catch2/projects/SelfTest/Baselines/
Dconsole.std.approved.txt243 CHECK_THAT( testStringForMatching(), Contains("not there", Catch::CaseSensitive::No) )
249 CHECK_THAT( testStringForMatching(), Contains("STRING") )
292 CHECK_THAT( testStringForMatching(), EndsWith("Substring") )
297 CHECK_THAT( testStringForMatching(), EndsWith("this", Catch::CaseSensitive::No) )
380 CHECK_THAT( testStringForMatching(), Equals("this string contains 'ABC' as a substring") )
386 CHECK_THAT( testStringForMatching(), Equals("something else", Catch::CaseSensitive::No) )
589CHECK_THAT( testStringForMatching(), (Contains("string") || Contains("different")) && Contains("ra…
601 CHECK_THAT( testStringForMatching(), !Contains("substring") )
776 CHECK_THAT( testStringForMatching(), Matches("this STRING contains 'abc' as a substring") )
782 CHECK_THAT( testStringForMatching(), Matches("contains 'abc' as a substring") )
[all …]
Dconsole.sw.approved.txt2152 CHECK_THAT( testStringForMatching(), Contains("not there", Catch::CaseSensitive::No) )
2158 CHECK_THAT( testStringForMatching(), Contains("STRING") )
2217 CHECK_THAT( testStringForMatching(), EndsWith("Substring") )
2222 CHECK_THAT( testStringForMatching(), EndsWith("this", Catch::CaseSensitive::No) )
2357 CHECK_THAT( testStringForMatching(), Equals("this string contains 'abc' as a substring") )
2363CHECK_THAT( testStringForMatching(), Equals("this string contains 'ABC' as a substring", Catch::Ca…
2375 CHECK_THAT( testStringForMatching(), Equals("this string contains 'ABC' as a substring") )
2381 CHECK_THAT( testStringForMatching(), Equals("something else", Catch::CaseSensitive::No) )
4539CHECK_THAT( testStringForMatching(), Contains("string") && Contains("abc") && Contains("substring"…
4551CHECK_THAT( testStringForMatching(), Contains("string") || Contains("different") || Contains("rand…
[all …]
/external/catch2/projects/XCode/OCTest/OCTest/
DCatchOCTestCase.mm83 CHECK_THAT( (NSString*)nil, Equals( @"This should fail, but not crash" ) );
84 CHECK_THAT( (NSString*)nil, StartsWith( @"anything" ) ); category
/external/catch2/docs/
Dmatchers.md10 Matchers are introduced with the `REQUIRE_THAT` or `CHECK_THAT` macros, which take two arguments.
120 CHECK_THAT( 3, IsBetween( 1, 10 ) );
121 CHECK_THAT( 100, IsBetween( 1, 10 ) );
129 CHECK_THAT( 100, IsBetween( 1, 10 ) )
Dassertions.md162 * **CHECK_THAT(** _lhs_, _matcher expression_ **)**
Drelease-notes.md806 * `CHECK_THAT` macro is now properly defined as `CATCH_CHECK_THAT` when using `CATCH_` prefixed mac…
/external/catch2/projects/ExtraTests/
DCMakeLists.txt30 … CHECK_THROWS_AS; CHECK_THROWS_WITH; CHECK_THROWS_MATCHES; CHECK_NOTHROW; REQUIRE_THAT; CHECK_THAT"
/external/catch2/include/
Dcatch.hpp212 #define CHECK_THAT( arg, matcher ) INTERNAL_CHECK_THAT( "CHECK_THAT", matcher, Catch::ResultDisposi… macro
379 #define CHECK_THAT( arg, matcher ) (void)(0) macro
/external/bcc/tests/cc/
Dcatch.hpp10322 #define CHECK_THAT( arg, matcher ) INTERNAL_CHECK_THAT( arg, matcher, Catch::ResultDisposition::Con… macro
10391 #define CHECK_THAT( arg, matcher ) INTERNAL_CHECK_THAT( arg, matcher, Catch::ResultDisposition::Con… macro
/external/catch2/single_include/catch2/
Dcatch.hpp14697 #define CHECK_THAT( arg, matcher ) INTERNAL_CHECK_THAT( "CHECK_THAT", matcher, Catch::ResultDisposi… macro
14862 #define CHECK_THAT( arg, matcher ) (void)(0) macro