From 3cc41c5960fdbfcfc976ecc25ff875963211434d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 22 Feb 2019 22:05:44 +0100 Subject: [PATCH] doxygen: harden the "anchor in both group and namespace" test. --- .../group__fizzbuzz.html | 59 +++++++++++++++++++ doxygen/test/test_contents.py | 3 +- 2 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 doxygen/test/contents_anchor_in_both_group_and_namespace/group__fizzbuzz.html diff --git a/doxygen/test/contents_anchor_in_both_group_and_namespace/group__fizzbuzz.html b/doxygen/test/contents_anchor_in_both_group_and_namespace/group__fizzbuzz.html new file mode 100644 index 00000000..3940b915 --- /dev/null +++ b/doxygen/test/contents_anchor_in_both_group_and_namespace/group__fizzbuzz.html @@ -0,0 +1,59 @@ + + + + + A group module | My Project + + + + + +
+
+
+
+
+

+ A group module

+
+

Contents

+ +
+
+

Functions

+
+
+ void bar() +
+
Bar.
+
+
+
+

Function documentation

+
+

+ void bar() +

+

Bar.

+

More details

+
+
+
+
+
+
+ + diff --git a/doxygen/test/test_contents.py b/doxygen/test/test_contents.py index f3928360..4c5ae36e 100644 --- a/doxygen/test/test_contents.py +++ b/doxygen/test/test_contents.py @@ -363,8 +363,9 @@ class AnchorInBothGroupAndNamespace(IntegrationTestCase): super().__init__(__file__, 'anchor_in_both_group_and_namespace', *args, **kwargs) def test(self): - self.run_dox2html5(wildcard='namespaceFoo.xml') + self.run_dox2html5(wildcard='*.xml') self.assertEqual(*self.actual_expected_contents('namespaceFoo.html')) + self.assertEqual(*self.actual_expected_contents('group__fizzbuzz.html')) class UnexpectedSections(IntegrationTestCase): def __init__(self, *args, **kwargs): -- 2.30.2