From 2d83907e2d37f04aa8bebd938b737189d59eb62d Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Wed, 23 Jul 2008 09:34:17 +0000 Subject: 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 --- .../fop/intermediate/IntermediateFormatTestSuite.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'test/java/org/apache/fop/intermediate/IntermediateFormatTestSuite.java') 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 { } }); } - + } -- cgit v1.2.3