Searched refs:patch_apply (Results 1 - 2 of 2) sorted by relevance

/external/google-diff-match-patch/name/fraser/neil/plaintext/
H A Ddiff_match_patch_test.java832 Object[] results = dmp.patch_apply(patches, "The quick brown fox jumps over the lazy dog.");
835 assertEquals("patch_apply: Exact match.", "That quick brown fox jumped over a lazy dog.\ttrue\ttrue", resultStr);
837 results = dmp.patch_apply(patches, "The quick red rabbit jumps over the tired tiger.");
840 assertEquals("patch_apply: Partial match.", "That quick red rabbit jumped over a tired tiger.\ttrue\ttrue", resultStr);
842 results = dmp.patch_apply(patches, "I am the very model of a modern major general.");
845 assertEquals("patch_apply: Failed match.", "I am the very model of a modern major general.\tfalse\tfalse", resultStr);
848 results = dmp.patch_apply(patches, "x123456789012345678901234567890-----++++++++++-----123456789012345678901234567890y");
851 assertEquals("patch_apply: Big delete, small change.", "xabcy\ttrue\ttrue", resultStr);
854 results = dmp.patch_apply(patches, "x12345678901234567890---------------++++++++++---------------12345678901234567890y");
857 assertEquals("patch_apply
[all...]
H A Ddiff_match_patch.java1905 public Object[] patch_apply(LinkedList<Patch> patches, String text) { method in class:diff_match_patch
2011 * Intended to be called only from within patch_apply.

Completed in 79 milliseconds