Lines Matching refs:testStringForMatching

27     inline const char *testStringForMatching() {  in testStringForMatching()  function
115 REQUIRE_THAT(testStringForMatching(), Contains("string"));
116 REQUIRE_THAT(testStringForMatching(), Contains("string", Catch::CaseSensitive::No));
117 CHECK_THAT(testStringForMatching(), Contains("abc"));
118 CHECK_THAT(testStringForMatching(), Contains("aBC", Catch::CaseSensitive::No));
120 CHECK_THAT(testStringForMatching(), StartsWith("this"));
121 CHECK_THAT(testStringForMatching(), StartsWith("THIS", Catch::CaseSensitive::No));
122 CHECK_THAT(testStringForMatching(), EndsWith("substring"));
123 CHECK_THAT(testStringForMatching(), EndsWith(" SuBsTrInG", Catch::CaseSensitive::No));
127 CHECK_THAT(testStringForMatching(), Contains("not there", Catch::CaseSensitive::No));
128 CHECK_THAT(testStringForMatching(), Contains("STRING"));
132 CHECK_THAT(testStringForMatching(), StartsWith("This String"));
133 CHECK_THAT(testStringForMatching(), StartsWith("string", Catch::CaseSensitive::No));
137 CHECK_THAT(testStringForMatching(), EndsWith("Substring"));
138 CHECK_THAT(testStringForMatching(), EndsWith("this", Catch::CaseSensitive::No));
142 CHECK_THAT(testStringForMatching(), Equals("this string contains 'ABC' as a substring"));
143 CHECK_THAT(testStringForMatching(), Equals("something else", Catch::CaseSensitive::No));
147 CHECK_THAT(testStringForMatching(), Equals("this string contains 'abc' as a substring"));
148 CHECK_THAT(testStringForMatching(),
169 … REQUIRE_THAT(testStringForMatching(), Matches("this string contains 'abc' as a substring"));
170 REQUIRE_THAT(testStringForMatching(),
172 … REQUIRE_THAT(testStringForMatching(), Matches("^this string contains 'abc' as a substring$"));
173 REQUIRE_THAT(testStringForMatching(), Matches("^.* 'abc' .*$"));
174 … REQUIRE_THAT(testStringForMatching(), Matches("^.* 'ABC' .*$", Catch::CaseSensitive::No));
183 … CHECK_THAT(testStringForMatching(), Matches("this STRING contains 'abc' as a substring"));
184 CHECK_THAT(testStringForMatching(), Matches("contains 'abc' as a substring"));
185 CHECK_THAT(testStringForMatching(), Matches("this string contains 'abc' as a"));
189 CHECK_THAT(testStringForMatching(),
197 …CHECK_THAT(testStringForMatching(), Contains("string") || Contains("different") || Contains("rando…
202 …CHECK_THAT(testStringForMatching(), (Contains("string") || Contains("different")) && Contains("sub…
207 …CHECK_THAT(testStringForMatching(), (Contains("string") || Contains("different")) && Contains("ran…
211 CHECK_THAT(testStringForMatching(), !Contains("different"));
216 CHECK_THAT(testStringForMatching(), !Contains("substring"));