org.springframework.batch.test
Class AssertFile
java.lang.Object
org.springframework.batch.test.AssertFile
public abstract class AssertFile
- extends Object
This class can be used to assert that two files are the same.
- Since:
- 2.0
- Author:
- Dan Garrette
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssertFile
public AssertFile()
assertFileEquals
public static void assertFileEquals(File expected,
File actual)
throws Exception
- Throws:
Exception
assertFileEquals
public static void assertFileEquals(Resource expected,
Resource actual)
throws Exception
- Throws:
Exception
assertLineCount
public static void assertLineCount(int expectedLineCount,
File file)
throws Exception
- Throws:
Exception
assertLineCount
public static void assertLineCount(int expectedLineCount,
Resource resource)
throws Exception
- Throws:
Exception
Copyright © 2013 SpringSource. All Rights Reserved.