Modifier and Type | Class and Description |
---|---|
static interface |
Assertions.MismatchFilter
A filter used to determine whether line mismatches are significant.
|
Modifier and Type | Method and Description |
---|---|
static void |
assertDirectoriesEqual(File expectedPath,
File actualPath)
Compares all files in the two directories, line-by-line, using
assertLinesEqual(String, String) . |
static void |
assertDirectoriesEqual(File expectedPath,
File actualPath,
Assertions.MismatchFilter mismatchFilter)
Compares all files in the two directories, line-by-line, using
assertLinesEqual(String, String, MismatchFilter) . |
static void |
assertDirectoriesEqual(String expectedPath,
String actualPath)
Compares all files in the two directories, line-by-line, using
assertLinesEqual(String, String) . |
static void |
assertLinesEqual(String expectedOutput,
String actualOutput)
Compares two files, line-by-line.
|
static void |
assertLinesEqual(String expectedOutput,
String actualOutput,
Assertions.MismatchFilter filter)
Compares two files, line-by-line.
|
public static void assertLinesEqual(String expectedOutput, String actualOutput)
expectedOutput
- The expected output fileactualOutput
- The actual output filepublic static void assertLinesEqual(String expectedOutput, String actualOutput, Assertions.MismatchFilter filter)
expectedOutput
- The expected output fileactualOutput
- The actual output filefilter
- Mismatching lines are handed to this filter to determine whether the mismatch is to be considered significantpublic static final void assertDirectoriesEqual(String expectedPath, String actualPath)
assertLinesEqual(String, String)
.expectedPath
- the directory containing the expected filesactualPath
- the directory containing the actual filespublic static void assertDirectoriesEqual(File expectedPath, File actualPath)
assertLinesEqual(String, String)
.expectedPath
- the directory containing the expected filesactualPath
- the directory containing the actual filespublic static void assertDirectoriesEqual(File expectedPath, File actualPath, Assertions.MismatchFilter mismatchFilter)
assertLinesEqual(String, String, MismatchFilter)
.expectedPath
- the directory containing the expected filesactualPath
- the directory containing the actual filesmismatchFilter
- Mismatching lines are handed to this filter to determine whether the mismatch is to be considered significantCopyright © 2016 Actian Corporation. All rights reserved.