summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-11-22 12:25:09 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-11-22 12:25:09 (GMT)
commita32a778635bef381022c90e3944bedfca539d6a0 (patch)
treeba956b88f4461046928ca950cc2c174058c261be /testing
parent9974bdcdacae9efe1958ad427ee31d604d6e1715 (diff)
downloadDoxygen-a32a778635bef381022c90e3944bedfca539d6a0.zip
Doxygen-a32a778635bef381022c90e3944bedfca539d6a0.tar.gz
Doxygen-a32a778635bef381022c90e3944bedfca539d6a0.tar.bz2
Doxygen warnings are not seen as errors during running tests
Corrected warnings of test 57.
Diffstat (limited to 'testing')
-rw-r--r--testing/057/namespacelibrary.xml8
-rw-r--r--testing/057/namespacelibrary_1_1v1.xml8
-rw-r--r--testing/057/namespacelibrary_1_1v2.xml19
-rw-r--r--testing/057_inlinenamespace.cpp22
4 files changed, 48 insertions, 9 deletions
diff --git a/testing/057/namespacelibrary.xml b/testing/057/namespacelibrary.xml
index 0357e29..8509524 100644
--- a/testing/057/namespacelibrary.xml
+++ b/testing/057/namespacelibrary.xml
@@ -7,24 +7,26 @@
<innernamespace refid="namespacelibrary_1_1v2" inline="yes">library::v2</innernamespace>
<innernamespace refid="namespacelibrary_1_1v2_1_1_n_s">library::v2::NS</innernamespace>
<sectiondef kind="func">
- <memberdef kind="function" id="057__inlinenamespace_8cpp_1aba9375172f5b36e1f4fda9b1dec39d90" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
+ <memberdef kind="function" id="namespacelibrary_1_1v2_1aba9375172f5b36e1f4fda9b1dec39d90" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
<type>void</type>
<definition>void library::v2::func</definition>
<argsstring>()</argsstring>
<name>func</name>
<briefdescription>
+ <para>a method </para>
</briefdescription>
<detaileddescription>
</detaileddescription>
<inbodydescription>
</inbodydescription>
- <location file="057_inlinenamespace.cpp" line="16" column="14" declfile="057_inlinenamespace.cpp" declline="16" declcolumn="14"/>
+ <location file="057_inlinenamespace.cpp" line="33" column="14" declfile="057_inlinenamespace.cpp" declline="33" declcolumn="14"/>
</memberdef>
</sectiondef>
<briefdescription>
+ <para>the main namespace </para>
</briefdescription>
<detaileddescription>
</detaileddescription>
- <location file="057_inlinenamespace.cpp" line="5" column="1"/>
+ <location file="057_inlinenamespace.cpp" line="7" column="1"/>
</compounddef>
</doxygen>
diff --git a/testing/057/namespacelibrary_1_1v1.xml b/testing/057/namespacelibrary_1_1v1.xml
index 62eaabb..9a01e02 100644
--- a/testing/057/namespacelibrary_1_1v1.xml
+++ b/testing/057/namespacelibrary_1_1v1.xml
@@ -5,24 +5,26 @@
<innerclass refid="classlibrary_1_1v1_1_1foo" prot="public">library::v1::foo</innerclass>
<innernamespace refid="namespacelibrary_1_1v1_1_1_n_s">library::v1::NS</innernamespace>
<sectiondef kind="func">
- <memberdef kind="function" id="057__inlinenamespace_8cpp_1a2257981298fec15f79c54c28880ac15c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
+ <memberdef kind="function" id="namespacelibrary_1_1v1_1a2257981298fec15f79c54c28880ac15c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
<type>void</type>
<definition>void library::v1::func</definition>
<argsstring>()</argsstring>
<name>func</name>
<briefdescription>
+ <para>a method </para>
</briefdescription>
<detaileddescription>
</detaileddescription>
<inbodydescription>
</inbodydescription>
- <location file="057_inlinenamespace.cpp" line="10" column="14" declfile="057_inlinenamespace.cpp" declline="10" declcolumn="14"/>
+ <location file="057_inlinenamespace.cpp" line="19" column="14" declfile="057_inlinenamespace.cpp" declline="19" declcolumn="14"/>
</memberdef>
</sectiondef>
<briefdescription>
+ <para>the first namespace </para>
</briefdescription>
<detaileddescription>
</detaileddescription>
- <location file="057_inlinenamespace.cpp" line="7" column="5"/>
+ <location file="057_inlinenamespace.cpp" line="10" column="5"/>
</compounddef>
</doxygen>
diff --git a/testing/057/namespacelibrary_1_1v2.xml b/testing/057/namespacelibrary_1_1v2.xml
index b4ff956..fd848fd 100644
--- a/testing/057/namespacelibrary_1_1v2.xml
+++ b/testing/057/namespacelibrary_1_1v2.xml
@@ -4,10 +4,27 @@
<compoundname>library::v2</compoundname>
<innerclass refid="classlibrary_1_1v2_1_1foo" prot="public">library::v2::foo</innerclass>
<innernamespace refid="namespacelibrary_1_1v2_1_1_n_s">library::v2::NS</innernamespace>
+ <sectiondef kind="func">
+ <memberdef kind="function" id="namespacelibrary_1_1v2_1aba9375172f5b36e1f4fda9b1dec39d90" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
+ <type>void</type>
+ <definition>void library::v2::func</definition>
+ <argsstring>()</argsstring>
+ <name>func</name>
+ <briefdescription>
+ <para>a method </para>
+ </briefdescription>
+ <detaileddescription>
+ </detaileddescription>
+ <inbodydescription>
+ </inbodydescription>
+ <location file="057_inlinenamespace.cpp" line="33" column="14" declfile="057_inlinenamespace.cpp" declline="33" declcolumn="14"/>
+ </memberdef>
+ </sectiondef>
<briefdescription>
+ <para>the inline namespace </para>
</briefdescription>
<detaileddescription>
</detaileddescription>
- <location file="057_inlinenamespace.cpp" line="13" column="12"/>
+ <location file="057_inlinenamespace.cpp" line="24" column="12"/>
</compounddef>
</doxygen>
diff --git a/testing/057_inlinenamespace.cpp b/testing/057_inlinenamespace.cpp
index e3ac869..337c4b1 100644
--- a/testing/057_inlinenamespace.cpp
+++ b/testing/057_inlinenamespace.cpp
@@ -2,18 +2,36 @@
// check: namespacelibrary.xml
// check: namespacelibrary_1_1v1.xml
// check: namespacelibrary_1_1v2.xml
+
+/// the main namespace
namespace library
{
+ /// the first namespace
namespace v1
{
- class foo { public: void member(); };
+ /// the class
+ class foo {
+ public:
+ /// member of the class
+ void member();
+ };
+ /// a method
void func();
+ /// a namespace
namespace NS {}
}
+ /// the inline namespace
inline namespace v2
{
- class foo { public: void member(); };
+ /// the class
+ class foo {
+ public:
+ /// member of the class
+ void member();
+ };
+ /// a method
void func();
+ /// a namespace
namespace NS {}
}
}