Skip to content

Commit 5875da6

Browse files
author
Dimitri van Heesch
committed
Added regression test suite
1 parent ea7a639 commit 5875da6

File tree

137 files changed

+4086
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+4086
-0
lines changed

testing/001/indexpage.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="">
3+
<compounddef id="indexpage" kind="page">
4+
<compoundname>index</compoundname>
5+
<title>My Project</title>
6+
<detaileddescription>
7+
<para>Text <emphasis>argument</emphasis> more text. </para>
8+
</detaileddescription>
9+
</compounddef>
10+
</doxygen>

testing/001_a.dox

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// objective: test the \a and \mainpage commands
2+
// check: indexpage.xml
3+
/** \mainpage
4+
* Text \a argument more text.
5+
*/

testing/002/indexpage.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="">
3+
<compounddef id="indexpage" kind="page">
4+
<compoundname>index</compoundname>
5+
<title>My Project</title>
6+
<detaileddescription>
7+
<para>
8+
<indexentry>
9+
<primaryie>keyword</primaryie>
10+
<secondaryie/>
11+
</indexentry>
12+
</para>
13+
</detaileddescription>
14+
</compounddef>
15+
</doxygen>

testing/002_addindex.dox

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// objective: test \addindex command
2+
// check: indexpage.xml
3+
/** \mainpage
4+
* \addindex keyword
5+
*/

testing/003/indexpage.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="">
3+
<compounddef id="indexpage" kind="page">
4+
<compoundname>index</compoundname>
5+
<title>My Project</title>
6+
<detaileddescription>
7+
<para><ref refid="index_1myanchor" kindref="member">See Anchor</ref> Some text. <anchor id="index_1myanchor"/>More text. </para>
8+
</detaileddescription>
9+
</compounddef>
10+
</doxygen>

testing/003_anchor.dox

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// objective: test \anchor command
2+
// check: indexpage.xml
3+
/** \mainpage
4+
* \ref myanchor "See Anchor"
5+
* Some text.
6+
* \anchor myanchor
7+
* More text.
8+
*/

testing/004/indexpage.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="">
3+
<compounddef id="indexpage" kind="page">
4+
<compoundname>index</compoundname>
5+
<title>My Project</title>
6+
<detaileddescription>
7+
<para><itemizedlist><listitem><para><computeroutput>AlignLeft</computeroutput> left alignment. </para></listitem><listitem><para><computeroutput>AlignCenter</computeroutput> center alignment. </para></listitem><listitem><para><computeroutput>AlignRight</computeroutput> right alignment</para></listitem></itemizedlist>
8+
No other types of alignment are supported.</para>
9+
<para><itemizedlist><listitem><para><computeroutput>AlignLeft</computeroutput> left alignment. </para></listitem><listitem><para><computeroutput>AlignCenter</computeroutput> center alignment. </para></listitem><listitem><para><computeroutput>AlignRight</computeroutput> right alignment</para></listitem></itemizedlist>
10+
No other types of alignment are supported. </para>
11+
</detaileddescription>
12+
</compounddef>
13+
</doxygen>

testing/004_arg.dox

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// objective: test \arg and \li commands
2+
// check: indexpage.xml
3+
/** \mainpage
4+
\arg \c AlignLeft left alignment.
5+
\arg \c AlignCenter center alignment.
6+
\arg \c AlignRight right alignment
7+
8+
No other types of alignment are supported.
9+
10+
\li \c AlignLeft left alignment.
11+
\li \c AlignCenter center alignment.
12+
\li \c AlignRight right alignment
13+
14+
No other types of alignment are supported.
15+
*/

testing/005/indexpage.xml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="">
3+
<compounddef id="indexpage" kind="page">
4+
<compoundname>index</compoundname>
5+
<title>My Project</title>
6+
<detaileddescription>
7+
<para>
8+
<simplesect kind="attention">
9+
<para>Attention message. </para>
10+
</simplesect>
11+
<simplesect kind="note">
12+
<para>Something to note. </para>
13+
</simplesect>
14+
<simplesect kind="remark">
15+
<para>A remark. </para>
16+
</simplesect>
17+
<simplesect kind="warning">
18+
<para>A warning message. </para>
19+
</simplesect>
20+
<simplesect kind="par">
21+
<title/>
22+
<para>Second paragraph </para>
23+
</simplesect>
24+
<simplesect kind="par">
25+
<title>User defined paragraph.</title>
26+
<para>Contents of paragraph. </para>
27+
</simplesect>
28+
<simplesect kind="par">
29+
<title/>
30+
<para>More text in a new paragraph. </para>
31+
</simplesect>
32+
</para>
33+
</detaileddescription>
34+
</compounddef>
35+
</doxygen>

