chiark / gitweb /
documentation/doxygen: the xrefim order change was just "temporary".
authorVladimír Vondruš <mosra@centrum.cz>
Mon, 10 Jan 2022 20:25:10 +0000 (21:25 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Mon, 10 Jan 2022 20:33:19 +0000 (21:33 +0100)
Followup to 4ec09a2c97f60c2c673de337d7dabdc198592f4a. A temporary
regression from 1.8.18 to 1.8.20, 1.9.0 is back to what 1.8.17 had. Heh.
Heh.

documentation/test_doxygen/contents_blocks/old.html
documentation/test_doxygen/contents_blocks/old_1818.html [moved from documentation/test_doxygen/contents_blocks/old_1817.html with 66% similarity]
documentation/test_doxygen/test_contents.py

index acb3c1c03023e4207a8ffc4e514acc39028b1d37..13f01f802a66983546d5cbdd1592d46b3c07385f 100644 (file)
@@ -22,7 +22,7 @@
         <h1>
           Just old
         </h1>
-<dl class="m-doc"><dt>page <a href="index.html" class="m-doc">Main Page</a></dt><dd><p><a name="_old000001"></a> This is old.</p><p><a name="_old000002"></a> This is not merged.</p><p><a name="_old000003"></a> With this. Only on the listing page.</p></dd><dt>Member <a href="File_8h.html#a14bcd2d544b22300bba3863251393e0f" class="m-doc">foo</a>  ()</dt><dd><p><a name="_old000004"></a> Xrefitem, gets merged</p><p>with this one by Doxygen itself.</p></dd></dl>
+<dl class="m-doc"><dt>Member <a href="File_8h.html#a14bcd2d544b22300bba3863251393e0f" class="m-doc">foo</a>  ()</dt><dd><p><a name="_old000004"></a> Xrefitem, gets merged</p><p>with this one by Doxygen itself.</p></dd><dt>page <a href="index.html" class="m-doc">Main Page</a></dt><dd><p><a name="_old000001"></a> This is old.</p><p><a name="_old000002"></a> This is not merged.</p><p><a name="_old000003"></a> With this. Only on the listing page.</p></dd></dl>
       </div>
     </div>
   </div>
similarity index 66%
rename from documentation/test_doxygen/contents_blocks/old_1817.html
rename to documentation/test_doxygen/contents_blocks/old_1818.html
index 13f01f802a66983546d5cbdd1592d46b3c07385f..acb3c1c03023e4207a8ffc4e514acc39028b1d37 100644 (file)
@@ -22,7 +22,7 @@
         <h1>
           Just old
         </h1>
-<dl class="m-doc"><dt>Member <a href="File_8h.html#a14bcd2d544b22300bba3863251393e0f" class="m-doc">foo</a>  ()</dt><dd><p><a name="_old000004"></a> Xrefitem, gets merged</p><p>with this one by Doxygen itself.</p></dd><dt>page <a href="index.html" class="m-doc">Main Page</a></dt><dd><p><a name="_old000001"></a> This is old.</p><p><a name="_old000002"></a> This is not merged.</p><p><a name="_old000003"></a> With this. Only on the listing page.</p></dd></dl>
+<dl class="m-doc"><dt>page <a href="index.html" class="m-doc">Main Page</a></dt><dd><p><a name="_old000001"></a> This is old.</p><p><a name="_old000002"></a> This is not merged.</p><p><a name="_old000003"></a> With this. Only on the listing page.</p></dd><dt>Member <a href="File_8h.html#a14bcd2d544b22300bba3863251393e0f" class="m-doc">foo</a>  ()</dt><dd><p><a name="_old000004"></a> Xrefitem, gets merged</p><p>with this one by Doxygen itself.</p></dd></dl>
       </div>
     </div>
   </div>
index debb41d7bf344ea0d82a70fdce396ddfa267d2e6..5ac350f36e4ecad3aeda1ee45c070a19a3857df9 100644 (file)
@@ -70,11 +70,11 @@ class Blocks(IntegrationTestCase):
         else:
             self.assertEqual(*self.actual_expected_contents('todo.html', 'todo_1814.html'))
 
-        # 1.8.18 has a different order, not sure why
-        if LooseVersion(doxygen_version()) >= LooseVersion("1.8.18"):
-            self.assertEqual(*self.actual_expected_contents('old.html'))
+        # 1.8.18 to 1.8.20 has a different order, not sure why
+        if LooseVersion(doxygen_version()) >= LooseVersion("1.8.18") and LooseVersion(doxygen_version()) < LooseVersion("1.9.0"):
+            self.assertEqual(*self.actual_expected_contents('old.html', 'old_1818.html'))
         elif LooseVersion(doxygen_version()) > LooseVersion("1.8.14"):
-            self.assertEqual(*self.actual_expected_contents('old.html', 'old_1817.html'))
+            self.assertEqual(*self.actual_expected_contents('old.html'))
         else:
             self.assertEqual(*self.actual_expected_contents('old.html', 'old_1814.html'))