From: Vladimír Vondruš Date: Fri, 22 Feb 2019 21:05:44 +0000 (+0100) Subject: doxygen: harden the "anchor in both group and namespace" test. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=3cc41c5960fdbfcfc976ecc25ff875963211434d;p=blog.git doxygen: harden the "anchor in both group and namespace" test. --- 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):