Lines Matching full:replacements
10 // Tests for serialization of Replacements.
26 Doc.Replacements in TEST()
28 Doc.Replacements in TEST()
41 "Replacements: \n" // Extra whitespace here! in TEST()
58 "Replacements:\n" in TEST()
72 ASSERT_EQ(2u, DocActual.Replacements.size()); in TEST()
75 ASSERT_EQ("/path/to/file1.h", DocActual.Replacements[0].getFilePath()); in TEST()
76 ASSERT_EQ(232u, DocActual.Replacements[0].getOffset()); in TEST()
77 ASSERT_EQ(56u, DocActual.Replacements[0].getLength()); in TEST()
78 ASSERT_EQ("replacement #1", DocActual.Replacements[0].getReplacementText()); in TEST()
79 ASSERT_EQ("/path/to/file2.h", DocActual.Replacements[1].getFilePath()); in TEST()
80 ASSERT_EQ(301u, DocActual.Replacements[1].getOffset()); in TEST()
81 ASSERT_EQ(2u, DocActual.Replacements[1].getLength()); in TEST()
82 ASSERT_EQ("replacement #2", DocActual.Replacements[1].getReplacementText()); in TEST()
89 "Replacements:\n" in TEST()
100 ASSERT_EQ(1u, DocActual.Replacements.size()); in TEST()
102 ASSERT_EQ("target_file.h", DocActual.Replacements[0].getFilePath()); in TEST()
103 ASSERT_EQ(1u, DocActual.Replacements[0].getOffset()); in TEST()
104 ASSERT_EQ(10u, DocActual.Replacements[0].getLength()); in TEST()
105 ASSERT_EQ("replacement", DocActual.Replacements[0].getReplacementText()); in TEST()