aboutsummaryrefslogtreecommitdiffstats
path: root/test/java
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2010-04-09 16:09:57 +0000
committerVincent Hennebert <vhennebert@apache.org>2010-04-09 16:09:57 +0000
commit8f6b532710381d795a1cb84d0a2af7b447db74f4 (patch)
treeb7ea4324bfddd198a36a813d7015a33c0b7fbe1f /test/java
parent83f36b614c3f1f1a866ff70fe9363cd5be31e986 (diff)
downloadxmlgraphics-fop-8f6b532710381d795a1cb84d0a2af7b447db74f4.tar.gz
xmlgraphics-fop-8f6b532710381d795a1cb84d0a2af7b447db74f4.zip
Split catch-all EventFormatter.xml message file into individual files for each EventProducer. There is no longer a default EventModelFactory
Added test case for font event git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932481 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/java')
-rw-r--r--test/java/org/apache/fop/events/EventProcessingTestCase.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/java/org/apache/fop/events/EventProcessingTestCase.java b/test/java/org/apache/fop/events/EventProcessingTestCase.java
index cf23c1dab..c1fc757a8 100644
--- a/test/java/org/apache/fop/events/EventProcessingTestCase.java
+++ b/test/java/org/apache/fop/events/EventProcessingTestCase.java
@@ -43,6 +43,7 @@ import org.apache.fop.apps.FopFactory;
import org.apache.fop.area.AreaEventProducer;
import org.apache.fop.fo.FOValidationEventProducer;
import org.apache.fop.fo.flow.table.TableEventProducer;
+import org.apache.fop.fonts.FontEventProducer;
import org.apache.fop.layoutmgr.BlockLevelEventProducer;
import org.apache.fop.layoutmgr.inline.InlineLevelEventProducer;
@@ -109,6 +110,12 @@ public class EventProcessingTestCase extends TestCase {
InlineLevelEventProducer.class.getName() + ".lineOverflows");
}
+ public void testFont() throws FOPException, TransformerException {
+ doTest("font.fo",
+ FontEventProducer.class.getName() + ".fontSubstituted");
+ }
+
+
public static Test suite() {
TestSuite suite = new TestSuite();
suite.addTestSuite(EventProcessingTestCase.class);