Uses of Class
org.assertj.core.util.diff.Patch
-
Packages that use Patch Package Description org.assertj.core.util.diff org.assertj.core.util.diff.myers -
-
Uses of Patch in org.assertj.core.util.diff
Methods in org.assertj.core.util.diff that return Patch Modifier and Type Method Description Patch<T>
DiffAlgorithm. diff(java.util.List<T> original, java.util.List<T> revised)
Computes the difference between the original sequence and the revised sequence and returns it as aPatch
object.static <T> Patch<T>
DiffUtils. diff(java.util.List<T> original, java.util.List<T> revised)
Computes the difference between the original and revised list of elements with default diff algorithmstatic <T> Patch<T>
DiffUtils. diff(java.util.List<T> original, java.util.List<T> revised, DiffAlgorithm<T> algorithm)
Computes the difference between the original and revised list of elements with default diff algorithmstatic Patch<java.lang.String>
DiffUtils. parseUnifiedDiff(java.util.List<java.lang.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 Patch Modifier and Type Method Description static java.util.List<java.lang.String>
DiffUtils. generateUnifiedDiff(java.lang.String original, java.lang.String revised, java.util.List<java.lang.String> originalLines, Patch<java.lang.String> patch, int contextSize)
generateUnifiedDiff takes a Patch and some other arguments, returning the Unified Diff format text representing the Patch.static <T> java.util.List<T>
DiffUtils. patch(java.util.List<T> original, Patch<T> patch)
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 Modifier and Type Method Description Patch<T>
MyersDiff. buildRevision(PathNode path, java.util.List<T> orig, java.util.List<T> rev)
Constructs aPatch
from a difference path.Patch<T>
MyersDiff. diff(java.util.List<T> original, java.util.List<T> revised)
Computes the difference between the original sequence and the revised sequence and returns it as aPatch
object.
-