D | RefactoringCallbacksTest.cpp | 23 const std::string &Expected, in expectRewritten() argument 36 EXPECT_EQ(Expected, Context.getRewrittenText(ID)); in expectRewritten() 41 std::string Expected = "void f() { ; }"; in TEST() local 43 expectRewritten(Code, Expected, id("id", declStmt()), Callback); in TEST() 48 std::string Expected = "#define A void f() { ; }\nA"; in TEST() local 50 expectRewritten(Code, Expected, id("id", declStmt()), Callback); in TEST() 55 std::string Expected = "#define A void f() { int i = 1; }"; in TEST() local 57 expectRewritten(Code, Expected, id("id", declStmt()), Callback); in TEST() 62 std::string Expected = "void f() { int i = 2; }"; in TEST() local 64 expectRewritten(Code, Expected, id("id", expr(integerLiteral())), in TEST() [all …]
|