mirror of
https://github.com/kiwix/libkiwix.git
synced 2026-10-24 09:59:24 -04:00
Split test/server.cpp
The file starts now to be too long. - Move testing of the search html result in `test/server_html_search.cpp` - Move common code used to launch server and so in `test/server_testing_tools.h' This is mainly code move with a small change: Instead of setting the default PORT (8001) as a const int in the `ServerTest` class, we now use SERVER_PORT. SERVER_PORT must be defined before include `server_testing_tools.h`. This allow several test to be run in parallele without trying to open the same port.
This commit is contained in:
1 parent
cadd2a5cbb
commit
a0cf91157a
4 files changed
+1469
-1454
No files matched your search
+3
-1453
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user