RESOLVED - BATCH-1226: Add assertLineCount method to AssertFile

This commit is contained in:
dhgarrette
2009-05-01 19:08:42 +00:00
parent 1de9c71647
commit 74929408ff
2 changed files with 23 additions and 4 deletions

View File

@@ -85,4 +85,9 @@ public class AssertFileTests {
AssertFile.assertFileEquals(new FileSystemResource(DIRECTORY + expected), new FileSystemResource(DIRECTORY
+ actual));
}
@Test
public void testAssertLineCount() throws Exception {
AssertFile.assertLineCount(5, new FileSystemResource(DIRECTORY + "input1.txt"));
}
}