chiark / gitweb /
documentation/doxygen: use a type with known stable hash in a test.
authorVladimír Vondruš <mosra@centrum.cz>
Sat, 14 Sep 2024 00:21:06 +0000 (02:21 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Sat, 14 Sep 2024 00:46:33 +0000 (02:46 +0200)
Because every const, < or > matters with this thing. Every new release
is different hashes, FFS. This handcrafted name fortunately has the same
URL hash in both 1.8.16 and 1.12.

documentation/test_doxygen/search_long_suffix_length/File.h
documentation/test_doxygen/test_search.py

index 8326f7cb9bd69417c1f56a440c09aaa9cdfecb57..fd7b6b0f3ae25ce08d05bc246f9ba10c11804005 100644 (file)
@@ -1,10 +1,8 @@
-#include <string>
-#include <functional>
-#include <vector>
-
 /** @file
  * @brief A file
  */
 
+typedef int ThisIsALongTypeForWhichIWantDoxygenToCalculateTheSameHashAlways;
+
 /** @brief One fun function */
-bool aVeryLongFunctionName(const std::reference_wrapper<const std::vector<std::string>>& a, const std::reference_wrapper<const std::vector<std::string>>& b, const std::reference_wrapper<const std::vector<std::string>>& c, const std::reference_wrapper<const std::vector<std::string>>& d, const std::reference_wrapper<const std::vector<std::string>>& e, const std::reference_wrapper<const std::vector<std::string>>& f, const std::reference_wrapper<const std::vector<std::string>>& g);
+bool aVeryLongFunctionName(ThisIsALongTypeForWhichIWantDoxygenToCalculateTheSameHashAlways a, ThisIsALongTypeForWhichIWantDoxygenToCalculateTheSameHashAlways b, ThisIsALongTypeForWhichIWantDoxygenToCalculateTheSameHashAlways c, ThisIsALongTypeForWhichIWantDoxygenToCalculateTheSameHashAlways d, ThisIsALongTypeForWhichIWantDoxygenToCalculateTheSameHashAlways e, ThisIsALongTypeForWhichIWantDoxygenToCalculateTheSameHashAlways f, ThisIsALongTypeForWhichIWantDoxygenToCalculateTheSameHashAlways g);
index 7807ab2eec2cdb81cf8c7821d12f02866d03d999..2d988e8ef833f3c074451a92dde79e3837abd18a 100755 (executable)
@@ -262,7 +262,7 @@ file.h [2]
 averylongfunctionname [0]
 |                    ($
 |                     ) [1]
-0: ::aVeryLongFunctionName(const std::reference_wrapper<const std::vector<s…) [prefix=2[:12], suffix_length=53, type=FUNC] -> #a1e9a11887275938ef5541070955c9d9c
+0: ::aVeryLongFunctionName(ThisIsALongTypeForWhichIWantDoxygenToCalculateTh…) [prefix=2[:12], suffix_length=53, type=FUNC] -> #a59c56fdef398e152efce8bc46793d455
 1:  [prefix=0[:46], suffix_length=51, type=FUNC] ->
 2: File.h [type=FILE] -> File_8h.html
 (EntryType.PAGE, CssClass.SUCCESS, 'page'),