Lines Matching refs:testStringForMatching
27 inline const char *testStringForMatching() { in testStringForMatching() function
104 REQUIRE_THAT(testStringForMatching(), Contains("string"));
105 REQUIRE_THAT(testStringForMatching(), Contains("string", Catch::CaseSensitive::No));
106 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));
126 CHECK_THAT(testStringForMatching(), EndsWith("Substring"));
127 CHECK_THAT(testStringForMatching(), EndsWith("this", Catch::CaseSensitive::No));
131 CHECK_THAT(testStringForMatching(), Equals("this string contains 'ABC' as a substring"));
132 CHECK_THAT(testStringForMatching(), Equals("something else", Catch::CaseSensitive::No));
136 CHECK_THAT(testStringForMatching(), Equals("this string contains 'abc' as a substring"));
137 CHECK_THAT(testStringForMatching(),
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));
172 … CHECK_THAT(testStringForMatching(), Matches("this STRING contains 'abc' as a substring"));
173 CHECK_THAT(testStringForMatching(), Matches("contains 'abc' as a substring"));
174 CHECK_THAT(testStringForMatching(), Matches("this string contains 'abc' as a"));
178 CHECK_THAT(testStringForMatching(),
186 …CHECK_THAT(testStringForMatching(), Contains("string") || Contains("different") || Contains("rando…
191 …CHECK_THAT(testStringForMatching(), (Contains("string") || Contains("different")) && Contains("sub…
196 …CHECK_THAT(testStringForMatching(), (Contains("string") || Contains("different")) && Contains("ran…
200 CHECK_THAT(testStringForMatching(), !Contains("different"));
205 CHECK_THAT(testStringForMatching(), !Contains("substring"));