From a9d6dc70259aa7a1f006f097e32e37cfc8d4234a Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Thu, 3 Feb 2005 17:06:29 +0000 Subject: [PATCH] Derived from markers4 these two test cases exercise BlockLayoutManager.addMarkers() where currently some markers are added to the wrong page. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198370 13f79535-47bb-0310-9956-ffa450edef68 --- test/layoutengine/testcases/markers5a.xml | 84 +++++++++++++ test/layoutengine/testcases/markers5b.xml | 146 ++++++++++++++++++++++ 2 files changed, 230 insertions(+) create mode 100644 test/layoutengine/testcases/markers5a.xml create mode 100644 test/layoutengine/testcases/markers5b.xml diff --git a/test/layoutengine/testcases/markers5a.xml b/test/layoutengine/testcases/markers5a.xml new file mode 100644 index 000000000..00b573d60 --- /dev/null +++ b/test/layoutengine/testcases/markers5a.xml @@ -0,0 +1,84 @@ + + + + + +

+ This test checks markers, especially the behaviour of block being broken over pages. +

+
+ + + + + + + + + + + + + page + + + + + + + + + + + + + 0.00 + 1.00 + 1: 1.00 + + + 1.00 + 2.00 + 2: 1.00 + + + 2.00 + 3.00 + 3: 1.00 + + + 3.00 + 4.00 + 4: 1.00 + + + 4.00 + 5.00 + 5: 1.00 + + + 5.00 + 6.00 + 6: 1.00 + + + + + + + +
diff --git a/test/layoutengine/testcases/markers5b.xml b/test/layoutengine/testcases/markers5b.xml new file mode 100644 index 000000000..769c894a1 --- /dev/null +++ b/test/layoutengine/testcases/markers5b.xml @@ -0,0 +1,146 @@ + + + + + +

+ This test checks markers, especially the behaviour of block being broken over pages. This is almost the same + as markers5a except that tables are used instead of plain blocks. +

+
+ + + + + + + + + + + + + page + + + + + + + + + + + + + + + + + + + 1 + + + 1.00 + + + + 0 + 1.00 + + + + + + 2 + + + 1.00 + + + + 1.00 + 2.00 + + + + + + 3 + + + 1.00 + + + + 2.00 + 3.00 + + + + + + 4 + + + 1.00 + + + + 3.00 + 4.00 + + + + + + 5 + + + 1.00 + + + + 4.00 + 5.00 + + + + + + 6 + + + 1.00 + + + + 5.00 + 6.00 + + + + + + + + + + + +
-- 2.39.5