aboutsummaryrefslogtreecommitdiffstats
path: root/test/java/org/apache/fop/afp/AFPResourceManagerTestCase.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/java/org/apache/fop/afp/AFPResourceManagerTestCase.java')
-rw-r--r--test/java/org/apache/fop/afp/AFPResourceManagerTestCase.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/java/org/apache/fop/afp/AFPResourceManagerTestCase.java b/test/java/org/apache/fop/afp/AFPResourceManagerTestCase.java
index 27a3a41d0..21540221f 100644
--- a/test/java/org/apache/fop/afp/AFPResourceManagerTestCase.java
+++ b/test/java/org/apache/fop/afp/AFPResourceManagerTestCase.java
@@ -20,6 +20,7 @@
package org.apache.fop.afp;
import java.io.ByteArrayOutputStream;
+import java.io.File;
import java.io.IOException;
import org.junit.Before;
@@ -41,7 +42,8 @@ public class AFPResourceManagerTestCase {
@Before
public void setUp() throws IOException {
- sut = new AFPResourceManager(ResourceResolverFactory.createDefaultWrapper());
+ sut = new AFPResourceManager(ResourceResolverFactory.createDefaultInternalResourceResolver(
+ new File(".").toURI()));
AFPPaintingState paintingState = new AFPPaintingState();
ByteArrayOutputStream outStream = new ByteArrayOutputStream();
DataStream stream = sut.createDataStream(paintingState, outStream);