From: Vladimír Vondruš Date: Tue, 16 Jan 2018 17:37:37 +0000 (+0100) Subject: doxygen: test layout with minimal Doxyfile. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=cebf62e2ce5b09b31aed4cffca16be0e4475b22b;p=blog.git doxygen: test layout with minimal Doxyfile. --- diff --git a/doxygen/test/layout_minimal/Doxyfile b/doxygen/test/layout_minimal/Doxyfile new file mode 100644 index 00000000..8ec4cc49 --- /dev/null +++ b/doxygen/test/layout_minimal/Doxyfile @@ -0,0 +1 @@ +XML_OUTPUT = diff --git a/doxygen/test/layout_minimal/index.html b/doxygen/test/layout_minimal/index.html new file mode 100644 index 00000000..3042c426 --- /dev/null +++ b/doxygen/test/layout_minimal/index.html @@ -0,0 +1,54 @@ + + + + + My Project + + + + + + +
+
+
+
+
+

+ My Project +

+
+
+
+
+ + + diff --git a/doxygen/test/layout_minimal/indexpage.xml b/doxygen/test/layout_minimal/indexpage.xml new file mode 100644 index 00000000..fa7a2a87 --- /dev/null +++ b/doxygen/test/layout_minimal/indexpage.xml @@ -0,0 +1,11 @@ + + + + index + My Project + + + + + + diff --git a/doxygen/test/test_layout.py b/doxygen/test/test_layout.py index a986f50c..8d9cf9a3 100644 --- a/doxygen/test/test_layout.py +++ b/doxygen/test/test_layout.py @@ -31,3 +31,11 @@ class Layout(BaseTestCase): def test(self): self.run_dox2html5(wildcard='indexpage.xml') self.assertEqual(*self.actual_expected_contents('index.html')) + +class LayoutMinimal(BaseTestCase): + def __init__(self, *args, **kwargs): + super().__init__(__file__, 'minimal', *args, **kwargs) + + def test(self): + self.run_dox2html5(wildcard='indexpage.xml') + self.assertEqual(*self.actual_expected_contents('index.html'))