Fix tests in broken build: default strictness in readers.

This commit is contained in:
dsyer
2009-03-10 12:18:49 +00:00
parent b71f2b506b
commit 042bd114eb
2 changed files with 3 additions and 1 deletions

View File

@@ -104,7 +104,7 @@ public class FlatFileItemReaderTests {
}
@Test
public void testNonExistantResource() throws Exception {
public void testNonExistentResource() throws Exception {
Resource resource = new NonExistentResource();
@@ -114,6 +114,7 @@ public class FlatFileItemReaderTests {
// null
reader.afterPropertiesSet();
reader.setStrict(false);
reader.open(executionContext);
assertNull(reader.read());
reader.close();

View File

@@ -231,6 +231,7 @@ public class StaxEventItemReaderTests {
source.setResource(new NonExistentResource());
source.afterPropertiesSet();
source.setStrict(false);
source.open(executionContext);
assertNull(source.read());