• Home
  • Raw
  • Download

Lines Matching refs:Hint

85     FixItHint Hint = createRemoval(*CE);  in TEST()  local
86 EXPECT_EQ("foo(x, y)", getText(Hint.RemoveRange.getAsRange(), *Context)); in TEST()
87 EXPECT_TRUE(Hint.InsertFromRange.isInvalid()); in TEST()
88 EXPECT_TRUE(Hint.CodeToInsert.empty()); in TEST()
120 FixItHint Hint = createRemoval(*CE); in TEST() local
121 EXPECT_EQ("FOO", getText(Hint.RemoveRange.getAsRange(), *Context)); in TEST()
122 EXPECT_TRUE(Hint.InsertFromRange.isInvalid()); in TEST()
123 EXPECT_TRUE(Hint.CodeToInsert.empty()); in TEST()
147 FixItHint Hint = createRemoval(*CE); in TEST() local
149 LocationToString(Hint.RemoveRange.getBegin(), Context)); in TEST()
151 LocationToString(Hint.RemoveRange.getEnd(), Context)); in TEST()
152 EXPECT_TRUE(Hint.InsertFromRange.isInvalid()); in TEST()
153 EXPECT_TRUE(Hint.CodeToInsert.empty()); in TEST()
195 FixItHint Hint = createReplacement(*P0, *P1, *Context); in TEST() local
197 LocationToString(Hint.RemoveRange.getBegin(), Context)); in TEST()
199 LocationToString(Hint.RemoveRange.getEnd(), Context)); in TEST()
200 EXPECT_TRUE(Hint.InsertFromRange.isInvalid()); in TEST()
201 EXPECT_TRUE(Hint.CodeToInsert.empty()); in TEST()
210 FixItHint Hint = createReplacement(*P0, *P1, *Context); in TEST() local
212 LocationToString(Hint.RemoveRange.getBegin(), Context)); in TEST()
214 LocationToString(Hint.RemoveRange.getEnd(), Context)); in TEST()
215 EXPECT_TRUE(Hint.InsertFromRange.isInvalid()); in TEST()
216 EXPECT_EQ("y", Hint.CodeToInsert); in TEST()
224 FixItHint Hint = createReplacement(*P0, *P1, *Context); in TEST() local
225 EXPECT_EQ("x + y", getText(Hint.RemoveRange.getAsRange(), *Context)); in TEST()
226 EXPECT_TRUE(Hint.InsertFromRange.isInvalid()); in TEST()
227 EXPECT_EQ("y + x", Hint.CodeToInsert); in TEST()