Package | Description |
---|---|
org.assertj.core.error | |
org.assertj.core.internal | |
org.assertj.core.util.diff |
Modifier and Type | Method and Description |
---|---|
protected static String |
AbstractShouldHaveTextContent.diffsAsString(List<Delta<String>> diffsList) |
static ErrorMessageFactory |
ShouldHaveContent.shouldHaveContent(File actual,
Charset charset,
List<Delta<String>> diffs)
Creates a new
. |
static ErrorMessageFactory |
ShouldHaveContent.shouldHaveContent(Path actual,
Charset charset,
List<Delta<String>> diffs)
Creates a new
. |
static ErrorMessageFactory |
ShouldHaveSameContent.shouldHaveSameContent(File actual,
File expected,
List<Delta<String>> diffs)
Creates a new
. |
static ErrorMessageFactory |
ShouldHaveSameContent.shouldHaveSameContent(InputStream actual,
InputStream expected,
List<Delta<String>> diffs)
Creates a new
. |
static ErrorMessageFactory |
ShouldHaveSameContent.shouldHaveSameContent(InputStream actual,
String expected,
List<Delta<String>> diffs)
Creates a new
. |
static ErrorMessageFactory |
ShouldHaveSameContent.shouldHaveSameContent(Path actual,
Path expected,
List<Delta<String>> diffs)
Creates a new
. |
Modifier and Type | Method and Description |
---|---|
List<Delta<String>> |
Diff.diff(File actual,
Charset actualCharset,
File expected,
Charset expectedCharset) |
List<Delta<String>> |
Diff.diff(File actual,
String expected,
Charset charset) |
List<Delta<String>> |
Diff.diff(InputStream actual,
InputStream expected) |
List<Delta<String>> |
Diff.diff(InputStream actual,
String expected) |
List<Delta<String>> |
Diff.diff(Path actual,
Charset actualCharset,
Path expected,
Charset expectedCharset) |
List<Delta<String>> |
Diff.diff(Path actual,
String expected,
Charset charset) |
Modifier and Type | Class and Description |
---|---|
class |
ChangeDelta<T>
Initially copied from https://code.google.com/p/java-diff-utils/.
|
class |
DeleteDelta<T>
Initially copied from https://code.google.com/p/java-diff-utils/.
|
class |
InsertDelta<T>
Initially copied from https://code.google.com/p/java-diff-utils/.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<Delta<?>> |
DeltaComparator.INSTANCE |
Modifier and Type | Method and Description |
---|---|
List<Delta<T>> |
Patch.getDeltas()
Get the list of computed deltas
|
Modifier and Type | Method and Description |
---|---|
void |
Patch.addDelta(Delta<T> delta)
Add the given delta to this patch
|
int |
DeltaComparator.compare(Delta<?> a,
Delta<?> b) |
int |
DeltaComparator.compare(Delta<?> a,
Delta<?> b) |
Copyright © 2014–2019 AssertJ. All rights reserved.