Modifier | Constructor and Description |
---|---|
protected |
Assert()
Protect constructor since it is a static only class
|
Modifier and Type | Method and Description |
---|---|
static void |
assertFilesContentEquals(String expected,
String actual)
Asserts that two strings are equal even if their EOL are different.
|
static void |
assertFilesContentEquals(String message,
String expected,
String actual)
Asserts that two strings are equal even if their EOL are different.
|
protected Assert()
public static void assertFilesContentEquals(String expected, String actual)
AssertionError
is
thrown with the given message. If expected
and actual
are null
, they are
considered equal.expected
- expected String with Windows or Unix like EOLactual
- actual String with Windows or Unix like EOLFileUtils.areFilesContentEquals(String, String)
public static void assertFilesContentEquals(String message, String expected, String actual)
AssertionError
is
thrown with the given message. If expected
and actual
are null
, they are
considered equal.message
- the identifying message for the AssertionError
( null
okay)expected
- expected String with Windows or Unix like EOLactual
- actual String with Windows or Unix like EOLFileUtils.areFilesContentEquals(String, String)
Copyright © 2015 Nuxeo SA. All rights reserved.