aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMehdi Houshmand <mehdi@apache.org>2012-07-04 10:51:38 +0000
committerMehdi Houshmand <mehdi@apache.org>2012-07-04 10:51:38 +0000
commitf7af5b4647abe39b632fa7f146164b51403ca4a9 (patch)
tree80f0dd1c48690ace1560a4401c8f226f58cec883
parentb409a37cbf81a121351c96aec4610b43c23b5dd2 (diff)
downloadxmlgraphics-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.java1
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 {