uncomment call to fail (assume Bamboo back up now)

This commit is contained in:
dsyer
2008-07-29 10:01:01 +00:00
parent d4e51a9fd5
commit 843ecf40d2

View File

@@ -71,7 +71,7 @@ public class FlatFileItemWriterTests extends TestCase {
}
TransactionSynchronizationManager.initSynchronization();
outputFile = File.createTempFile("flatfile-output-", ".tmp");
outputFile = File.createTempFile("flatfile-test-output-", ".tmp");
writer.setResource(new FileSystemResource(outputFile));
writer.setFieldSetCreator(new PassThroughFieldSetCreator<String>());
@@ -288,8 +288,7 @@ public class FlatFileItemWriterTests extends TestCase {
writer.afterPropertiesSet();
try {
writer.open(executionContext);
// TODO: put this back in when Bamboo is fixed (2008/07/27)
// fail("Expected IllegalStateException");
fail("Expected IllegalStateException");
}
catch (IllegalStateException e) {
String message = e.getMessage();