diff options
author | Andreas L. Delmelle <adelmelle@apache.org> | 2005-09-18 00:00:18 +0000 |
---|---|---|
committer | Andreas L. Delmelle <adelmelle@apache.org> | 2005-09-18 00:00:18 +0000 |
commit | fff779f84e64ba47d7a90f047bec95bd6231ede0 (patch) | |
tree | af8696d82dae8b0b5b7d25444fd599efaef930df /test | |
parent | 3aedc5332612d5b61cd6ee033bebda8de155ac8e (diff) | |
download | xmlgraphics-fop-fff779f84e64ba47d7a90f047bec95bd6231ede0.tar.gz xmlgraphics-fop-fff779f84e64ba47d7a90f047bec95bd6231ede0.zip |
Update of FOTree testcases for column-number property
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289866 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/fotree/disabled-testcases.txt | 2 | ||||
-rw-r--r-- | test/fotree/testcases/column-number_body.fo | 145 | ||||
-rw-r--r-- | test/fotree/testcases/column-number_rows.fo | 169 |
3 files changed, 0 insertions, 316 deletions
diff --git a/test/fotree/disabled-testcases.txt b/test/fotree/disabled-testcases.txt index af7454e5b..59cd3c9c0 100644 --- a/test/fotree/disabled-testcases.txt +++ b/test/fotree/disabled-testcases.txt @@ -1,3 +1 @@ demo-test-failure.fo -column-number_body.fo -column-number_rows.fo diff --git a/test/fotree/testcases/column-number_body.fo b/test/fotree/testcases/column-number_body.fo deleted file mode 100644 index 48dd9c3f0..000000000 --- a/test/fotree/testcases/column-number_body.fo +++ /dev/null @@ -1,145 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="yes"?> -<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" - xmlns:test="http://xmlgraphics.apache.org/fop/test"> - <fo:layout-master-set> - <fo:simple-page-master master-name="normal" page-width="5in" page-height="2in" - margin="20pt"> - <fo:region-body background-color="yellow"/> - </fo:simple-page-master> - </fo:layout-master-set> - <fo:page-sequence id="page-sequence1" master-reference="normal" white-space-collapse="true"> - <fo:flow flow-name="xsl-region-body"> - <fo:block>The following table has explicit columns.</fo:block> - <fo:table table-layout="fixed" border-collapse="separate"> - <fo:table-column column-width="proportional-column-width(1)"> - <test:assert property="column-number" expected="1" /> - </fo:table-column> - <fo:table-column column-width="proportional-column-width(2)"> - <test:assert property="column-number" expected="2" /> - </fo:table-column> - <fo:table-column column-width="proportional-column-width(1)"> - <test:assert property="column-number" expected="3" /> - </fo:table-column> - <fo:table-header> - <fo:table-cell number-columns-spanned="3" starts-row="true" ends-row="true"> - <test:assert property="column-number" expected="1" /> - <fo:block>header cell</fo:block> - </fo:table-cell> - </fo:table-header> - <fo:table-footer> - <fo:table-cell starts-row="true"> - <test:assert property="column-number" expected="1" /> - <fo:block>footer cell 1</fo:block> - </fo:table-cell> - <fo:table-cell> - <test:assert property="column-number" expected="2" /> - <fo:block>footer cell 2</fo:block> - </fo:table-cell> - <fo:table-cell ends-row="true"> - <test:assert property="column-number" expected="3" /> - <fo:block>footer cell 3</fo:block> - </fo:table-cell> - </fo:table-footer> - <fo:table-body> - <fo:table-cell number-columns-spanned="2" starts-row="true"> - <test:assert property="column-number" expected="1" /> - <fo:block>body-content</fo:block> - </fo:table-cell> - <fo:table-cell ends-row="true"> - <test:assert property="column-number" expected="3" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell number-rows-spanned="2" starts-row="true"> - <test:assert property="column-number" expected="1" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell> - <test:assert property="column-number" expected="2" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell ends-row="true"> - <test:assert property="column-number" expected="3" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell number-rows-spanned="2" starts-row="true"> - <test:assert property="column-number" expected="2" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell ends-row="true"> - <test:assert property="column-number" expected="3" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell starts-row="true"> - <test:assert property="column-number" expected="1" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell ends-row="true"> - <test:assert property="column-number" expected="3" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - </fo:table-body> - </fo:table> - <fo:block>The following table has implicit columns.</fo:block> - <fo:table table-layout="fixed" border-collapse="separate"> - <fo:table-header> - <fo:table-cell number-columns-spanned="3" starts-row="true" ends-row="true"> - <test:assert property="column-number" expected="1" /> - <fo:block>header cell</fo:block> - </fo:table-cell> - </fo:table-header> - <fo:table-footer> - <fo:table-cell starts-row="true"> - <test:assert property="column-number" expected="1" /> - <fo:block>footer cell 1</fo:block> - </fo:table-cell> - <fo:table-cell> - <test:assert property="column-number" expected="2" /> - <fo:block>footer cell 2</fo:block> - </fo:table-cell> - <fo:table-cell ends-row="true"> - <test:assert property="column-number" expected="3" /> - <fo:block>footer cell 3</fo:block> - </fo:table-cell> - </fo:table-footer> - <fo:table-body> - <fo:table-cell number-columns-spanned="2" starts-row="true"> - <test:assert property="column-number" expected="1" /> - <fo:block>body-content</fo:block> - </fo:table-cell> - <fo:table-cell ends-row="true"> - <test:assert property="column-number" expected="3" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell number-rows-spanned="2" starts-row="true"> - <test:assert property="column-number" expected="1" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell> - <test:assert property="column-number" expected="2" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell ends-row="true"> - <test:assert property="column-number" expected="3" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell number-rows-spanned="2" starts-row="true"> - <test:assert property="column-number" expected="2" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell ends-row="true"> - <test:assert property="column-number" expected="3" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell starts-row="true"> - <test:assert property="column-number" expected="1" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell ends-row="true"> - <test:assert property="column-number" expected="3" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - </fo:table-body> - </fo:table> - </fo:flow> - </fo:page-sequence> -</fo:root> diff --git a/test/fotree/testcases/column-number_rows.fo b/test/fotree/testcases/column-number_rows.fo deleted file mode 100644 index 82e8aad90..000000000 --- a/test/fotree/testcases/column-number_rows.fo +++ /dev/null @@ -1,169 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="yes"?> -<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" - xmlns:test="http://xmlgraphics.apache.org/fop/test"> - <fo:layout-master-set> - <fo:simple-page-master master-name="normal" page-width="5in" page-height="2in" - margin="20pt"> - <fo:region-body background-color="yellow"/> - </fo:simple-page-master> - </fo:layout-master-set> - <fo:page-sequence id="page-sequence1" master-reference="normal" white-space-collapse="true"> - <fo:flow flow-name="xsl-region-body"> - <fo:block>The following table has explicit columns.</fo:block> - <fo:table table-layout="fixed" border-collapse="separate"> - <fo:table-column column-width="proportional-column-width(1)"> - <test:assert property="column-number" expected="1" /> - </fo:table-column> - <fo:table-column column-width="proportional-column-width(2)"> - <test:assert property="column-number" expected="2" /> - </fo:table-column> - <fo:table-column column-width="proportional-column-width(1)"> - <test:assert property="column-number" expected="3" /> - </fo:table-column> - <fo:table-header> - <fo:table-row> - <fo:table-cell number-columns-spanned="3"> - <test:assert property="column-number" expected="1" /> - <fo:block>header cell</fo:block> - </fo:table-cell> - </fo:table-row> - </fo:table-header> - <fo:table-footer> - <fo:table-row> - <fo:table-cell> - <test:assert property="column-number" expected="1" /> - <fo:block>footer cell 1</fo:block> - </fo:table-cell> - <fo:table-cell> - <test:assert property="column-number" expected="2" /> - <fo:block>footer cell 2</fo:block> - </fo:table-cell> - <fo:table-cell> - <test:assert property="column-number" expected="3" /> - <fo:block>footer cell 3</fo:block> - </fo:table-cell> - </fo:table-row> - </fo:table-footer> - <fo:table-body> - <fo:table-row> - <fo:table-cell number-columns-spanned="2"> - <test:assert property="column-number" expected="1" /> - <fo:block>body-content</fo:block> - </fo:table-cell> - <fo:table-cell> - <test:assert property="column-number" expected="3" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - </fo:table-row> - <fo:table-row> - <fo:table-cell number-rows-spanned="2"> - <test:assert property="column-number" expected="1" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell> - <test:assert property="column-number" expected="2" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell> - <test:assert property="column-number" expected="3" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - </fo:table-row> - <fo:table-row> - <fo:table-cell number-rows-spanned="2"> - <test:assert property="column-number" expected="2" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell> - <test:assert property="column-number" expected="3" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - </fo:table-row> - <fo:table-row> - <fo:table-cell> - <test:assert property="column-number" expected="1" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell> - <test:assert property="column-number" expected="3" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - </fo:table-row> - </fo:table-body> - </fo:table> - <fo:block>The following table has implicit columns.</fo:block> - <fo:table table-layout="fixed" border-collapse="separate"> - <fo:table-header> - <fo:table-row> - <fo:table-cell number-columns-spanned="3"> - <test:assert property="column-number" expected="1" /> - <fo:block>header cell</fo:block> - </fo:table-cell> - </fo:table-row> - </fo:table-header> - <fo:table-footer> - <fo:table-row> - <fo:table-cell> - <test:assert property="column-number" expected="1" /> - <fo:block>footer cell 1</fo:block> - </fo:table-cell> - <fo:table-cell> - <test:assert property="column-number" expected="2" /> - <fo:block>footer cell 2</fo:block> - </fo:table-cell> - <fo:table-cell> - <test:assert property="column-number" expected="3" /> - <fo:block>footer cell 3</fo:block> - </fo:table-cell> - </fo:table-row> - </fo:table-footer> - <fo:table-body> - <fo:table-row> - <fo:table-cell number-columns-spanned="2"> - <test:assert property="column-number" expected="1" /> - <fo:block>body-content</fo:block> - </fo:table-cell> - <fo:table-cell> - <test:assert property="column-number" expected="3" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - </fo:table-row> - <fo:table-row> - <fo:table-cell number-rows-spanned="2"> - <test:assert property="column-number" expected="1" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell> - <test:assert property="column-number" expected="2" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell> - <test:assert property="column-number" expected="3" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - </fo:table-row> - <fo:table-row> - <fo:table-cell number-rows-spanned="2"> - <test:assert property="column-number" expected="2" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell> - <test:assert property="column-number" expected="3" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - </fo:table-row> - <fo:table-row> - <fo:table-cell> - <test:assert property="column-number" expected="1" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - <fo:table-cell> - <test:assert property="column-number" expected="3" /> - <fo:block>cell-content</fo:block> - </fo:table-cell> - </fo:table-row> - </fo:table-body> - </fo:table> - </fo:flow> - </fo:page-sequence> -</fo:root> |