testing/005_attention.dox

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// objective: test \attention, \not, \remark, \warning, and \par commands
2+
// check: indexpage.xml
3+
/** \mainpage
4+
* \attention Attention message.
5+
* \note Something to note.
6+
* \remark A remark.
7+
* \warning A warning message.
8+
* \par
9+
* Second paragraph
10+
* \par User defined paragraph.
11+
* Contents of paragraph.
12+
* \par
13+
* More text in a new paragraph.
14+
*/

testing/006/indexpage.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="">
3+
<compounddef id="indexpage" kind="page">
4+
<compoundname>index</compoundname>
5+
<title>My Project</title>
6+
<detaileddescription>
7+
<para>
8+
<simplesect kind="author">
9+
<para>John Doe </para>
10+
<simplesectsep/>
11+
<para>Jane Doe </para>
12+
</simplesect>
13+
<simplesect kind="authors">
14+
<para>David, Steven </para>
15+
</simplesect>
16+
<simplesect kind="since">
17+
<para>version 1.2 </para>
18+
</simplesect>
19+
<simplesect kind="version">
20+
<para>1.8-beta2 </para>
21+
</simplesect>
22+
</para>
23+
</detaileddescription>
24+
</compounddef>
25+
</doxygen>

testing/006_author.dox

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// objective: test the \author, \since, and \version command
2+
// check: indexpage.xml
3+
/** \mainpage
4+
* \author John Doe
5+
* \author Jane Doe
6+
* \authors David, Steven
7+
* \since version 1.2
8+
* \version 1.8-beta2
9+
*/

testing/007/indexpage.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="">
3+
<compounddef id="indexpage" kind="page">
4+
<compoundname>index</compoundname>
5+
<title>My Project</title>
6+
<detaileddescription>
7+
<para>Text <bold>bold</bold> normal text. </para>
8+
</detaileddescription>
9+
</compounddef>
10+
</doxygen>

testing/007_b.dox

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// objective: test the \b command
2+
// check: indexpage.xml
3+
/** \mainpage
4+
* Text \b bold normal text.
5+
*/

testing/008/008__brief_8c.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="">
3+
<compounddef id="008__brief_8c" kind="file">
4+
<compoundname>008_brief.c</compoundname>
5+
<briefdescription>
6+
<para>A brief description. </para>
7+
</briefdescription>
8+
<detaileddescription>
9+
<para>More details. </para>
10+
</detaileddescription>
11+
<location file="008_brief.c"/>
12+
</compounddef>
13+
</doxygen>

testing/008_brief.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// objective: test \brief and \file command
2+
// check: 008__brief_8c.xml
3+
/** \file
4+
* \brief A brief description.
5+
*
6+
* More details.
7+
*/

testing/009/bug.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="">
3+
<compounddef id="bug" kind="page">
4+
<compoundname>bug</compoundname>
5+
<title>Bug List</title>
6+
<detaileddescription>
7+
<para>
8+
<variablelist>
9+
<varlistentry>
10+
<term><anchor id="bug_1_bug000001"/>Class <ref refid="class_bug" kindref="compound">Bug</ref></term>
11+
</varlistentry>
12+
<listitem>
13+
<para>Class bug. </para>
14+
</listitem>
15+
<varlistentry>
16+
<term><anchor id="bug_1_bug000002"/>Member <ref refid="class_bug_1a1f720954dd97cd1203e80501a6eae74c" kindref="member">Bug::foo</ref> ()</term>
17+
</varlistentry>
18+
<listitem>
19+
<para>Function bug<itemizedlist><listitem><para>list item 1 in bug</para></listitem><listitem><para>list item 2 in bug</para></listitem></itemizedlist>
20+
</para>
21+
</listitem>
22+
</variablelist>
23+
</para>
24+
</detaileddescription>
25+
</compounddef>
26+
</doxygen>

