diff options
author | Mehdi Houshmand <mehdi@apache.org> | 2012-05-31 08:33:36 +0000 |
---|---|---|
committer | Mehdi Houshmand <mehdi@apache.org> | 2012-05-31 08:33:36 +0000 |
commit | eccd73c523bdda6a0634e9849141492f7b14ad63 (patch) | |
tree | 72f06ec1481249bdd639083ee646b3c3fd4be7a4 /test/java/org/apache/fop/render/ps/ImageHandlingTestCase.java | |
parent | 05761b1df54ada8a762bfa879dc0e3455d33d828 (diff) | |
download | xmlgraphics-fop-eccd73c523bdda6a0634e9849141492f7b14ad63.tar.gz xmlgraphics-fop-eccd73c523bdda6a0634e9849141492f7b14ad63.zip |
Started unifying URI resolution mechanism, redesigned configuration system and created flexible config testing
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1344594 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/java/org/apache/fop/render/ps/ImageHandlingTestCase.java')
-rw-r--r-- | test/java/org/apache/fop/render/ps/ImageHandlingTestCase.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/java/org/apache/fop/render/ps/ImageHandlingTestCase.java b/test/java/org/apache/fop/render/ps/ImageHandlingTestCase.java index 416372187..ba0598b52 100644 --- a/test/java/org/apache/fop/render/ps/ImageHandlingTestCase.java +++ b/test/java/org/apache/fop/render/ps/ImageHandlingTestCase.java @@ -66,8 +66,7 @@ public class ImageHandlingTestCase extends AbstractPostScriptTest { private void innerTestJPEGImage(int level) throws Exception { FOUserAgent ua = fopFactory.newFOUserAgent(); - PSDocumentHandler handler = new PSDocumentHandler(); - handler.setContext(new IFContext(ua)); + PSDocumentHandler handler = new PSDocumentHandler(new IFContext(ua)); PSRenderingUtil psUtil = handler.getPSUtil(); psUtil.setLanguageLevel(level); psUtil.setOptimizeResources(true); |