Uses of Class
org.assertj.core.util.diff.Patch
Packages that use Patch
-
Uses of Patch in org.assertj.core.util.diff
Methods in org.assertj.core.util.diff that return PatchModifier and TypeMethodDescriptionComputes the difference between the original sequence and the revised sequence and returns it as aPatch
object.static <T> Patch
<T> Computes the difference between the original and revised list of elements with default diff algorithmstatic <T> Patch
<T> DiffUtils.diff
(List<T> original, List<T> revised, DiffAlgorithm<T> algorithm) Computes the difference between the original and revised list of elements with default diff algorithmDiffUtils.parseUnifiedDiff
(List<String> diff) Parse the given text in unified format and creates the list of deltas for it.Methods in org.assertj.core.util.diff with parameters of type PatchModifier and TypeMethodDescriptionDiffUtils.generateUnifiedDiff
(String original, String revised, List<String> originalLines, Patch<String> patch, int contextSize) generateUnifiedDiff takes a Patch and some other arguments, returning the Unified Diff format text representing the Patch.static <T> List
<T> Patch the original text with given patch -
Uses of Patch in org.assertj.core.util.diff.myers
Methods in org.assertj.core.util.diff.myers that return Patch