| | |
| | | public class LDIFDiffTestCase |
| | | extends ToolsTestCase |
| | | { |
| | | // The path to the file that will be used if there are no differences between |
| | | // the source and target LDIF data sets. |
| | | /** |
| | | * The path to the file that will be used if there are no differences between |
| | | * the source and target LDIF data sets. |
| | | */ |
| | | private String noDiffsFile = |
| | | System.getProperty(TestCaseUtils.PROPERTY_BUILD_ROOT) + File.separator + |
| | | "tests" + File.separator + "unit-tests-testng" + File.separator + |
| | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * Calculates the checksum of a file |
| | | */ |
| | | /** Calculates the checksum of a file. */ |
| | | private long calcChecksum(String filename) throws Exception |
| | | { |
| | | return calcChecksum(new File(filename)); |