From fadc50903cde403223994744aa7fffa838df66c3 Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Wed, 8 May 2002 02:21:58 +0000 Subject: [PATCH] New test cases --- testdocs/tests/mathml.001.xml | 19 +++ testdocs/tests/refentry.004.xml | 68 +++++++++++ testdocs/tests/stamp.001.xml | 26 ++++ testdocs/tests/stamp.002.xml | 31 +++++ testdocs/tests/stamp.003.xml | 30 +++++ testdocs/tests/stamp.004.xml | 30 +++++ testdocs/tests/stamp.005.xml | 28 +++++ testdocs/tests/stamp.006.xml | 29 +++++ testdocs/tests/stamp.007.xml | 29 +++++ testdocs/tests/stamp.008.xml | 27 +++++ testdocs/tests/stamp.009.xml | 28 +++++ testdocs/tests/stamp.010.xml | 28 +++++ testdocs/tests/stamp.011.xml | 31 +++++ testdocs/tests/stamp.012.xml | 41 +++++++ testdocs/tests/table.005.xml | 2 +- testdocs/tests/table.006.xml | 207 ++++++++++++++++++++++++++++++++ 16 files changed, 653 insertions(+), 1 deletion(-) create mode 100644 testdocs/tests/mathml.001.xml create mode 100644 testdocs/tests/refentry.004.xml create mode 100644 testdocs/tests/stamp.001.xml create mode 100644 testdocs/tests/stamp.002.xml create mode 100644 testdocs/tests/stamp.003.xml create mode 100644 testdocs/tests/stamp.004.xml create mode 100644 testdocs/tests/stamp.005.xml create mode 100644 testdocs/tests/stamp.006.xml create mode 100644 testdocs/tests/stamp.007.xml create mode 100644 testdocs/tests/stamp.008.xml create mode 100644 testdocs/tests/stamp.009.xml create mode 100644 testdocs/tests/stamp.010.xml create mode 100644 testdocs/tests/stamp.011.xml create mode 100644 testdocs/tests/stamp.012.xml create mode 100644 testdocs/tests/table.006.xml diff --git a/testdocs/tests/mathml.001.xml b/testdocs/tests/mathml.001.xml new file mode 100644 index 000000000..f7169af55 --- /dev/null +++ b/testdocs/tests/mathml.001.xml @@ -0,0 +1,19 @@ + + + +
+ +Unit Test: mathml.001.xml +$Id$ + + +The following equation is in MathML: + + + + + + + +
diff --git a/testdocs/tests/refentry.004.xml b/testdocs/tests/refentry.004.xml new file mode 100644 index 000000000..d175f16de --- /dev/null +++ b/testdocs/tests/refentry.004.xml @@ -0,0 +1,68 @@ + + +
+ +Unit Test: refentry.004 +$Id$ +NormanWalsh +
ndw@nwalsh.com
+
+
+ +Test an xref to refnamediv: +. + + + +Fred +3 + + +Less Minimal +Even Less Minimal +Test of a minimal RefEntry + +Synopsis + +command +-a-alpha + + + +command +-b-beta + + + +command +-c +-charlie + + + +command +-d +-delta + + + +command +--help + + + + +Description +This is a less minimal RefEntry. + +
Some Program +Testing +Some +Text +
+ +
+
+ +
diff --git a/testdocs/tests/stamp.001.xml b/testdocs/tests/stamp.001.xml new file mode 100644 index 000000000..bcd4fb580 --- /dev/null +++ b/testdocs/tests/stamp.001.xml @@ -0,0 +1,26 @@ + + +
+ +Unit Test: stamp.001 +$Id$ +NormanWalsh +
ndw@nwalsh.com
+
+
+ +The stamp image has a natural size of 200x128 pixels. + +The stamp image. + + + + + + + The DocBook Stamp + + +
diff --git a/testdocs/tests/stamp.002.xml b/testdocs/tests/stamp.002.xml new file mode 100644 index 000000000..1f7e7e640 --- /dev/null +++ b/testdocs/tests/stamp.002.xml @@ -0,0 +1,31 @@ + + +
+ +Unit Test: stamp.002 +$Id$ +NormanWalsh +
ndw@nwalsh.com
+
+
+ +The stamp image has a natural size of 200x128 pixels. + +The stamp image: width=400; depth=512; contentdepth=200; align=center; valign=bottom + + + + + + + The DocBook Stamp + + +
diff --git a/testdocs/tests/stamp.003.xml b/testdocs/tests/stamp.003.xml new file mode 100644 index 000000000..ce2688231 --- /dev/null +++ b/testdocs/tests/stamp.003.xml @@ -0,0 +1,30 @@ + + +
+ +Unit Test: stamp.003 +$Id$ +NormanWalsh +
ndw@nwalsh.com
+
+
+ +The stamp image has a natural size of 200x128 pixels. + +The stamp image: width=512; depth=512; contentwidth=256; contentdepth=384 + + + + + + + The DocBook Stamp + + +
diff --git a/testdocs/tests/stamp.004.xml b/testdocs/tests/stamp.004.xml new file mode 100644 index 000000000..5908d81dc --- /dev/null +++ b/testdocs/tests/stamp.004.xml @@ -0,0 +1,30 @@ + + +
+ +Unit Test: stamp.004 +$Id$ +NormanWalsh +
ndw@nwalsh.com
+
+
+ +The stamp image has a natural size of 200x128 pixels. + +The stamp image: width=512; depth=512; scale=125; align=center + + + + + + + The DocBook Stamp + + +
diff --git a/testdocs/tests/stamp.005.xml b/testdocs/tests/stamp.005.xml new file mode 100644 index 000000000..39ec55af9 --- /dev/null +++ b/testdocs/tests/stamp.005.xml @@ -0,0 +1,28 @@ + + +
+ +Unit Test: stamp.005 +$Id$ +NormanWalsh +
ndw@nwalsh.com
+
+
+ +The stamp image has a natural size of 200x128 pixels. + +The stamp image: width=512; depth=512 (scalefit=1 by default in this case) + + + + + + + The DocBook Stamp + + +
diff --git a/testdocs/tests/stamp.006.xml b/testdocs/tests/stamp.006.xml new file mode 100644 index 000000000..d5e20a1ce --- /dev/null +++ b/testdocs/tests/stamp.006.xml @@ -0,0 +1,29 @@ + + +
+ +Unit Test: stamp.006 +$Id$ +NormanWalsh +
ndw@nwalsh.com
+
+
+ +The stamp image has a natural size of 200x128 pixels. + +The stamp image: width=512; depth=512; scalefit=0 + + + + + + + The DocBook Stamp + + +
diff --git a/testdocs/tests/stamp.007.xml b/testdocs/tests/stamp.007.xml new file mode 100644 index 000000000..519843a4c --- /dev/null +++ b/testdocs/tests/stamp.007.xml @@ -0,0 +1,29 @@ + + +
+ +Unit Test: stamp.007 +$Id$ +NormanWalsh +
ndw@nwalsh.com
+
+
+ +The stamp image has a natural size of 200x128 pixels. + +The stamp image: width=512; depth=512; scale=75 + + + + + + + The DocBook Stamp + + +
diff --git a/testdocs/tests/stamp.008.xml b/testdocs/tests/stamp.008.xml new file mode 100644 index 000000000..1b3bdec9e --- /dev/null +++ b/testdocs/tests/stamp.008.xml @@ -0,0 +1,27 @@ + + +
+ +Unit Test: stamp.008 +$Id$ +NormanWalsh +
ndw@nwalsh.com
+
+
+ +The stamp image has a natural size of 200x128 pixels. + +The stamp image: contentwidth=50% + + + + + + + The DocBook Stamp + + +
diff --git a/testdocs/tests/stamp.009.xml b/testdocs/tests/stamp.009.xml new file mode 100644 index 000000000..836df5bd8 --- /dev/null +++ b/testdocs/tests/stamp.009.xml @@ -0,0 +1,28 @@ + + +
+ +Unit Test: stamp.009 +$Id$ +NormanWalsh +
ndw@nwalsh.com
+
+
+ +The stamp image has a natural size of 200x128 pixels. + +The stamp image: contentwidth=50%; scale=125 + + + + + + + The DocBook Stamp + + +
diff --git a/testdocs/tests/stamp.010.xml b/testdocs/tests/stamp.010.xml new file mode 100644 index 000000000..470b860a0 --- /dev/null +++ b/testdocs/tests/stamp.010.xml @@ -0,0 +1,28 @@ + + +
+ +Unit Test: stamp.010 +$Id$ +NormanWalsh +
ndw@nwalsh.com
+
+
+ +The stamp image has a natural size of 200x128 pixels. + +The stamp image: contentwidth=50%; contentdepth=50% + + + + + + + The DocBook Stamp + + +
diff --git a/testdocs/tests/stamp.011.xml b/testdocs/tests/stamp.011.xml new file mode 100644 index 000000000..8b1949585 --- /dev/null +++ b/testdocs/tests/stamp.011.xml @@ -0,0 +1,31 @@ + + +
+ +Unit Test: stamp.011 +$Id$ +NormanWalsh +
ndw@nwalsh.com
+
+
+ +The stamp image has a natural size of 200x128 pixels. + +The stamp image: width=400; depth=512; scalefit=1; align=center; valign=bottom + + + + + + + The DocBook Stamp + + +
diff --git a/testdocs/tests/stamp.012.xml b/testdocs/tests/stamp.012.xml new file mode 100644 index 000000000..22e9c8083 --- /dev/null +++ b/testdocs/tests/stamp.012.xml @@ -0,0 +1,41 @@ + + +
+ +Unit Test: stamp.012 +$Id$ +NormanWalsh +
ndw@nwalsh.com
+
+
+ +The stamp image has a natural size of 200x128 pixels. + +The stamp image: width=75%; scalefit=1 + + + + + + + The DocBook Stamp + + +The stamp image: depth=25%; scalefit=1 + + + + + + + The DocBook Stamp + + +
diff --git a/testdocs/tests/table.005.xml b/testdocs/tests/table.005.xml index 31de458f1..1b14c3232 100644 --- a/testdocs/tests/table.005.xml +++ b/testdocs/tests/table.005.xml @@ -3,7 +3,7 @@ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
-Unit Test: table.004 +Unit Test: table.005 $Id$ NormanWalsh
ndw@nwalsh.com
diff --git a/testdocs/tests/table.006.xml b/testdocs/tests/table.006.xml new file mode 100644 index 000000000..764045f8f --- /dev/null +++ b/testdocs/tests/table.006.xml @@ -0,0 +1,207 @@ + + +
+ +Unit Test: table.006 +$Id$ +NormanWalsh +
ndw@nwalsh.com
+
+
+ +All frames: + + + + + +a foo +a bar +a baz + + +b foo +b bar +b baz + + +c foo +c foo +c baz + + + + + +No frames: + + + + + +a foo +a bar +a baz + + +b foo +b bar +b baz + + +c foo +c foo +c baz + + + + + +Outer edge: + + + + + +a foo +a bar +a baz + + +b foo +b bar +b baz + + +c foo +c foo +c baz + + + + + +Rows: + + + + + +a foo +a bar +a baz + + +b foo +b bar +b baz + + +c foo +c foo +c baz + + + + + +Columns: + + + + + +a foo +a bar +a baz + + +b foo +b bar +b baz + + +c foo +c foo +c baz + + + + + +Tic Tac Toe: + + + + + + + +a foo +a bar +a baz + + +b foo +b bar +b baz + + +c foo +c foo +c baz + + + + + +Box in the middle: + + + + + +a foo +a bar +a baz + + +b foo +b bar +b baz + + +c foo +c foo +c baz + + + + + +Jigsaw: + + + + + +a foo +a bar +a baz + + +b foo +b bar +b baz + + +c foo +c foo +c baz + + + + + +
-- 2.50.1