From be633e90994b726f70f8c7f1604f804a5ddd5e68 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Tue, 26 Jul 2005 13:34:17 +0000 Subject: [PATCH] Renamed page-number3 to page-number-citation1. Systematic ID-testing for most FOs. (there are still a few gaps) Checks for border/padding/background on external-graphic and instream-foreign-object. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225305 13f79535-47bb-0310-9956-ffa450edef68 --- test/layoutengine/disabled-testcases.txt | 2 + .../testcases/external-graphic3.xml | 53 ++++++++ test/layoutengine/testcases/id2.xml | 79 ++++++++++++ test/layoutengine/testcases/ifo1.xml | 56 +++++++++ test/layoutengine/testcases/ifo3.xml | 59 +++++++++ ...-number3.xml => page-number-citation1.xml} | 0 .../testcases/page-number-citation2.xml | 113 ++++++++++++++++++ .../testcases/page-number-citation3.xml | 89 ++++++++++++++ 8 files changed, 451 insertions(+) create mode 100644 test/layoutengine/testcases/external-graphic3.xml create mode 100644 test/layoutengine/testcases/id2.xml create mode 100644 test/layoutengine/testcases/ifo1.xml create mode 100644 test/layoutengine/testcases/ifo3.xml rename test/layoutengine/testcases/{page-number3.xml => page-number-citation1.xml} (100%) create mode 100644 test/layoutengine/testcases/page-number-citation2.xml create mode 100644 test/layoutengine/testcases/page-number-citation3.xml diff --git a/test/layoutengine/disabled-testcases.txt b/test/layoutengine/disabled-testcases.txt index 989b5dcc9..73069a6d6 100644 --- a/test/layoutengine/disabled-testcases.txt +++ b/test/layoutengine/disabled-testcases.txt @@ -8,6 +8,8 @@ keep-with-previous5.xml list4a.xml multi-column3.xml normal-breaking4.xml +page-number-citation2.xml +page-number-citation3.xml table-border-collapse1.xml table-border-collapse2.xml table-column4.xml diff --git a/test/layoutengine/testcases/external-graphic3.xml b/test/layoutengine/testcases/external-graphic3.xml new file mode 100644 index 000000000..ba7b80bfe --- /dev/null +++ b/test/layoutengine/testcases/external-graphic3.xml @@ -0,0 +1,53 @@ + + + + + +

+ This test checks borders and the like on external-graphics. +

+
+ + + + + + + + + + + + + EOF + + + + + + + + + + + + + + + + +
diff --git a/test/layoutengine/testcases/id2.xml b/test/layoutengine/testcases/id2.xml new file mode 100644 index 000000000..323ffc7b9 --- /dev/null +++ b/test/layoutengine/testcases/id2.xml @@ -0,0 +1,79 @@ + + + + + +

+ This test checks IDs on inline-level FOs. +

+

+ TODO: + Test inline-container, bidi-override once implemented. +

+

+ Notes: + The following FOs cannot be tested this way: + wrapper, initial-property-set. +

+
+ + + + + + + + + + textinlinetext + textwrappertext + texttext + texttext + texttext + texttext + texttext + texttext + textlinktext + text + + + + + + + text + texttext + + + + + + + + + + + + + + + + + + +
diff --git a/test/layoutengine/testcases/ifo1.xml b/test/layoutengine/testcases/ifo1.xml new file mode 100644 index 000000000..16e5c72b3 --- /dev/null +++ b/test/layoutengine/testcases/ifo1.xml @@ -0,0 +1,56 @@ + + + + + +

+ This test checks the basics for instream-foreign-object. +

+
+ + + + + + + + + + start + + + + + + + + + end + + + + + + + + + + + + + +
diff --git a/test/layoutengine/testcases/ifo3.xml b/test/layoutengine/testcases/ifo3.xml new file mode 100644 index 000000000..fd7fb25ce --- /dev/null +++ b/test/layoutengine/testcases/ifo3.xml @@ -0,0 +1,59 @@ + + + + + +

+ This test checks the borders and the like for instream-foreign-object. +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/test/layoutengine/testcases/page-number3.xml b/test/layoutengine/testcases/page-number-citation1.xml similarity index 100% rename from test/layoutengine/testcases/page-number3.xml rename to test/layoutengine/testcases/page-number-citation1.xml diff --git a/test/layoutengine/testcases/page-number-citation2.xml b/test/layoutengine/testcases/page-number-citation2.xml new file mode 100644 index 000000000..1c8981ed2 --- /dev/null +++ b/test/layoutengine/testcases/page-number-citation2.xml @@ -0,0 +1,113 @@ + + + + + +

+ This test checks page-number-citations with all combinations of + definition-level and block-level IDs. +

+

+ TODO: + Test table-and-caption and table-caption once implemented. +

+
+ + + + + + + + + + block1 + + + + • + + + here is text in the list item body + + + + + + + + + header + + + + + + + footer + + + + + + + body-content + + + + + + block-container-content + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/test/layoutengine/testcases/page-number-citation3.xml b/test/layoutengine/testcases/page-number-citation3.xml new file mode 100644 index 000000000..09082b537 --- /dev/null +++ b/test/layoutengine/testcases/page-number-citation3.xml @@ -0,0 +1,89 @@ + + + + + +

+ This test checks page-number-citations with all combinations of + inline-level IDs. +

+

+ TODO: + Test inline-container, bidi-override once implemented. +

+
+ + + + + + + + + + textinlinetext + textwrappertext + texttext + texttext + texttext + texttext + texttext + texttext + textlinktext + text + + + + + + + text + texttext + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
-- 2.39.5