aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2010-04-09 17:29:56 +0000
committerVincent Hennebert <vhennebert@apache.org>2010-04-09 17:29:56 +0000
commit45e2cc146640410ce489c31719ebf036bb17f3b1 (patch)
treefba249bb06a4f9e2e88295ee8087d10ba2672b04
parent21f5a088d5824196240d7c09d8514bc48fa33751 (diff)
downloadxmlgraphics-fop-45e2cc146640410ce489c31719ebf036bb17f3b1.tar.gz
xmlgraphics-fop-45e2cc146640410ce489c31719ebf036bb17f3b1.zip
FontEventAdapter has been replaced by FontEventProducer
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932523 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--test/java/org/apache/fop/intermediate/IFMimickingTestCase.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/java/org/apache/fop/intermediate/IFMimickingTestCase.java b/test/java/org/apache/fop/intermediate/IFMimickingTestCase.java
index 610bc600b..226bfc64e 100644
--- a/test/java/org/apache/fop/intermediate/IFMimickingTestCase.java
+++ b/test/java/org/apache/fop/intermediate/IFMimickingTestCase.java
@@ -39,6 +39,7 @@ import org.apache.fop.apps.MimeConstants;
import org.apache.fop.events.Event;
import org.apache.fop.events.EventFormatter;
import org.apache.fop.events.EventListener;
+import org.apache.fop.fonts.FontEventProducer;
import org.apache.fop.render.intermediate.IFContext;
import org.apache.fop.render.intermediate.IFDocumentHandler;
import org.apache.fop.render.intermediate.IFException;
@@ -92,7 +93,7 @@ public class IFMimickingTestCase extends TestCase {
userAgent.getEventBroadcaster().addEventListener(new EventListener() {
public void processEvent(Event event) {
- if (event.getEventGroupID().equals("org.apache.fop.fonts.FontEventAdapter")) {
+ if (event.getEventGroupID().equals(FontEventProducer.class.getName())) {
fail("There must be no font-related event! Got: "
+ EventFormatter.format(event));
}