libreoffice-online/test
Ashod Nakashian 5c6cd3aaec wsd: test: properly include config.h in the tests
When config.h is not included, the build
configuration is missing from the translation
unit in question. This affects ENABLE_SSL,
for one.

Also, HttpRequest.hpp depends on LOOLWSD_VERSION,
which is defined in config.h.

The config.h header must be included in all
trasnlation-units, and must be the first include.
This is to avoid conflicts and/or mismatching
binaries built with different compile-time values.

We also statically assert if LOOLWSD_VERSION
is not defined, to help the error message.

Change-Id: Ic4b45de879f3360a07e9507fdf04abfa4cec6a71
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-02 12:43:39 -04:00
..
data
.gitignore
countloolkits.hpp admin: add support for lost kits cleanup 2021-04-01 22:09:44 +01:00
DeltaTests.cpp
fakesockettest.cpp
helpers.hpp wsd: test: use config to decide what URI to use in tests 2021-04-02 12:43:39 -04:00
httpcrashtest.cpp admin: add support for lost kits cleanup 2021-04-01 22:09:44 +01:00
HttpRequestTests.cpp wsd: test: http: improve HttpRequestTests 2021-03-22 10:09:22 -04:00
HttpWhiteBoxTests.cpp wsd: http: improve StatusLine 2021-03-22 10:09:22 -04:00
httpwstest.cpp
integration-http-server.cpp
lokassert.hpp wsd: test: LOK_ASSERT messages support ostream 2021-03-16 08:27:46 -04:00
Makefile.am wsd: more config features 2021-04-02 12:43:39 -04:00
run_unit.sh.in
test.cpp admin: add support for lost kits cleanup 2021-04-01 22:09:44 +01:00
test.hpp admin: add support for lost kits cleanup 2021-04-01 22:09:44 +01:00
testlog.hpp
TileCacheTests.cpp
TileQueueTests.cpp
UnitAdmin.cpp
UnitBadDocLoad.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitCalc.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitClient.cpp
UnitClose.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitConvert.cpp
UnitCopyPaste.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitCursor.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitEachView.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitFuzz.cpp
UnitHosting.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitHTTP.cpp
UnitInsertDelete.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitLargePaste.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitLoad.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitLoadTorture.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitOAuth.cpp
UnitOOB.cpp
UnitPasswordProtected.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitPaste.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitPrefork.cpp
UnitRenderingOptions.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitRenderShape.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitSession.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitStorage.cpp
UnitTiffLoad.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitTileCache.cpp
UnitTimeout.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitTyping.cpp
UnitUNOCommand.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitWOPI.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitWOPIDocumentConflict.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitWOPIFileUrl.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitWOPIHttpHeaders.cpp
UnitWOPILoadEncoded.cpp wsd: cleanup Poco headers 2021-03-22 10:09:22 -04:00
UnitWopiOwnertermination.cpp
UnitWOPIRenameFile.cpp
UnitWOPISaveAs.cpp
UnitWOPITemplate.cpp
UnitWOPIVersionRestore.cpp
UnitWOPIWatermark.cpp
WhiteBoxTests.cpp Add explanation for trick used in WhiteBoxTests::testTime() 2021-03-31 15:51:01 -04:00
WopiProofTests.cpp
WopiTestServer.hpp