chiark
/
gitweb
/
~cjwatson
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efe5986
)
doxygen: verify size of search data in the integration test.
author
Vladimír Vondruš
<mosra@centrum.cz>
Sun, 4 Feb 2018 21:15:37 +0000
(22:15 +0100)
committer
Vladimír Vondruš
<mosra@centrum.cz>
Sun, 4 Feb 2018 22:56:27 +0000
(23:56 +0100)
doxygen/test/test_search.py
patch
|
blob
|
history
diff --git
a/doxygen/test/test_search.py
b/doxygen/test/test_search.py
index 3641661048361eeb4240db375a61dddbbe9d7631..1724ef23c71755a867f775a20516ce55e6532a90 100755
(executable)
--- a/
doxygen/test/test_search.py
+++ b/
doxygen/test/test_search.py
@@
-364,8
+364,10
@@
class Search(IntegrationTestCase):
self.run_dox2html5(index_pages=[], wildcard='*.xml')
with open(os.path.join(self.path, 'html', 'searchdata.bin'), 'rb') as f:
- search_data_pretty = pretty_print(f.read())[0]
+ serialized = f.read()
+ search_data_pretty = pretty_print(serialized)[0]
#print(search_data_pretty)
+ self.assertEqual(len(serialized), 3712)
self.assertEqual(search_data_pretty, """
deprecated list [0]
|| dir [1]