Lines Matching refs:testing
90 testing::AssertionResult matchesConditionally(
101 return testing::AssertionFailure() << "Could not add dynamic matcher";
130 return testing::AssertionFailure() << "Parsing error in \"" << Code << "\"";
133 return testing::AssertionFailure()
138 return testing::AssertionFailure()
141 return testing::AssertionFailure()
144 return testing::AssertionSuccess();
148 testing::AssertionResult
159 return testing::AssertionSuccess();
163 testing::AssertionResult
170 testing::AssertionResult
177 testing::AssertionResult matchesObjC(const Twine &Code, const T &AMatcher,
186 testing::AssertionResult matchesC(const Twine &Code, const T &AMatcher) {
192 testing::AssertionResult notMatchesObjC(const Twine &Code, const T &AMatcher) {
199 testing::AssertionResult
228 return testing::AssertionFailure() << "Could not add dynamic matcher";
238 return testing::AssertionFailure() << "Parsing error in \"" << Code << "\"";
241 return testing::AssertionFailure()
246 return testing::AssertionFailure()
249 return testing::AssertionFailure()
252 return testing::AssertionSuccess();
256 testing::AssertionResult matchesWithCuda(const Twine &Code, const T &AMatcher) {
261 testing::AssertionResult notMatchesWithCuda(const Twine &Code,
267 testing::AssertionResult matchesWithOpenMP(const Twine &Code,
273 testing::AssertionResult notMatchesWithOpenMP(const Twine &Code,
279 testing::AssertionResult matchesWithOpenMP51(const Twine &Code,
286 testing::AssertionResult notMatchesWithOpenMP51(const Twine &Code,
293 testing::AssertionResult matchAndVerifyResultConditionally(
314 return testing::AssertionFailure() << "Parsing error in \"" << Code << "\"";
317 return testing::AssertionFailure()
320 return testing::AssertionFailure()
329 return testing::AssertionFailure()
333 return testing::AssertionFailure()
336 return testing::AssertionFailure()
340 return testing::AssertionSuccess();
346 testing::AssertionResult
357 testing::AssertionResult matchAndVerifyResultFalse(
436 class ASTMatchersTest : public ::testing::Test,
437 public ::testing::WithParamInterface<TestClangConfig> {
440 testing::AssertionResult matches(const Twine &Code, const T &AMatcher) {
448 testing::AssertionResult notMatches(const Twine &Code, const T &AMatcher) {