public class ShouldHaveSameContent extends AbstractShouldHaveTextContent
diffsarguments, 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
. |
create, diffsAsStringcreate, create, equals, hashCode, toString, unquotedStringpublic 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 Stream in the failed assertion.diffs - the differences between actual and expected.ErrorMessageFactory.Copyright © 2013-2015 AssertJ. All Rights Reserved.