From: Vladimír Vondruš Date: Thu, 18 Jan 2018 20:25:36 +0000 (+0100) Subject: doxygen: test that example pages work even without breadcrumb/footer nav. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=2592a3a7a3a603a4009c96bc7c11619cf2c5aa85;p=blog.git doxygen: test that example pages work even without breadcrumb/footer nav. --- diff --git a/doxygen/test/example/a.txt b/doxygen/test/example/a.txt new file mode 100644 index 00000000..5176d961 --- /dev/null +++ b/doxygen/test/example/a.txt @@ -0,0 +1 @@ +this example has no breadcrumb and also no footer nav diff --git a/doxygen/test/example/a_8txt-example.html b/doxygen/test/example/a_8txt-example.html new file mode 100644 index 00000000..9eca46f0 --- /dev/null +++ b/doxygen/test/example/a_8txt-example.html @@ -0,0 +1,31 @@ + + + + + a.txt source | My Project + + + + + +
+
+
+
+
+

+ a.txt source +

+
this example has no breadcrumb and also no footer nav
+
+
+
+
+ + diff --git a/doxygen/test/example/input.dox b/doxygen/test/example/input.dox index 507035d5..7179ba3b 100644 --- a/doxygen/test/example/input.dox +++ b/doxygen/test/example/input.dox @@ -14,4 +14,5 @@ See here: @example path-prefix/CMakeLists.txt @m_examplenavigation{example,path-prefix/} @m_footernavigation @example path-prefix/configure.h.cmake @m_examplenavigation{example,path-prefix/} @m_footernavigation @example path-prefix/main.cpp @m_examplenavigation{example,path-prefix/} @m_footernavigation +@example a.txt */ diff --git a/doxygen/test/test_example.py b/doxygen/test/test_example.py index adbc564b..97471349 100644 --- a/doxygen/test/test_example.py +++ b/doxygen/test/test_example.py @@ -40,3 +40,4 @@ class Example(IntegrationTestCase): self.assertEqual(*self.actual_expected_contents('path-prefix_2CMakeLists_8txt-example.html')) self.assertEqual(*self.actual_expected_contents('path-prefix_2configure_8h_8cmake-example.html')) self.assertEqual(*self.actual_expected_contents('path-prefix_2main_8cpp-example.html')) + self.assertEqual(*self.actual_expected_contents('a_8txt-example.html'))