From a32a778635bef381022c90e3944bedfca539d6a0 Mon Sep 17 00:00:00 2001 From: albert-github Date: Sun, 22 Nov 2020 13:25:09 +0100 Subject: Doxygen warnings are not seen as errors during running tests Corrected warnings of test 57. --- testing/057/namespacelibrary.xml | 8 +++++--- testing/057/namespacelibrary_1_1v1.xml | 8 +++++--- testing/057/namespacelibrary_1_1v2.xml | 19 ++++++++++++++++++- testing/057_inlinenamespace.cpp | 22 ++++++++++++++++++++-- 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 @@ library::v2 library::v2::NS - + void void library::v2::func () func + a method - + + the main namespace - + 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 @@ library::v1::foo library::v1::NS - + void void library::v1::func () func + a method - + + the first namespace - + 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 @@ library::v2 library::v2::foo library::v2::NS + + + void + void library::v2::func + () + func + + a method + + + + + + + + + the inline namespace - + 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 {} } } -- cgit v0.12