From a3f977bd8372506e4ab67d8e16550c63e7f73a55 Mon Sep 17 00:00:00 2001 From: Christian Geisert Date: Thu, 4 Aug 2005 12:19:40 +0000 Subject: [PATCH] Testcases for leader Submitted by: Manuel Mall see Bugzilla #36013, #36015, #36017 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227350 13f79535-47bb-0310-9956-ffa450edef68 --- test/layoutengine/testcases/leader-dots.xml | 59 +++++++++ test/layoutengine/testcases/leader-rule.xml | 127 +++++++++++++++++++ test/layoutengine/testcases/leader-space.xml | 59 +++++++++ 3 files changed, 245 insertions(+) create mode 100644 test/layoutengine/testcases/leader-dots.xml create mode 100644 test/layoutengine/testcases/leader-rule.xml create mode 100644 test/layoutengine/testcases/leader-space.xml diff --git a/test/layoutengine/testcases/leader-dots.xml b/test/layoutengine/testcases/leader-dots.xml new file mode 100644 index 000000000..52b7c67b9 --- /dev/null +++ b/test/layoutengine/testcases/leader-dots.xml @@ -0,0 +1,59 @@ + + + + + +

+ This test checks leaders with leader-pattern="dots" +

+
+ + + + + + + + + + + + Default dots pattern + + + + leader-pattern-width="use-font-metrics" + + + + leader-length="20mm" leader-pattern-width="5mm" + + + + leader-pattern-width="1pt" + + + + leader-pattern-width="5%" + + + + + + + +
diff --git a/test/layoutengine/testcases/leader-rule.xml b/test/layoutengine/testcases/leader-rule.xml new file mode 100644 index 000000000..ee5b77450 --- /dev/null +++ b/test/layoutengine/testcases/leader-rule.xml @@ -0,0 +1,127 @@ + + + + + +

+ This test checks leaders with leader-patter="rule" +

+
+ + + + + + + + + + + + No rule-style given + + + + rule-style="none" + + + + rule-style="dotted" + + + + rule-style="dashed" + + + + rule-style="solid" + + + + rule-style="double" + + + + rule-style="groove" + + + + rule-style="ridge" + + + + rule-style="dotted" rule-thickness="3pt" + + + + rule-style="dashed" rule-thickness="3pt" + + + + rule-style="solid" rule-thickness="3pt" + + + + rule-style="double" rule-thickness="3pt" + + + + rule-style="groove" rule-thickness="3pt" + + + + rule-style="ridge" rule-thickness="3pt" + + + + No rule-style given alignment-baseline="middle" + + + + rule-style="none" alignment-baseline="middle" + + + + rule-style="dotted" alignment-baseline="middle" + + + + rule-style="dashed" alignment-baseline="middle" + + + + rule-style="solid" alignment-baseline="middle" + + + + rule-style="double" alignment-baseline="middle" + + + + rule-style="groove" alignment-baseline="middle" + + + + rule-style="ridge" alignment-baseline="middle" + + + + + + + +
diff --git a/test/layoutengine/testcases/leader-space.xml b/test/layoutengine/testcases/leader-space.xml new file mode 100644 index 000000000..2f8e3fa81 --- /dev/null +++ b/test/layoutengine/testcases/leader-space.xml @@ -0,0 +1,59 @@ + + + + + +

+ This test checks leaders with leader-pattern="space" +

+
+ + + + + + + + + + + + Default space pattern + + + + leader-pattern-width="use-font-metrics" + + + + leader-length="20mm" leader-pattern-width="5mm" + + + + leader-pattern-width="1pt" + + + + leader-pattern-width="5%" + + + + + + + +
-- 2.39.5