diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/java/org/apache/fop/apps/io/ResourceResolverFactoryTestCase.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/java/org/apache/fop/apps/io/ResourceResolverFactoryTestCase.java b/test/java/org/apache/fop/apps/io/ResourceResolverFactoryTestCase.java index 223f74045..b6b2eea00 100644 --- a/test/java/org/apache/fop/apps/io/ResourceResolverFactoryTestCase.java +++ b/test/java/org/apache/fop/apps/io/ResourceResolverFactoryTestCase.java @@ -79,6 +79,7 @@ public class ResourceResolverFactoryTestCase { public void testDefaultResourceResolverGetOutput() throws Exception { ResourceResolver sut = ResourceResolverFactory.createDefaultResourceResolver(); File outputFile = File.createTempFile("prefix", "suffix"); + outputFile.deleteOnExit(); writeDataTo(sut.getOutputStream(outputFile.toURI())); InputStream is = new FileInputStream(outputFile); try { |