From e38cbab7fa24ba63e2a5eaeeb14ce7cb5a98e20f Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Wed, 1 Jan 2003 21:18:59 +0000 Subject: [PATCH] New and updated tests --- testdocs/tests/book.004.xml | 2 +- testdocs/tests/book.005.xml | 48 +++++++++++++++++++++ testdocs/tests/figure.001.xml | 12 +++--- testdocs/tests/figure.003.xml | 41 ++++++++++++++++++ testdocs/tests/funcsynopsis.001.xml | 60 +++++++++++++++++++++++++++ testdocs/tests/lineannotation.001.xml | 21 ++++++++++ testdocs/tests/mediaobject.001.xml | 10 ++--- testdocs/tests/mediaobjectco.001.xml | 33 +++++++++++++++ testdocs/tests/subtitle.001.xml | 32 ++++++++++++++ 9 files changed, 247 insertions(+), 12 deletions(-) create mode 100644 testdocs/tests/book.005.xml create mode 100644 testdocs/tests/figure.003.xml create mode 100644 testdocs/tests/lineannotation.001.xml create mode 100644 testdocs/tests/mediaobjectco.001.xml create mode 100644 testdocs/tests/subtitle.001.xml diff --git a/testdocs/tests/book.004.xml b/testdocs/tests/book.004.xml index d972f3045..025b6a418 100644 --- a/testdocs/tests/book.004.xml +++ b/testdocs/tests/book.004.xml @@ -2,7 +2,7 @@ -Unit Test: book.003 +Unit Test: book.004 diff --git a/testdocs/tests/book.005.xml b/testdocs/tests/book.005.xml new file mode 100644 index 000000000..4611ece8f --- /dev/null +++ b/testdocs/tests/book.005.xml @@ -0,0 +1,48 @@ + + + + +Unit Test: book.005 + + +Dedication +Some Dedication + + +Preface +Some Preface + + +First Part + +Some Part Intro + + +First Chapter +Some Chapter + + +Second Chapter +Some Chapter + + + +Second Part + +Some Part Intro + + +Third Chapter +Some Chapter + + +Fourth Chapter +Some Chapter + + + +Appendix +Some Appendix + + diff --git a/testdocs/tests/figure.001.xml b/testdocs/tests/figure.001.xml index 066070582..3b1586845 100644 --- a/testdocs/tests/figure.001.xml +++ b/testdocs/tests/figure.001.xml @@ -16,15 +16,15 @@ @@ -37,8 +37,8 @@ The DocBook: TDG Duck diff --git a/testdocs/tests/figure.003.xml b/testdocs/tests/figure.003.xml new file mode 100644 index 000000000..5ae5e1615 --- /dev/null +++ b/testdocs/tests/figure.003.xml @@ -0,0 +1,41 @@ + + +]> +
+ +Unit Test: figure.003 +$Id$ +NormanWalsh +
ndw@nwalsh.com
+
+
+ +Cross reference to the figure: . + +
+ The Wood Duck as seen on the Cover of DocBook: The Definitive Guide + The Duck + + + + + + + + The DocBook: TDG Duck + +
+ +
diff --git a/testdocs/tests/funcsynopsis.001.xml b/testdocs/tests/funcsynopsis.001.xml index b399ed30d..0933274b5 100644 --- a/testdocs/tests/funcsynopsis.001.xml +++ b/testdocs/tests/funcsynopsis.001.xml @@ -9,6 +9,8 @@ +
"Default" rendering + A funcsynopsis. @@ -71,6 +73,9 @@ +
+
ANSI Rendering + Another. @@ -121,4 +126,59 @@ +
+
K&R Rendering + +Another. + + + +#include <varargs.h> + + + float rand + + + + + int max + + + + + int idiv + int n + int m + + + +Another. + + + + void qsort + void *dataptr[] + int left + int right + int (*comp) + void *, void * + + + +Another. + + + + int foo_frob_something + foo_sometype1 foo_frob_parm1 + foo_sometype1 foo_frob_parm2 + foo_sometype1 foo_frob_parm3 + int (* parm4 ) + int a, int b, int c + foo_sometype1 foo_frob_parm5 + + + +
+ diff --git a/testdocs/tests/lineannotation.001.xml b/testdocs/tests/lineannotation.001.xml new file mode 100644 index 000000000..fe896d0f1 --- /dev/null +++ b/testdocs/tests/lineannotation.001.xml @@ -0,0 +1,21 @@ + + +
+ +Unit Test: lineannotation.001.xml +$Id$ +NormanWalsh +
ndw@nwalsh.com
+
+
+ +This article tests lineannotation. + +This is a +screen annotation 1 +with several +lines that have no annotation 2 +particular meaning + +
diff --git a/testdocs/tests/mediaobject.001.xml b/testdocs/tests/mediaobject.001.xml index de6bbc31e..b2ad8bf73 100644 --- a/testdocs/tests/mediaobject.001.xml +++ b/testdocs/tests/mediaobject.001.xml @@ -14,16 +14,16 @@ The DocBook: TDG Duck diff --git a/testdocs/tests/mediaobjectco.001.xml b/testdocs/tests/mediaobjectco.001.xml new file mode 100644 index 000000000..4918f7dad --- /dev/null +++ b/testdocs/tests/mediaobjectco.001.xml @@ -0,0 +1,33 @@ + + +
+ +Unit Test: mediaobjectco.001 +$Id$ +NormanWalsh +
ndw@nwalsh.com
+
+
+ + + + + + + + + + + + + + + alt text + + +
diff --git a/testdocs/tests/subtitle.001.xml b/testdocs/tests/subtitle.001.xml new file mode 100644 index 000000000..9c5f1cfb8 --- /dev/null +++ b/testdocs/tests/subtitle.001.xml @@ -0,0 +1,32 @@ + + + +Unit Test: subtitle.001 +Book Subtitle + +Part TitlePart Subtitle + +Chapter TitleChapter Subtitle + Sect1 TitleSect1 Subtitle + Sect2 TitleSect2 Subtitle + Sect3 TitleSect3 Subtitle + Spoon! + + + + + +Chapter TitleChapter Subtitle +
Section TitleSection Subtitle +
Subsection TitleSubsection Subtitle +
Subsubsection TitleSubsubsection Subtitle + Fork? +
+
+
+
+ +
+ +
-- 2.40.0