aboutsummaryrefslogtreecommitdiffstats
path: root/test/java
diff options
context:
space:
mode:
authorGlenn Adams <gadams@apache.org>2012-04-17 16:15:44 +0000
committerGlenn Adams <gadams@apache.org>2012-04-17 16:15:44 +0000
commita915c74aa4d3bcad9448d1808e5baba10ba91e24 (patch)
tree0b2e38660d9d0a2e8575daf9120bd69794a06536 /test/java
parente67c4d1633a8b503ee75f393e8c2e69f31490645 (diff)
downloadxmlgraphics-fop-a915c74aa4d3bcad9448d1808e5baba10ba91e24.tar.gz
xmlgraphics-fop-a915c74aa4d3bcad9448d1808e5baba10ba91e24.zip
Bugzilla #53094: Convert block container overflow exception to event model, improving overflow property behavior.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1327157 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/java')
-rw-r--r--test/java/org/apache/fop/events/EventProcessingTestCase.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/java/org/apache/fop/events/EventProcessingTestCase.java b/test/java/org/apache/fop/events/EventProcessingTestCase.java
index 8219fa71e..1d38d4ccb 100644
--- a/test/java/org/apache/fop/events/EventProcessingTestCase.java
+++ b/test/java/org/apache/fop/events/EventProcessingTestCase.java
@@ -124,4 +124,16 @@ public class EventProcessingTestCase {
doTest("inline-level.fo",
InlineLevelEventProducer.class.getName() + ".lineOverflows");
}
+
+ @Test
+ public void testViewportIPDOverflow() throws FOPException, TransformerException, IOException,
+ SAXException {
+ doTest("viewport-overflow.fo", BlockLevelEventProducer.class.getName() + ".viewportIPDOverflow");
+ }
+
+ @Test
+ public void testViewportBPDOverflow() throws FOPException, TransformerException, IOException,
+ SAXException {
+ doTest("viewport-overflow.fo", BlockLevelEventProducer.class.getName() + ".viewportBPDOverflow");
+ }
}