From cebf62e2ce5b09b31aed4cffca16be0e4475b22b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 16 Jan 2018 18:37:37 +0100 Subject: [PATCH] doxygen: test layout with minimal Doxyfile. --- doxygen/test/layout_minimal/Doxyfile | 1 + doxygen/test/layout_minimal/index.html | 54 +++++++++++++++++++++++ doxygen/test/layout_minimal/indexpage.xml | 11 +++++ doxygen/test/test_layout.py | 8 ++++ 4 files changed, 74 insertions(+) create mode 100644 doxygen/test/layout_minimal/Doxyfile create mode 100644 doxygen/test/layout_minimal/index.html create mode 100644 doxygen/test/layout_minimal/indexpage.xml 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')) -- 2.30.2