Skip to content

Commit 1822879

Browse files
committed
Quick fix for failing test 032
1 parent 9648e89 commit 1822879

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

testing/032/another_page.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="" xml:lang="en-US">
3+
<compounddef id="another_page" kind="page">
4+
<compoundname>another_page</compoundname>
5+
<title>Example with stipped comments</title>
6+
<briefdescription>
7+
</briefdescription>
8+
<detaileddescription>
9+
<para>Here is the same example with stipped comments <programlisting filename="example_test.cpp"><codeline lineno="1"><highlight class="normal"/></codeline><codeline lineno="2"><highlight class="normal"/><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>main()</highlight></codeline><codeline lineno="3"><highlight class="normal">{</highlight></codeline><codeline lineno="4"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>a<sp/>=<sp/></highlight><highlight class="stringliteral">"Some<sp/>special<sp/>character<sp/>here:<sp/><sp value="7"/><sp/>"</highlight><highlight class="normal">;</highlight></codeline><codeline lineno="5"><highlight class="normal"/></codeline><codeline lineno="6"><highlight class="normal"><sp/><sp/>Test<sp/>t;</highlight></codeline><codeline lineno="7"><highlight class="normal"><sp/><sp/>t.example();</highlight></codeline><codeline lineno="8"><highlight class="normal">}</highlight></codeline><codeline lineno="9"><highlight class="normal"/></codeline></programlisting> End. </para>
10+
</detaileddescription>
11+
<location file="032_include.cpp"/>
12+
</compounddef>
13+
</doxygen>

testing/032/indexpage.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<briefdescription>
77
</briefdescription>
88
<detaileddescription>
9-
<para>Some text. <programlisting filename="example_test.cpp"><codeline><highlight class="comment">/**<sp/>The<sp/>main<sp/>function<sp/>*/</highlight><highlight class="normal"/></codeline><codeline><highlight class="normal"/><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>main()</highlight></codeline><codeline><highlight class="normal">{</highlight></codeline><codeline><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>a<sp/>=<sp/></highlight><highlight class="stringliteral">"Some<sp/>special<sp/>character<sp/>here:<sp/><sp value="7"/><sp/>"</highlight><highlight class="normal">;</highlight></codeline><codeline><highlight class="normal"/></codeline><codeline><highlight class="normal"><sp/><sp/>Test<sp/>t;</highlight></codeline><codeline><highlight class="normal"><sp/><sp/>t.example();</highlight></codeline><codeline><highlight class="normal">}</highlight></codeline><codeline><highlight class="normal"/></codeline></programlisting> More text. <programlisting filename="example_test.cpp"><codeline lineno="1"><highlight class="comment">/**<sp/>The<sp/>main<sp/>function<sp/>*/</highlight><highlight class="normal"/></codeline><codeline lineno="2"><highlight class="normal"/><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>main()</highlight></codeline><codeline lineno="3"><highlight class="normal">{</highlight></codeline><codeline lineno="4"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>a<sp/>=<sp/></highlight><highlight class="stringliteral">"Some<sp/>special<sp/>character<sp/>here:<sp/><sp value="7"/><sp/>"</highlight><highlight class="normal">;</highlight></codeline><codeline lineno="5"><highlight class="normal"/></codeline><codeline lineno="6"><highlight class="normal"><sp/><sp/>Test<sp/>t;</highlight></codeline><codeline lineno="7"><highlight class="normal"><sp/><sp/>t.example();</highlight></codeline><codeline lineno="8"><highlight class="normal">}</highlight></codeline><codeline lineno="9"><highlight class="normal"/></codeline></programlisting> Same example with stipped comments <programlisting filename="example_test.cpp"><codeline lineno="1"><highlight class="normal"/></codeline><codeline lineno="2"><highlight class="normal"/><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>main()</highlight></codeline><codeline lineno="3"><highlight class="normal">{</highlight></codeline><codeline lineno="4"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>a<sp/>=<sp/></highlight><highlight class="stringliteral">"Some<sp/>special<sp/>character<sp/>here:<sp/><sp value="7"/><sp/>"</highlight><highlight class="normal">;</highlight></codeline><codeline lineno="5"><highlight class="normal"/></codeline><codeline lineno="6"><highlight class="normal"><sp/><sp/>Test<sp/>t;</highlight></codeline><codeline lineno="7"><highlight class="normal"><sp/><sp/>t.example();</highlight></codeline><codeline lineno="8"><highlight class="normal">}</highlight></codeline><codeline lineno="9"><highlight class="normal"/></codeline></programlisting> End. </para>
9+
<para>Some text. <programlisting filename="example_test.cpp"><codeline><highlight class="comment">/**<sp/>The<sp/>main<sp/>function<sp/>*/</highlight><highlight class="normal"/></codeline><codeline><highlight class="normal"/><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>main()</highlight></codeline><codeline><highlight class="normal">{</highlight></codeline><codeline><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>a<sp/>=<sp/></highlight><highlight class="stringliteral">"Some<sp/>special<sp/>character<sp/>here:<sp/><sp value="7"/><sp/>"</highlight><highlight class="normal">;</highlight></codeline><codeline><highlight class="normal"/></codeline><codeline><highlight class="normal"><sp/><sp/>Test<sp/>t;</highlight></codeline><codeline><highlight class="normal"><sp/><sp/>t.example();</highlight></codeline><codeline><highlight class="normal">}</highlight></codeline><codeline><highlight class="normal"/></codeline></programlisting> More text. <programlisting filename="example_test.cpp"><codeline lineno="1"><highlight class="comment">/**<sp/>The<sp/>main<sp/>function<sp/>*/</highlight><highlight class="normal"/></codeline><codeline lineno="2"><highlight class="normal"/><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>main()</highlight></codeline><codeline lineno="3"><highlight class="normal">{</highlight></codeline><codeline lineno="4"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>a<sp/>=<sp/></highlight><highlight class="stringliteral">"Some<sp/>special<sp/>character<sp/>here:<sp/><sp value="7"/><sp/>"</highlight><highlight class="normal">;</highlight></codeline><codeline lineno="5"><highlight class="normal"/></codeline><codeline lineno="6"><highlight class="normal"><sp/><sp/>Test<sp/>t;</highlight></codeline><codeline lineno="7"><highlight class="normal"><sp/><sp/>t.example();</highlight></codeline><codeline lineno="8"><highlight class="normal">}</highlight></codeline><codeline lineno="9"><highlight class="normal"/></codeline></programlisting> </para>
1010
</detaileddescription>
1111
<location file="032_include.cpp"/>
1212
</compounddef>

testing/032_include.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
// objective: test the \include and \includelineno commands
22
// check: indexpage.xml
3+
// check: another_page.xml
34
// config: STRIP_CODE_COMMENTS=NO
45

56
/** \mainpage
67
* Some text.
78
* \include example_test.cpp
89
* More text.
910
* \include{lineno} example_test.cpp
10-
* Same example with stipped comments
11+
*/
12+
13+
/** \page another_page Example with stipped comments
14+
* Here is the same example with stipped comments
1115
* \include{lineno,strip} example_test.cpp
1216
* End.
1317
*/

0 commit comments

Comments
 (0)