diff options
author | Mehdi Houshmand <mehdi@apache.org> | 2012-07-04 10:51:38 +0000 |
---|---|---|
committer | Mehdi Houshmand <mehdi@apache.org> | 2012-07-04 10:51:38 +0000 |
commit | f7af5b4647abe39b632fa7f146164b51403ca4a9 (patch) | |
tree | 80f0dd1c48690ace1560a4401c8f226f58cec883 | |
parent | b409a37cbf81a121351c96aec4610b43c23b5dd2 (diff) | |
download | xmlgraphics-fop-f7af5b4647abe39b632fa7f146164b51403ca4a9.tar.gz xmlgraphics-fop-f7af5b4647abe39b632fa7f146164b51403ca4a9.zip |
Deletes temporary resource files created by unit test
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1357222 13f79535-47bb-0310-9956-ffa450edef68
-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 { |