From d7060e85f1dca67ad234fee1ed89fc7deb6e93dd Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Mon, 7 Feb 2005 13:37:04 +0000 Subject: [PATCH] More table test cases. table-cell3a currently fails because of a table-row handling problem. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198388 13f79535-47bb-0310-9956-ffa450edef68 --- test/layoutengine/disabled-testcases.txt | 3 +- test/layoutengine/testcases/table-cell2.xml | 87 ++++++++++++++ test/layoutengine/testcases/table-cell3.xml | 99 ++++++++++++++++ test/layoutengine/testcases/table-cell3a.xml | 87 ++++++++++++++ test/layoutengine/testcases/table2.xml | 117 +++++++++++++++++++ 5 files changed, 391 insertions(+), 2 deletions(-) create mode 100644 test/layoutengine/testcases/table-cell2.xml create mode 100644 test/layoutengine/testcases/table-cell3.xml create mode 100644 test/layoutengine/testcases/table-cell3a.xml create mode 100644 test/layoutengine/testcases/table2.xml diff --git a/test/layoutengine/disabled-testcases.txt b/test/layoutengine/disabled-testcases.txt index 550cd57f6..63b0a96d0 100644 --- a/test/layoutengine/disabled-testcases.txt +++ b/test/layoutengine/disabled-testcases.txt @@ -1,5 +1,4 @@ breaks1.xml breaks2.xml markers5a.xml -table-row1.xml -table-cell1.xml \ No newline at end of file +table-cell3a.xml \ No newline at end of file diff --git a/test/layoutengine/testcases/table-cell2.xml b/test/layoutengine/testcases/table-cell2.xml new file mode 100644 index 000000000..e0adfa4d8 --- /dev/null +++ b/test/layoutengine/testcases/table-cell2.xml @@ -0,0 +1,87 @@ + + + + + +

+ This test checks tables, especially table-cells. This test: page break. +

+
+ + + + + + + + + + + + + + + + cell1 + + + cell2 + + + + + cell3 + + + + cell4a + cell4b + cell4c + cell4d + cell4e + cell4f + cell4g + + + + + + cell5 + + + cell6 + + + + + + + + + + + + + + + + + + + + +
diff --git a/test/layoutengine/testcases/table-cell3.xml b/test/layoutengine/testcases/table-cell3.xml new file mode 100644 index 000000000..fc3f3c5f6 --- /dev/null +++ b/test/layoutengine/testcases/table-cell3.xml @@ -0,0 +1,99 @@ + + + + + +

+ This test checks tables, especially table-cells. This test: display-align. +

+
+ + + + + + + + + + + + + + + + cell1 + + + cell2 + + + + + cell3 + + + cell4 + + + + + cell5 + + + cell6 + + + + + cell7 + + + cell8 + + + + + cell9 + + + cell10 + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/test/layoutengine/testcases/table-cell3a.xml b/test/layoutengine/testcases/table-cell3a.xml new file mode 100644 index 000000000..27be520e4 --- /dev/null +++ b/test/layoutengine/testcases/table-cell3a.xml @@ -0,0 +1,87 @@ + + + + + +

+ This test checks tables, especially table-cells. This test: display-align with page break. +

+
+ + + + + + + + + + + + + + + + cell1 + + + cell2 + + + + + cell3 + + + + cell4a + cell4b + cell4c + cell4d + cell4e + cell4f + cell4g + + + + + + cell5 + + + cell6 + + + + + + + + + + + + + + + + + + + + +
diff --git a/test/layoutengine/testcases/table2.xml b/test/layoutengine/testcases/table2.xml new file mode 100644 index 000000000..12d68ffc7 --- /dev/null +++ b/test/layoutengine/testcases/table2.xml @@ -0,0 +1,117 @@ + + + + + +

+ This test checks basic tables. Tests spaces table spaces, borders and padding. +

+
+ + + + + + + + + + before table + + + + + + + cell1 + + + cell2 + + + + + cell3 + + + cell4 + + + + + after table + + reference block + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
-- 2.39.5