D | diff_match_patch_test.java | 42 private diff_match_patch.Operation INSERT = diff_match_patch.Operation.INSERT; field in diff_match_patch_test 132 …LinkedList<Diff> diffs = diffList(new Diff(EQUAL, "\u0001\u0002\u0001"), new Diff(INSERT, "\u0002\… in testDiffCharsToLines() 138 …arsToLines:", diffList(new Diff(EQUAL, "alpha\nbeta\nalpha\n"), new Diff(INSERT, "beta\nalpha\nbet… in testDiffCharsToLines() 166 diffs = diffList(new Diff(EQUAL, "a"), new Diff(DELETE, "b"), new Diff(INSERT, "c")); in testDiffCleanupMerge() 168 …hange case.", diffList(new Diff(EQUAL, "a"), new Diff(DELETE, "b"), new Diff(INSERT, "c")), diffs); in testDiffCleanupMerge() 178 diffs = diffList(new Diff(INSERT, "a"), new Diff(INSERT, "b"), new Diff(INSERT, "c")); in testDiffCleanupMerge() 180 assertEquals("diff_cleanupMerge: Merge insertions.", diffList(new Diff(INSERT, "abc")), diffs); in testDiffCleanupMerge() 182 …diffs = diffList(new Diff(DELETE, "a"), new Diff(INSERT, "b"), new Diff(DELETE, "c"), new Diff(INS… in testDiffCleanupMerge() 184 …anupMerge: Merge interweave.", diffList(new Diff(DELETE, "ac"), new Diff(INSERT, "bd"), new Diff(E… in testDiffCleanupMerge() 186 diffs = diffList(new Diff(DELETE, "a"), new Diff(INSERT, "abc"), new Diff(DELETE, "dc")); in testDiffCleanupMerge() [all …]
|