public class ShouldHaveEqualContent extends AbstractShouldHaveTextContent
diffsarguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldHaveEqualContent(File actual,
File expected,
List<String> diffs)
Creates a new
. |
static ErrorMessageFactory |
shouldHaveEqualContent(InputStream actual,
InputStream expected,
List<String> diffs)
Creates a new
. |
create, diffsAsStringequals, hashCode, toStringpublic static ErrorMessageFactory shouldHaveEqualContent(File actual, File expected, List<String> diffs)
ShouldHaveEqualContent.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 shouldHaveEqualContent(InputStream actual, InputStream expected, List<String> diffs)
ShouldHaveEqualContent.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 AssertJ. All Rights Reserved.