Lines Matching refs:Edit
1528 auto Edit = buildRenameEdit(FilePath, Code.code(), {LSPRange}, NewName); in TEST() local
1529 ASSERT_TRUE(bool(Edit)) << Edit.takeError(); in TEST()
1530 ASSERT_EQ(1UL, Edit->Replacements.size()); in TEST()
1531 EXPECT_EQ(FilePath, Edit->Replacements.begin()->getFilePath()); in TEST()
1532 EXPECT_EQ(4UL, Edit->Replacements.begin()->getLength()); in TEST()
1536 Edit = buildRenameEdit(FilePath, Code.code(), {LSPRange}, NewName); in TEST()
1537 EXPECT_FALSE(Edit); in TEST()
1538 EXPECT_THAT(llvm::toString(Edit.takeError()), in TEST()
1547 Edit = buildRenameEdit(FilePath, T.code(), T.ranges(), NewName); in TEST()
1548 ASSERT_TRUE(bool(Edit)) << Edit.takeError(); in TEST()
1549 EXPECT_EQ(applyEdits(FileEdits{{T.code(), std::move(*Edit)}}).front().second, in TEST()