diff options
author | Jeremias Maerki <jeremias@apache.org> | 2008-07-23 09:34:17 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2008-07-23 09:34:17 +0000 |
commit | 2d83907e2d37f04aa8bebd938b737189d59eb62d (patch) | |
tree | c42d29083d95e098f521591b156a3f1df55bf2b8 /test/java/org/apache/fop/intermediate/IntermediateFormatTestSuite.java | |
parent | 8091bd11210ac68aa3289532643e42b66545a495 (diff) | |
download | xmlgraphics-fop-2d83907e2d37f04aa8bebd938b737189d59eb62d.tar.gz xmlgraphics-fop-2d83907e2d37f04aa8bebd938b737189d59eb62d.zip |
Improved/fixed font setup for painters. Reduced the whole thing to pass in a fully set-up FontInfo object to reduce dependencies on the font package to the necessary.
Fixed problem with some JAXP implementations for "lastProprties" in IFParser.
Support for XMP parsing added in IFParser.
Added round-trip testing for new IF.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@679047 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/java/org/apache/fop/intermediate/IntermediateFormatTestSuite.java')
-rw-r--r-- | test/java/org/apache/fop/intermediate/IntermediateFormatTestSuite.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/java/org/apache/fop/intermediate/IntermediateFormatTestSuite.java b/test/java/org/apache/fop/intermediate/IntermediateFormatTestSuite.java index 68c81da81..f8511cadc 100644 --- a/test/java/org/apache/fop/intermediate/IntermediateFormatTestSuite.java +++ b/test/java/org/apache/fop/intermediate/IntermediateFormatTestSuite.java @@ -46,18 +46,18 @@ public class IntermediateFormatTestSuite { Iterator i = files.iterator(); while (i.hasNext()) { File f = (File)i.next(); - addTestCase(suite, f); + addIFTestCase(suite, f); } - + return suite; } - - private static void addTestCase(TestSuite suite, + + private static void addIFTestCase(TestSuite suite, final File f) { - suite.addTest(new AreaTreeParserTestCase(f) { + suite.addTest(new IFParserTestCase(f) { public void runTest() throws Exception { try { - testParserToAT(); + testParserToIntermediateFormat(); testParserToPDF(); } catch (Exception e) { org.apache.commons.logging.LogFactory.getLog( @@ -67,5 +67,5 @@ public class IntermediateFormatTestSuite { } }); } - + } |