public class Assert extends Object
Assert
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.
|
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 © 2014 Nuxeo SA. All rights reserved.