public class ShouldHaveSameContent extends AbstractShouldHaveTextContent
diffs
arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldHaveSameContent(File actual,
File expected,
List<Delta<String>> diffs)
Creates a new
. |
static ErrorMessageFactory |
shouldHaveSameContent(InputStream actual,
InputStream expected,
List<Delta<String>> diffs)
Creates a new
. |
static ErrorMessageFactory |
shouldHaveSameContent(InputStream actual,
String expected,
List<Delta<String>> diffs)
Creates a new
. |
static ErrorMessageFactory |
shouldHaveSameContent(Path actual,
Path expected,
List<Delta<String>> diffs)
Creates a new
. |
create, diffsAsString
create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldHaveSameContent(File actual, File expected, List<Delta<String>> diffs)
ShouldHaveSameContent
.actual
- the actual file in the failed assertion.expected
- the expected file in the failed assertion.diffs
- the differences between actual
and expected
.ErrorMessageFactory
.public static ErrorMessageFactory shouldHaveSameContent(InputStream actual, InputStream expected, List<Delta<String>> diffs)
ShouldHaveSameContent
.actual
- the actual InputStream in the failed assertion.expected
- the expected InputStream in the failed assertion.diffs
- the differences between actual
and expected
.ErrorMessageFactory
.public static ErrorMessageFactory shouldHaveSameContent(InputStream actual, String expected, List<Delta<String>> diffs)
ShouldHaveSameContent
.actual
- the actual InputStream in the failed assertion.expected
- the expected String in the failed assertion.diffs
- the differences between actual
and expected
.ErrorMessageFactory
.public static ErrorMessageFactory shouldHaveSameContent(Path actual, Path expected, List<Delta<String>> diffs)
ShouldHaveSameContent
.actual
- the actual Path in the failed assertion.expected
- the expected Path in the failed assertion.diffs
- the differences between actual
and expected
.ErrorMessageFactory
.Copyright © 2014–2019 AssertJ. All rights reserved.