diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-07-11 06:56:47 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-07-11 06:56:47 +0000 |
commit | fe073cfb32a4515a05605a16c08e3ece1751e32f (patch) | |
tree | 22400d3a56fb988b5cb0176a58281e5c9ce890b5 /testautomation | |
parent | 596c970e8634bfe1917b8caf03b3e3b21cb5333f (diff) |
INTEGRATION: CWS autotestfixes01 (1.1.2); FILE ADDED
2008/07/04 17:08:02 jsi 1.1.2.1: #i91336#
Adding the modul xml to testautomation
Issue number:
Submitted by:
Reviewed by:
Diffstat (limited to 'testautomation')
18 files changed, 868 insertions, 0 deletions
diff --git a/testautomation/xml/optional/input/docbook/productionset.004.xml b/testautomation/xml/optional/input/docbook/productionset.004.xml new file mode 100755 index 000000000000..f907b59707f9 --- /dev/null +++ b/testautomation/xml/optional/input/docbook/productionset.004.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook EBNF Module V1.0//EN" + "http://www.oasis-open.org/docbook/xml/ebnf/1.0/dbebnf.dtd"> +<article> +<articleinfo> +<title>Unit Test: productionset.004</title> +<releaseinfo role="CVS">$Id: productionset.004.xml,v 1.2 2008-07-11 07:53:47 rt Exp $</releaseinfo> +<author><firstname>Norman</firstname><surname>Walsh</surname> + <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation> +</author> +</articleinfo> + +<productionset> +<production id="NT-SDDecl"> +<lhs>SDDecl</lhs> +<rhs><nonterminal def="#NT-S">S</nonterminal> 'standalone' <nonterminal def="#NT-Eq">Eq</nonterminal> +<!-- The above line break in the source file has nothing to do with the +line breaks in the output. --> +(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no') '"')) +</rhs> +<constraint linkend="check-rmd"/> +</production> +<production id="NT-element"> +<lhs>element</lhs> +<rhs> +<nonterminal def="#NT-EmptyElemTag">EmptyElemTag</nonterminal> +<sbr/><!-- There will be a line break in the output because of the sbr. --> +| <nonterminal def="#NT-STag">STag</nonterminal> <nonterminal def="#NT-content">content</nonterminal> +<!-- The above line break has nothing to do with the output. --> +<nonterminal def="#NT-SDDecl"/> +</rhs> +<constraint linkend="GIMatch"/> +<constraint linkend="elementvalid"/> +</production> +<productionrecap linkend="NT-SDDecl"/> +</productionset> + +<constraintdef id="GIMatch" role="WFC"> +<title>Element Type Match</title> +<para>Some description...</para> +</constraintdef> + +<constraintdef id="elementvalid" role="VC"> +<title>Element Valid</title> +<para>Some description...</para> +</constraintdef> + +<constraintdef id="check-rmd" role="VC"> +<title>Standalone Document Declaration</title> +<para>Some description...</para> +</constraintdef> + +</article> diff --git a/testautomation/xml/optional/input/docbook/productionset.005.xml b/testautomation/xml/optional/input/docbook/productionset.005.xml new file mode 100755 index 000000000000..2ea062b9a704 --- /dev/null +++ b/testautomation/xml/optional/input/docbook/productionset.005.xml @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook EBNF Module V1.0//EN" + "http://www.oasis-open.org/docbook/xml/ebnf/1.0/dbebnf.dtd"> +<book> +<bookinfo> +<title>Unit Test: productionset.005</title> +<releaseinfo role="CVS">$Id: productionset.005.xml,v 1.2 2008-07-11 07:53:57 rt Exp $</releaseinfo> +<author><firstname>Norman</firstname><surname>Walsh</surname> + <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation> +</author> +</bookinfo> + +<preface><title>Preface</title> +<para>This book tests EBNF constraint links that cross chunk boundaries.</para> +</preface> + +<chapter><title>EBNF</title> + +<productionset> +<production id="NT-SDDecl"> +<lhs>SDDecl</lhs> +<rhs><nonterminal def="#NT-S">S</nonterminal> 'standalone' <nonterminal def="#NT-Eq">Eq</nonterminal> +<!-- The above line break in the source file has nothing to do with the +line breaks in the output. --> +(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no') '"')) +</rhs> +<constraint linkend="check-rmd"/> +</production> +<production id="NT-element"> +<lhs>element</lhs> +<rhs> +<nonterminal def="#NT-EmptyElemTag">EmptyElemTag</nonterminal> +<sbr/><!-- There will be a line break in the output because of the sbr. --> +| <nonterminal def="#NT-STag">STag</nonterminal> <nonterminal def="#NT-content">content</nonterminal> +<!-- The above line break has nothing to do with the output. --> +<nonterminal def="#NT-SDDecl"/> +</rhs> +<constraint linkend="GIMatch"/> +<constraint linkend="elementvalid"/> +</production> +<productionrecap linkend="NT-SDDecl"/> +</productionset> + +</chapter> + +<chapter><title>Constraints</title> + +<constraintdef id="GIMatch" role="WFC"> +<title>Element Type Match</title> +<para>Some description...</para> +</constraintdef> + +<constraintdef id="elementvalid" role="VC"> +<title>Element Valid</title> +<para>Some description...</para> +</constraintdef> + +<constraintdef id="check-rmd" role="VC"> +<title>Standalone Document Declaration</title> +<para>Some description...</para> +</constraintdef> + +<constraintdef id="NT-S"> +<title>NT-S</title> +<para>Just for link integrity...</para> +</constraintdef> + +<constraintdef id="NT-Eq"> +<title>NT-Eq</title> +<para>Just for link integrity...</para> +</constraintdef> + +<constraintdef id="NT-EmptyElemTag"> +<title>NT-EmptyElemTag</title> +<para>Just for link integrity...</para> +</constraintdef> + +<constraintdef id="NT-STag"> +<title>NT-STag</title> +<para>Just for link integrity...</para> +</constraintdef> + +<constraintdef id="NT-content"> +<title>NT-content</title> +<para>Just for link integrity...</para> +</constraintdef> + +</chapter> +</book> diff --git a/testautomation/xml/optional/input/docbook/programlisting.001.xml b/testautomation/xml/optional/input/docbook/programlisting.001.xml new file mode 100755 index 000000000000..33c0332eb9dc --- /dev/null +++ b/testautomation/xml/optional/input/docbook/programlisting.001.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<article> +<articleinfo> +<title>Unit Test: programlisting.001</title> +<releaseinfo role="CVS">$Id: programlisting.001.xml,v 1.2 2008-07-11 07:54:08 rt Exp $</releaseinfo> +<author><firstname>Norman</firstname><surname>Walsh</surname> + <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation> +</author> +</articleinfo> + +<programlisting linenumbering="numbered">ProgramListing: This is a test + Only a test. +Had this been a real emegency, + We would have fled in terror +And you would not have been informed.</programlisting> + +</article> diff --git a/testautomation/xml/optional/input/docbook/programlisting.002.xml b/testautomation/xml/optional/input/docbook/programlisting.002.xml new file mode 100755 index 000000000000..a3710469b3c0 --- /dev/null +++ b/testautomation/xml/optional/input/docbook/programlisting.002.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<article> +<articleinfo> +<title>Unit Test: programlisting.002</title> +<releaseinfo role="CVS">$Id: programlisting.002.xml,v 1.2 2008-07-11 07:54:19 rt Exp $</releaseinfo> +<author><firstname>Norman</firstname><surname>Walsh</surname> + <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation> +</author> +</articleinfo> + +<programlisting><inlinemediaobject> +<imageobject> +<imagedata format="linespecific" fileref="tests/programlisting.002.xml"/> +</imageobject> +</inlinemediaobject></programlisting> + +</article> diff --git a/testautomation/xml/optional/input/docbook/programlisting.003.xml b/testautomation/xml/optional/input/docbook/programlisting.003.xml new file mode 100755 index 000000000000..4039ad2a658f --- /dev/null +++ b/testautomation/xml/optional/input/docbook/programlisting.003.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<article> +<articleinfo> +<title>Unit Test: programlisting.003</title> +<releaseinfo role="CVS">$Id: programlisting.003.xml,v 1.2 2008-07-11 07:54:30 rt Exp $</releaseinfo> +<author><firstname>Norman</firstname><surname>Walsh</surname> + <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation> +</author> +</articleinfo> + +<programlisting linenumbering="numbered">@rem = '--*-Perl-*-- +@echo off +perl.exe %_batchname %$ +goto endofperl +@rem '; + +# Compress mail... + +require 'n:/home/nwalsh/lib/cygnus.pl'; +require 'timelocal.pl'; +use Cwd; + +select (STDERR); $| = 1; +select (STDOUT); $| = 1; + +@DIRS = ("/home/nwalsh/Mail"); +while (@DIRS) { + $dir = shift @DIRS; + opendir (DIR, $dir); + while ($fname = readdir(DIR)) { + $file = "$dir/$fname"; + next if ! -d $file; + next if $fname =~ /^\.\.?$/; + + print "$file\n"; + push (@DIRS, $file); + &compress ($file); + } +} + +exit;</programlisting> + +</article> diff --git a/testautomation/xml/optional/input/docbook/programlistingco.001.xml b/testautomation/xml/optional/input/docbook/programlistingco.001.xml new file mode 100755 index 000000000000..1a72d1f1612b --- /dev/null +++ b/testautomation/xml/optional/input/docbook/programlistingco.001.xml @@ -0,0 +1,78 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<article> +<articleinfo> +<title>Unit Test: programlistingco.001</title> +<releaseinfo role="CVS">$Id: programlistingco.001.xml,v 1.2 2008-07-11 07:54:40 rt Exp $</releaseinfo> +<author><firstname>Norman</firstname><surname>Walsh</surname> + <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation> +</author> +</articleinfo> + +<programlistingco> +<areaspec> +<area coords="1" id="prologue"/> +<area coords="4" id="skipeof"/> +<areaset coords="" id="xreq"> +<area coords="9" id="require1"/> +<area coords="10" id="require2"/> +</areaset> +<area coords="11 12" id="use"/> +<area coords="27" id="funccall"/> +</areaspec> +<programlisting>@rem = '--*-Perl-*-- +@echo off +perl.exe %_batchname %$ +goto endofperl +@rem '; + +# Compress mail... + +require 'n:/home/nwalsh/lib/cygnus.pl'; +require 'timelocal.pl'; +use Cwd; + +select (STDERR); $| = 1; +select (STDOUT); $| = 1; + +@DIRS = ("/home/nwalsh/Mail"); +while (@DIRS) { + $dir = shift @DIRS; + opendir (DIR, $dir); + while ($fname = readdir(DIR)) { + $file = "$dir/$fname"; + next if ! -d $file; + next if $fname =~ /^\.\.?$/; + + print "$file\n"; + push (@DIRS, $file); + &compress ($file); + } +} + +exit;</programlisting> +<calloutlist> +<callout arearefs="prologue"> +<para>The prologue handles embedding a Perl script in a DOS batch file.</para> +</callout> +<callout arearefs="skipeof"> +<para>The <literal>goto</literal> statement, interpreted by the DOS batch +file interpreter, skips over the body of the Perl script.</para> +</callout> +<callout arearefs="require1"> +<para>The <literal>require</literal> statement sources in external program +fragments.</para> +</callout> +<callout arearefs="use"> +<para>The <literal>use</literal> statement is similar, but has additional +utility. It is a Perl5 function. (Note that this callout area specifies +both a line and a column.)</para> +</callout> +<callout arearefs="funccall"> +<para>This is a user subroutine call.</para> +</callout> +</calloutlist> +</programlistingco> + +</article> diff --git a/testautomation/xml/optional/input/docbook/programlistingco.002.xml b/testautomation/xml/optional/input/docbook/programlistingco.002.xml new file mode 100755 index 000000000000..a3cea6f0bb7d --- /dev/null +++ b/testautomation/xml/optional/input/docbook/programlistingco.002.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<article> +<articleinfo> +<title>Unit Test: programlistingco.002</title> +<releaseinfo role="CVS">$Id: programlistingco.002.xml,v 1.2 2008-07-11 07:54:49 rt Exp $</releaseinfo> +<author><firstname>Norman</firstname><surname>Walsh</surname> + <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation> +</author> +</articleinfo> + +<programlistingco> +<areaspec> +<area coords="1" id="prologue2"/> +<area coords="4" id="skipeof2"/> +<areaset coords="" id="xreq2"> +<area coords="9" id="require12"/> +<area coords="10" id="require22"/> +</areaset> +<area coords="11 12" id="use2"/> +<area coords="27" id="funccall2"/> +</areaspec> +<programlisting linenumbering="numbered" +><?dbhtml linenumbering.everyNth="2" linenumbering.separator=" >" +?><?dbfo linenumbering.everyNth="2" linenumbering.separator=" >" +?><inlinemediaobject> +<imageobject> +<imagedata format="linespecific" fileref="sample.txt"/> +</imageobject> +</inlinemediaobject></programlisting> +</programlistingco> + +</article> diff --git a/testautomation/xml/optional/input/docbook/qandaset.001.xml b/testautomation/xml/optional/input/docbook/qandaset.001.xml new file mode 100755 index 000000000000..0e7c4f2001de --- /dev/null +++ b/testautomation/xml/optional/input/docbook/qandaset.001.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<article> +<articleinfo> +<title>Unit Test: qandaset.001</title> +<releaseinfo role="CVS">$Id: qandaset.001.xml,v 1.2 2008-07-11 07:55:00 rt Exp $</releaseinfo> +<author><firstname>Norman</firstname><surname>Walsh</surname> + <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation> +</author> +</articleinfo> + +<para>What about <xref linkend="Two"/>?</para> + + <qandaset defaultlabel='number'> + <?dbhtml table-summary="summary"?> + <qandaentry id="qa1"> + <question id="q1"><para>Question one.</para></question> + <answer id="a1"> + <para>Answer one. +See <xref linkend="faq-Two"/></para> + </answer> + </qandaentry> + + <qandaentry id="Two"> + <question id="faq-Two"><para>Question two.</para></question> + <answer id="faa-Two"> + <para>Answer two.</para> + </answer> + </qandaentry> + + <qandaentry id="Twoc"> + <question id="faq-Twoc"><para>Question two.</para></question> + <answer id="faa-Twoc"> + <orderedlist> + <listitem><para>testing a list</para></listitem> + <listitem><para>testing a list</para></listitem> + <listitem><para>testing a list</para></listitem> + </orderedlist> + </answer> + </qandaentry> + + </qandaset> + +</article> diff --git a/testautomation/xml/optional/input/docbook/qandaset.002.xml b/testautomation/xml/optional/input/docbook/qandaset.002.xml new file mode 100755 index 000000000000..204ed293c402 --- /dev/null +++ b/testautomation/xml/optional/input/docbook/qandaset.002.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<article> +<articleinfo> +<title>Unit Test: qandaset.002</title> +<releaseinfo role="CVS">$Id: qandaset.002.xml,v 1.2 2008-07-11 07:55:10 rt Exp $</releaseinfo> +<author><firstname>Norman</firstname><surname>Walsh</surname> + <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation> +</author> +</articleinfo> + + <qandaset> + <?dbhtml toc="0"?> + <qandaentry id="qa1"> + <question id="q1"> + <para>Blah blah blah.</para> + </question> + <answer id="a1"> + <example> + <title><filename + moreinfo="none">file.name</filename></title> + <programlisting format="linespecific">// Hello, World</programlisting> + </example> + <example> + <title><filename + moreinfo="none">file2.name</filename></title> + <programlisting format="linespecific">// Goodbye, World</programlisting> + </example> + </answer> + </qandaentry> + </qandaset> + + +</article> diff --git a/testautomation/xml/optional/input/docbook/qandaset.003.xml b/testautomation/xml/optional/input/docbook/qandaset.003.xml new file mode 100755 index 000000000000..7ab61d02e8bd --- /dev/null +++ b/testautomation/xml/optional/input/docbook/qandaset.003.xml @@ -0,0 +1,92 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<article> +<articleinfo> +<title>Unit Test: qandaset.003</title> +<releaseinfo role="CVS">$Id: qandaset.003.xml,v 1.2 2008-07-11 07:55:20 rt Exp $</releaseinfo> +<author><firstname>Norman</firstname><surname>Walsh</surname> + <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation> +</author> +</articleinfo> + + <qandaset> + <title>QandA Title</title> +<para>Some introductory preamble. Some introductory preamble. +Some introductory preamble. Some introductory preamble. +Some introductory preamble. Some introductory preamble. +Some introductory preamble. Some introductory preamble.</para> +<para>Some introductory preamble. Some introductory preamble. +Some introductory preamble. Some introductory preamble. +Some introductory preamble. Some introductory preamble. +Some introductory preamble. Some introductory preamble.</para> + <qandadiv><title>Division 1</title> + <qandaentry> + <question> + <para>Blah blah blah.</para> + </question> + <answer> + <example> + <title><filename + moreinfo="none">file.name</filename></title> + <programlisting format="linespecific">// Hello, World</programlisting> + </example> + <example> + <title><filename + moreinfo="none">file2.name</filename></title> + <programlisting format="linespecific">// Goodbye, World</programlisting> + </example> + </answer> + </qandaentry> + </qandadiv> + <qandadiv><title>Division 2</title> +<para>Some introductory preamble. Some introductory preamble. +Some introductory preamble. Some introductory preamble. +Some introductory preamble. Some introductory preamble. +Some introductory preamble. Some introductory preamble.</para> +<para>Some introductory preamble. Some introductory preamble. +Some introductory preamble. Some introductory preamble. +Some introductory preamble. Some introductory preamble. +Some introductory preamble. Some introductory preamble.</para> + <qandadiv><title>Division 2.1</title> + <qandaentry> + <question> + <para>Blah blah blah.</para> + </question> + <answer> + <example> + <title><filename + moreinfo="none">file.name</filename></title> + <programlisting format="linespecific">// Hello, World</programlisting> + </example> + <example> + <title><filename + moreinfo="none">file2.name</filename></title> + <programlisting format="linespecific">// Goodbye, World</programlisting> + </example> + </answer> + </qandaentry> + </qandadiv> + <qandadiv><title>Division 2.2</title> + <qandaentry> + <question> + <para>Blah blah blah.</para> + </question> + <answer> + <example> + <title><filename + moreinfo="none">file.name</filename></title> + <programlisting format="linespecific">// Hello, World</programlisting> + </example> + <example> + <title><filename + moreinfo="none">file2.name</filename></title> + <programlisting format="linespecific">// Goodbye, World</programlisting> + </example> + </answer> + </qandaentry> + </qandadiv> + </qandadiv> + </qandaset> + +</article> diff --git a/testautomation/xml/optional/input/docbook/refentry.001.xml b/testautomation/xml/optional/input/docbook/refentry.001.xml new file mode 100755 index 000000000000..4d605fe9b0f5 --- /dev/null +++ b/testautomation/xml/optional/input/docbook/refentry.001.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<article> +<articleinfo> +<title>Unit Test: refentry.001</title> +<releaseinfo role="CVS">$Id: refentry.001.xml,v 1.2 2008-07-11 07:55:30 rt Exp $</releaseinfo> +<author><firstname>Norman</firstname><surname>Walsh</surname> + <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation> +</author> +</articleinfo> + +<refentry id="minimal"> +<refnamediv> +<refname>Minimal</refname> +<refpurpose>Test of a minimal RefEntry</refpurpose> +</refnamediv> + +<refsect1> +<title>Description</title> +<para>This is a minimal RefEntry.</para> +</refsect1> +</refentry> + +</article> diff --git a/testautomation/xml/optional/input/docbook/refentry.002.xml b/testautomation/xml/optional/input/docbook/refentry.002.xml new file mode 100755 index 000000000000..576aa27b2aa3 --- /dev/null +++ b/testautomation/xml/optional/input/docbook/refentry.002.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<article> +<articleinfo> +<title>Unit Test: refentry.002</title> +<releaseinfo role="CVS">$Id: refentry.002.xml,v 1.2 2008-07-11 07:55:40 rt Exp $</releaseinfo> +<author><firstname>Norman</firstname><surname>Walsh</surname> + <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation> +</author> +</articleinfo> + +<refentry id="lessminimal"> +<refmeta> +<refentrytitle>Also Minimal Title</refentrytitle> +<manvolnum>3</manvolnum> +</refmeta> +<refnamediv> +<refname>Also Minimal</refname> +<refpurpose>Another test of a minimal RefEntry</refpurpose> +</refnamediv> + +<refsect1> +<title>Description</title> +<para>This is a minimal RefEntry.</para> +</refsect1> +</refentry> + +</article> diff --git a/testautomation/xml/optional/input/docbook/refentry.003.xml b/testautomation/xml/optional/input/docbook/refentry.003.xml new file mode 100755 index 000000000000..c011b9765166 --- /dev/null +++ b/testautomation/xml/optional/input/docbook/refentry.003.xml @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<article> +<articleinfo> +<title>Unit Test: refentry.003</title> +<releaseinfo role="CVS">$Id: refentry.003.xml,v 1.2 2008-07-11 07:55:50 rt Exp $</releaseinfo> +<author><firstname>Norman</firstname><surname>Walsh</surname> + <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation> +</author> +</articleinfo> + +<refentry id="evenlessminimal"> +<refmeta> +<refentrytitle>Fred</refentrytitle> +<manvolnum>3</manvolnum> +</refmeta> +<refnamediv> +<refname>Less Minimal</refname> +<refname>Even Less Minimal</refname> +<refpurpose>Test of a minimal RefEntry</refpurpose> +</refnamediv> +<refsynopsisdiv><title>Synopsis</title> +<cmdsynopsis> +<command>command</command> +<group><arg choice="plain">-a</arg><arg choice="plain">-alpha</arg> +</group> +</cmdsynopsis> +<cmdsynopsis> +<command>command</command> +<group><arg choice="plain">-b</arg><arg choice="plain">-beta</arg> +</group> +</cmdsynopsis> +<cmdsynopsis> +<command>command</command> +<group choice="plain"><arg choice="plain">-c</arg><arg choice="plain"> +-charlie</arg> +</group> +</cmdsynopsis> +<cmdsynopsis> +<command>command</command> +<group choice="plain"><arg choice="plain">-d</arg><arg choice="plain"> +-delta</arg> +</group> +</cmdsynopsis> +<cmdsynopsis> +<command>command</command> +<arg choice="plain">--help</arg> +</cmdsynopsis> +</refsynopsisdiv> + +<refsect1> +<title>Description</title> +<para>This is a less minimal RefEntry.</para> + +<figure><title>Some Program</title> +<programlisting>Testing +Some +Text</programlisting> +</figure> + +</refsect1> +</refentry> + +</article> diff --git a/testautomation/xml/optional/input/docbook/refentry.004.xml b/testautomation/xml/optional/input/docbook/refentry.004.xml new file mode 100755 index 000000000000..831159cc776f --- /dev/null +++ b/testautomation/xml/optional/input/docbook/refentry.004.xml @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<article> +<articleinfo> +<title>Unit Test: refentry.004</title> +<releaseinfo role="CVS">$Id: refentry.004.xml,v 1.2 2008-07-11 07:56:01 rt Exp $</releaseinfo> +<author><firstname>Norman</firstname><surname>Walsh</surname> + <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation> +</author> +</articleinfo> + +<para>Test an <sgmltag>xref</sgmltag> to <sgmltag>refnamediv</sgmltag>: +<xref linkend="lm"/>.</para> + +<refentry id="evenlessminimal"> +<refmeta> +<refentrytitle>Fred</refentrytitle> +<manvolnum>3</manvolnum> +</refmeta> +<refnamediv id="lm"> +<refname>Less Minimal</refname> +<refname>Even Less Minimal</refname> +<refpurpose>Test of a minimal RefEntry</refpurpose> +</refnamediv> +<refsynopsisdiv><title>Synopsis</title> +<cmdsynopsis> +<command>command</command> +<group><arg choice="plain">-a</arg><arg choice="plain">-alpha</arg> +</group> +</cmdsynopsis> +<cmdsynopsis> +<command>command</command> +<group><arg choice="plain">-b</arg><arg choice="plain">-beta</arg> +</group> +</cmdsynopsis> +<cmdsynopsis> +<command>command</command> +<group choice="plain"><arg choice="plain">-c</arg><arg choice="plain"> +-charlie</arg> +</group> +</cmdsynopsis> +<cmdsynopsis> +<command>command</command> +<group choice="plain"><arg choice="plain">-d</arg><arg choice="plain"> +-delta</arg> +</group> +</cmdsynopsis> +<cmdsynopsis> +<command>command</command> +<arg choice="plain">--help</arg> +</cmdsynopsis> +</refsynopsisdiv> + +<refsect1> +<title>Description</title> +<para>This is a less minimal RefEntry.</para> + +<figure><title>Some Program</title> +<programlisting>Testing +Some +Text</programlisting> +</figure> + +</refsect1> +</refentry> + +</article> diff --git a/testautomation/xml/optional/input/docbook/reference.001.xml b/testautomation/xml/optional/input/docbook/reference.001.xml new file mode 100755 index 000000000000..d54022372514 --- /dev/null +++ b/testautomation/xml/optional/input/docbook/reference.001.xml @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE reference PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<reference> +<referenceinfo> +<title>Unit Test: reference.001</title> +<releaseinfo role="CVS">$Id: reference.001.xml,v 1.2 2008-07-11 07:56:13 rt Exp $</releaseinfo> +<author><firstname>Norman</firstname><surname>Walsh</surname> + <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation> +</author> +</referenceinfo> + +<refentry id="minimal"> +<refnamediv> +<refname>Minimal</refname> +<refpurpose>Test of a minimal RefEntry</refpurpose> +</refnamediv> + +<refsect1> +<title>Description</title> +<para>This is a minimal RefEntry.</para> +</refsect1> +</refentry> + +<refentry id="lessminimal"> +<refmeta> +<refentrytitle>Also Minimal Title</refentrytitle> +<manvolnum>3</manvolnum> +</refmeta> +<refnamediv> +<refname>Also Minimal</refname> +<refpurpose>Another test of a minimal RefEntry</refpurpose> +</refnamediv> + +<refsect1> +<title>Description</title> +<para>This is a minimal RefEntry.</para> +</refsect1> +</refentry> + +<refentry id="evenlessminimal"> +<refmeta> +<refentrytitle>Fred</refentrytitle> +<manvolnum>3</manvolnum> +</refmeta> +<refnamediv> +<refname>Less Minimal</refname> +<refname>Even Less Minimal</refname> +<refpurpose>Test of a minimal RefEntry</refpurpose> +</refnamediv> + +<refsect1> +<title>Description</title> +<para>This is a minimal RefEntry.</para> +</refsect1> +</refentry> + +</reference> + diff --git a/testautomation/xml/optional/input/docbook/revhistory.001.xml b/testautomation/xml/optional/input/docbook/revhistory.001.xml new file mode 100755 index 000000000000..fc534f571d92 --- /dev/null +++ b/testautomation/xml/optional/input/docbook/revhistory.001.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<article id="article"> +<articleinfo> +<title>Unit Test: revhistory.001.xml</title> +<releaseinfo role="CVS">$Id: revhistory.001.xml,v 1.2 2008-07-11 07:56:24 rt Exp $</releaseinfo> +<author><firstname>Norman</firstname><surname>Walsh</surname> + <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation> +</author> +<revhistory> +<revision> +<revnumber>1.0</revnumber> +<date>13 Mar 2002</date> +<authorinitials>ndw</authorinitials> +<revremark>Some remark.</revremark> +</revision> +<revision> +<revnumber>0.9</revnumber> +<date>20 Nov 1998</date> +<authorinitials>ndw</authorinitials> +<revremark>Some remark about the revision</revremark> +</revision> +<revision> +<revnumber>0.8</revnumber> +<date>19 Nov 1998</date> +<authorinitials>ndw</authorinitials> +<revremark>Some remark about the revision</revremark> +</revision> +<revision> +<revnumber>0.7</revnumber> +<date>18 Nov 1998</date> +<authorinitials>ndw</authorinitials> +<revremark>Some remark about the revision</revremark> +</revision> +</revhistory> +</articleinfo> + +<para>This article tests revhistory. It appears in the articleinfo.</para> + +</article> diff --git a/testautomation/xml/optional/input/docbook/screen.001.xml b/testautomation/xml/optional/input/docbook/screen.001.xml new file mode 100755 index 000000000000..449f05fe8b80 --- /dev/null +++ b/testautomation/xml/optional/input/docbook/screen.001.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<article> +<articleinfo> +<title>Unit Test: screen.001</title> +<releaseinfo role="CVS">$Id: screen.001.xml,v 1.2 2008-07-11 07:56:36 rt Exp $</releaseinfo> +<author><firstname>Norman</firstname><surname>Walsh</surname> + <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation> +</author> +</articleinfo> + +<screen> +(let <co id="dl1"/>loopvar <co id="dl2"/>((count 1)) + <co id="dl3"/>(if (> count 10) + <co id="dl4"/>#t + (<co id="dl5"/>loopvar <co id="dl6"/>(+ count 1))))</screen> + +</article> diff --git a/testautomation/xml/optional/input/docbook/sect1.001.xml b/testautomation/xml/optional/input/docbook/sect1.001.xml new file mode 100755 index 000000000000..12f4a61bf2b8 --- /dev/null +++ b/testautomation/xml/optional/input/docbook/sect1.001.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<article> +<articleinfo> +<title>Unit Test: sect1.001</title> +<releaseinfo role="CVS">$Id: sect1.001.xml,v 1.2 2008-07-11 07:56:47 rt Exp $</releaseinfo> +<author><firstname>Norman</firstname><surname>Walsh</surname> + <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation> +</author> +</articleinfo> + + <sect1 id="c1s1"><title>Section 1</title> + <para>blah.</para> + <sect2 id="c1s1s1"><title>Section 1.1</title> + <para>blah.</para> + <sect3 id="c1s1s1s1"><title>Section 1.1.1</title> + <para>blah.</para> + <sect4 id="c1s1s1s1s1"><title>Section 1.1.1.1</title> + <para>blah.</para> + <sect5 id="c1s1s1s1s1s1"><title>Section 1.1.1.1.1</title> + <para>blah.</para> + </sect5> + <sect5 id="c1s1s1s1s1s2"><title>Section 1.1.1.1.2</title> + <para>blah.</para> + </sect5> + <sect5 id="c1s1s1s1s1s3"><title>Section 1.1.1.1.3</title> + <para>blah.</para> + </sect5> + </sect4> + <sect4 id="c1s1s1s1s2"><title>Section 1.1.1.2</title> + <para>blah.</para> + </sect4> + <sect4 id="c1s1s1s1s3"><title>Section 1.1.1.3</title> + <para>blah.</para> + </sect4> + </sect3> + <sect3 id="c1s1s1s2"><title>Section 1.1.2</title> + <para>blah.</para> + </sect3> + <sect3 id="c1s1s1s3"><title>Section 1.1.3</title> + <para>blah.</para> + </sect3> + </sect2> + <sect2 id="c1s1s2"><title>Section 1.2</title> + <para>blah.</para> + </sect2> + <sect2 id="c1s1s3"><title>Section 1.3</title> + <para>blah.</para> + </sect2> + </sect1> + +</article> |