public class ShouldHaveSameContent extends AbstractShouldHaveTextContent
diffs
arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldHaveSameContent(File actual,
File expected,
List<String> diffs)
Creates a new
. |
static ErrorMessageFactory |
shouldHaveSameContent(InputStream actual,
InputStream expected,
List<String> diffs)
Creates a new
. |
static ErrorMessageFactory |
shouldHaveSameContent(java.nio.file.Path actual,
java.nio.file.Path expected,
List<String> diffs)
Creates a new
. |
create, diffsAsString
create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldHaveSameContent(File actual, File expected, List<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<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(java.nio.file.Path actual, java.nio.file.Path expected, List<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 © 2013-2015 AssertJ. All Rights Reserved.