Lines Matching refs:Callback
25 RefactoringCallback &Callback) { in expectRewritten() argument
27 Finder.addMatcher(AMatcher, &Callback); in expectRewritten()
34 EXPECT_TRUE(tooling::applyAllReplacements(Callback.getReplacements(), in expectRewritten()
42 ReplaceStmtWithText Callback("id", ";"); in TEST() local
43 expectRewritten(Code, Expected, id("id", declStmt()), Callback); in TEST()
49 ReplaceStmtWithText Callback("id", ";"); in TEST() local
50 expectRewritten(Code, Expected, id("id", declStmt()), Callback); in TEST()
56 ReplaceStmtWithText Callback("id", ";"); in TEST() local
57 expectRewritten(Code, Expected, id("id", declStmt()), Callback); in TEST()
63 ReplaceStmtWithText Callback("id", "2"); in TEST() local
65 Callback); in TEST()
71 ReplaceStmtWithStmt Callback("always-false", "should-be"); in TEST() local
76 Callback); in TEST()
82 ReplaceIfStmtWithItsBody Callback("id", true); in TEST() local
87 Callback); in TEST()
93 ReplaceIfStmtWithItsBody Callback("id", false); in TEST() local
96 Callback); in TEST()