testing/009/class_bug.xml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="">
3+
<compounddef id="class_bug" kind="class" prot="public">
4+
<compoundname>Bug</compoundname>
5+
<sectiondef kind="public-func">
6+
<memberdef kind="function" id="class_bug_1a1f720954dd97cd1203e80501a6eae74c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
7+
<type>void</type>
8+
<definition>void Bug::foo</definition>
9+
<argsstring>()</argsstring>
10+
<name>foo</name>
11+
<briefdescription>
12+
</briefdescription>
13+
<detaileddescription>
14+
<para>Description <xrefsect id="bug_1_bug000002"><xreftitle>Bug</xreftitle><xrefdescription><para>Function bug<itemizedlist><listitem><para>list item 1 in bug</para></listitem><listitem><para>list item 2 in bug</para></listitem></itemizedlist>
15+
</para></xrefdescription></xrefsect></para>
16+
<para>More text. </para>
17+
</detaileddescription>
18+
<inbodydescription>
19+
</inbodydescription>
20+
<location file="009_bug.cpp" line="25" column="1"/>
21+
</memberdef>
22+
</sectiondef>
23+
<briefdescription>
24+
</briefdescription>
25+
<detaileddescription>
26+
<para>
27+
<xrefsect id="bug_1_bug000001">
28+
<xreftitle>Bug</xreftitle>
29+
<xrefdescription>
30+
<para>Class bug. </para>
31+
</xrefdescription>
32+
</xrefsect>
33+
</para>
34+
</detaileddescription>
35+
<location file="009_bug.cpp" bodystart="15" bodyend="26"/>
36+
<listofallmembers>
37+
<member refid="class_bug_1a1f720954dd97cd1203e80501a6eae74c" prot="public" virt="non-virtual">
38+
<scope>Bug</scope>
39+
<name>foo</name>
40+
</member>
41+
</listofallmembers>
42+
</compounddef>
43+
</doxygen>

testing/009/class_deprecated.xml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="">
3+
<compounddef id="class_deprecated" kind="class" prot="public">
4+
<compoundname>Deprecated</compoundname>
5+
<sectiondef kind="public-func">
6+
<memberdef kind="function" id="class_deprecated_1a1d5f6803e72c625727e7083d1722dbf9" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
7+
<type>void</type>
8+
<definition>void Deprecated::deprecated</definition>
9+
<argsstring>()</argsstring>
10+
<name>deprecated</name>
11+
<briefdescription>
12+
</briefdescription>
13+
<detaileddescription>
14+
<para>Do deprecated things. <xrefsect id="deprecated_1_deprecated000002"><xreftitle>Deprecated</xreftitle><xrefdescription><para>No not use this function anymore. </para></xrefdescription></xrefsect></para>
15+
</detaileddescription>
16+
<inbodydescription>
17+
</inbodydescription>
18+
<location file="009_bug.cpp" line="35" column="1"/>
19+
</memberdef>
20+
</sectiondef>
21+
<briefdescription>
22+
</briefdescription>
23+
<detaileddescription>
24+
<para>
25+
<xrefsect id="deprecated_1_deprecated000001">
26+
<xreftitle>Deprecated</xreftitle>
27+
<xrefdescription>
28+
<para>This class is deprecated </para>
29+
</xrefdescription>
30+
</xrefsect>
31+
</para>
32+
</detaileddescription>
33+
<location file="009_bug.cpp" bodystart="29" bodyend="36"/>
34+
<listofallmembers>
35+
<member refid="class_deprecated_1a1d5f6803e72c625727e7083d1722dbf9" prot="public" virt="non-virtual">
36+
<scope>Deprecated</scope>
37+
<name>deprecated</name>
38+
</member>
39+
</listofallmembers>
40+
</compounddef>
41+
</doxygen>

testing/009/class_reminder.xml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="">
3+
<compounddef id="class_reminder" kind="class" prot="public">
4+
<compoundname>Reminder</compoundname>
5+
<sectiondef kind="public-func">
6+
<memberdef kind="function" id="class_reminder_1a173b5218bb11287b0e86a550d9f0728d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
7+
<type>void</type>
8+
<definition>void Reminder::reminder</definition>
9+
<argsstring>()</argsstring>
10+
<name>reminder</name>
11+
<briefdescription>
12+
</briefdescription>
13+
<detaileddescription>
14+
<para>
15+
<xrefsect id="reminders_1_reminders000002">
16+
<xreftitle>Reminder</xreftitle>
17+
<xrefdescription>
18+
<para>Need to rework this before the next release. </para>
19+
</xrefdescription>
20+
</xrefsect>
21+
</para>
22+
</detaileddescription>
23+
<inbodydescription>
24+
</inbodydescription>
25+
<location file="009_bug.cpp" line="59" column="1"/>
26+
</memberdef>
27+
</sectiondef>
28+
<briefdescription>
29+
</briefdescription>
30+
<detaileddescription>
31+
<para>
32+
<xrefsect id="reminders_1_reminders000001">
33+
<xreftitle>Reminder</xreftitle>
34+
<xrefdescription>
35+
<para>A reminder </para>
36+
</xrefdescription>
37+
</xrefsect>
38+
</para>
39+
</detaileddescription>
40+
<location file="009_bug.cpp" bodystart="55" bodyend="60"/>
41+
<listofallmembers>
42+
<member refid="class_reminder_1a173b5218bb11287b0e86a550d9f0728d" prot="public" virt="non-virtual">
43+
<scope>Reminder</scope>
44+
<name>reminder</name>
45+
</member>
46+
</listofallmembers>
47+
</compounddef>
48+
</doxygen>

0 commit comments

Comments
 (0)