Lines Matching refs:runToolOnCode
64 TEST(runToolOnCode, FindsNoTopLevelDeclOnEmptyCode) { in TEST() argument
67 runToolOnCode(new TestAction(llvm::make_unique<FindTopLevelDeclConsumer>( in TEST()
104 TEST(runToolOnCode, FindsClassDecl) { in TEST() argument
107 runToolOnCode(new TestAction(llvm::make_unique<FindClassDeclXConsumer>( in TEST()
114 runToolOnCode(new TestAction(llvm::make_unique<FindClassDeclXConsumer>( in TEST()
257 TEST(runToolOnCode, TestSkipFunctionBody) { in TEST() argument
261 EXPECT_TRUE(runToolOnCode(new SkipBodyAction, in TEST()
263 EXPECT_FALSE(runToolOnCode(new SkipBodyAction, in TEST()
296 EXPECT_TRUE(runToolOnCode( in TEST()
299 EXPECT_TRUE(runToolOnCode( in TEST()
303 runToolOnCode(new SkipBodyAction, in TEST()
306 EXPECT_FALSE(runToolOnCode( in TEST()
311 EXPECT_TRUE(runToolOnCode( in TEST()