diff options
author | Simon Steiner <ssteiner@apache.org> | 2020-05-05 07:43:58 +0000 |
---|---|---|
committer | Simon Steiner <ssteiner@apache.org> | 2020-05-05 07:43:58 +0000 |
commit | ccd1b149a719ce315ffe885fc153fce25d139fd5 (patch) | |
tree | 733f145f2c251099d379605df0086f86a1a151a6 /fop-core | |
parent | 29748b9e73f31c07a2e1eb7ff8771148371aa5a0 (diff) | |
download | xmlgraphics-fop-ccd1b149a719ce315ffe885fc153fce25d139fd5.tar.gz xmlgraphics-fop-ccd1b149a719ce315ffe885fc153fce25d139fd5.zip |
Test bookmarks pointing to a non-existing internal destination should just trigger a warning
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1877370 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fop-core')
-rw-r--r-- | fop-core/src/test/java/org/apache/fop/events/EventProcessingTestCase.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fop-core/src/test/java/org/apache/fop/events/EventProcessingTestCase.java b/fop-core/src/test/java/org/apache/fop/events/EventProcessingTestCase.java index 4f87cca20..66ec43193 100644 --- a/fop-core/src/test/java/org/apache/fop/events/EventProcessingTestCase.java +++ b/fop-core/src/test/java/org/apache/fop/events/EventProcessingTestCase.java @@ -112,6 +112,12 @@ public class EventProcessingTestCase { } @Test + public void testBookmarks() throws Exception { + doTest("bookmarks.fo", + AreaEventProducer.class.getName() + ".unresolvedIDReference"); + } + + @Test public void testResource() throws Exception { doTest("resource.fo", ResourceEventProducer.class.getName() + ".imageNotFound"); |