chiark / gitweb /
doxygen: try to test more stuff on 1.8.13.
authorVladimír Vondruš <mosra@centrum.cz>
Sun, 28 Jan 2018 14:53:13 +0000 (15:53 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Sun, 28 Jan 2018 15:19:08 +0000 (16:19 +0100)
doxygen/test/example/path-prefix/configure.h.cmake
doxygen/test/example/path-prefix_2configure_8h_8cmake-example.html
doxygen/test/test_example.py

index 8f39964214f144d40f31cbd32c9bf6e229e54c29..8ae15a2daf4947bd004f99d0856960ac1fb03651 100644 (file)
@@ -1 +1,2 @@
 #cmakedefine SAY_HELLO
+#cmakedefine SAY_BYE
index 59313c0a35e3ee968fc0328b670fd1441e701dd8..c3a7bab45b336eedf80c52daadb50d95c5c81952 100644 (file)
@@ -26,7 +26,8 @@
           <span class="m-breadcrumb"><a href="example.html">The Example</a> &raquo;</span>
           configure.h.cmake <span class="m-thin">source</span>
         </h1>
-<pre class="m-code"><span class="cp">#cmakedefine SAY_HELLO</span></pre>
+<pre class="m-code"><span class="cp">#cmakedefine SAY_HELLO</span>
+<span class="cp">#cmakedefine SAY_BYE</span></pre>
         <div class="m-note m-dim m-thin m-text-center"><a href="path-prefix_2CMakeLists_8txt-example.html" class="m-dox">&laquo; CMakeLists.txt</a> | <a href="example.html" class="m-dox">The Example</a> | <a href="path-prefix_2main_8cpp-example.html" class="m-dox">main.cpp &raquo;</a></div>
       </div>
     </div>
index 974713495bd6a7da18f8d398b1a47b8ccdde8787..9648a93bd3356a8b1b684cf748299728a47c5358 100644 (file)
@@ -32,12 +32,16 @@ class Example(IntegrationTestCase):
     def __init__(self, *args, **kwargs):
         super().__init__(__file__, '', *args, **kwargs)
 
+    def test_cpp(self):
+        self.run_dox2html5(index_pages=[], wildcard='*.xml')
+
+        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'))
+
     @unittest.skipUnless(LooseVersion(doxygen_version()) > LooseVersion("1.8.13"),
                          "needs to have file extension exposed in the XML")
-    def test(self):
+    def test_other(self):
         self.run_dox2html5(index_pages=[], wildcard='*.xml')
 
         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'))