libreoffice-online/test
Michael Meeks 3feb7fe58c bgsave: don't process left-over tile messages from the KitQueue.
If we had a tilecombine processed in the same queue and before
a save - the 'render tiles at the end' state would be inherited by
the background save process and result in excess work, and also
binary messages where only text messages are expected returning.

The rest of the queue is cleared post fork.

Add unit test - plus hook to hold queue processing.

Change-Id: Iee937897000bc3ac149599844f1eab005affb131
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2024-05-10 16:30:37 +01:00
..
data cool#8465 clipboard: improve handling of plain text copy, complex case 2024-03-20 10:21:59 +01:00
traces
.gitignore
DeltaTests.cpp Move loadPng to Png.hpp to share it. 2024-03-10 20:06:53 +00:00
fakesockettest.cpp
FileServeWhiteBoxTests.cpp wsd: test: move single-use local map 2024-04-11 08:31:24 +01:00
helpers.hpp bgsave: change statusindicator protocol message to 'progress' + JSON. 2024-05-06 20:28:08 +01:00
httpcrashtest.cpp killpoco: remove lots of redundant JSON includes. 2024-04-25 09:06:13 +02:00
HttpRequestTests.cpp rng::getHardRandomHexString is now the same impl as rng::getHexString 2024-02-05 16:19:38 +00:00
HttpTestServer.hpp Replace Util::startsWith/endsWith w/ C++20 equivalent 2024-02-22 08:08:32 +01:00
HttpWhiteBoxTests.cpp
httpwstest.cpp wsd: allow for recovering from unloading document 2024-04-18 10:05:06 -04:00
integration-http-server.cpp Replace total pid count waits with targeted waits 2024-03-09 16:36:39 +00:00
KitPidHelpers.cpp Cleanup waitForKitPidsReady. 2024-03-25 08:18:35 +00:00
KitPidHelpers.hpp crash test - cope with more complexity around re-starting. 2024-03-25 08:18:35 +00:00
KitQueueTests.cpp Split outbound callback processing from incoming message queueing. 2024-05-09 17:47:15 +01:00
lokassert.hpp
Makefile.am Move common/MessageQueue.cpp -> kit/KitQueue.cpp. 2024-05-09 09:50:08 +01:00
RequestDetailsTests.cpp cool#8328 - config header fixup. 2024-02-21 09:35:25 +00:00
run_unit.sh.in
run_unit_standalone.sh.in
StringVectorTests.cpp
test.cpp Move kit pid helper functions to one file 2024-03-09 16:36:39 +00:00
test.hpp Move kit pid helper functions to one file 2024-03-09 16:36:39 +00:00
testlog.hpp
TileCacheTests.cpp Move common/MessageQueue.cpp -> kit/KitQueue.cpp. 2024-05-09 09:50:08 +01:00
UnitAdmin.cpp
UnitBadDocLoad.cpp wsd: test: move WebSocketSession under test 2024-03-21 09:08:51 +00:00
UnitCalc.cpp wsd: test: move WebSocketSession under test 2024-03-21 09:08:51 +00:00
UnitClient.cpp
UnitClose.cpp
UnitConvert.cpp
UnitCopyPaste.cpp wsd: test: move WebSocketSession under test 2024-03-21 09:08:51 +00:00
UnitCopyPasteWriter.cpp Related: cool#8648 clipboard: use JSON when requesting HTML only 2024-04-02 21:41:57 +01:00
UnitCursor.cpp Replace total pid count waits with targeted waits 2024-03-09 16:36:39 +00:00
UnitEachView.cpp
UnitFuzz.cpp
UnitHosting.cpp
UnitHTTP.cpp killpoco: reduce scope and number of various includes. 2024-03-06 20:56:55 -05:00
UnitHTTP.hpp
UnitInsertDelete.cpp
UnitJoinDisconnect.cpp add a test for joining doc and disconnecting 2024-05-03 20:14:11 +02:00
UnitLargePaste.cpp
UnitLoad.cpp wsd: test: move WebSocketSession under test 2024-03-21 09:08:51 +00:00
UnitLoadTorture.cpp wsd: test: move WebSocketSession under test 2024-03-21 09:08:51 +00:00
UnitOAuth.cpp
UnitPasswordProtected.cpp
UnitPaste.cpp
UnitPrefork.cpp
UnitQuarantine.cpp cid#360689 Uninitialized scalar field 2024-04-16 15:19:35 +02:00
UnitRenderingOptions.cpp
UnitRenderSearchResult.cpp
UnitRenderShape.cpp
UnitSaveTorture.cpp bgsave: don't process left-over tile messages from the KitQueue. 2024-05-10 16:30:37 +01:00
UnitSession.cpp bgsave: change statusindicator protocol message to 'progress' + JSON. 2024-05-06 20:28:08 +01:00
UnitStorage.cpp
UnitSyntheticLok.cpp test: create UnitSyntheticLok - to stub and override LOK behavior. 2024-04-29 10:56:54 +02:00
UnitTiffLoad.cpp Replace Util::startsWith/endsWith w/ C++20 equivalent 2024-02-22 08:08:32 +01:00
UnitTileCache.cpp
UnitTimeout.cpp
UnitTyping.cpp Move common/MessageQueue.cpp -> kit/KitQueue.cpp. 2024-05-09 09:50:08 +01:00
UnitUNOCommand.cpp Replace Util::startsWith/endsWith w/ C++20 equivalent 2024-02-22 08:08:32 +01:00
UnitWOPI.cpp wsd: test: better UnitOverload logging 2024-04-12 13:16:58 +01:00
UnitWOPIAsyncUpload_ModifyClose.cpp wsd: move deprecated logic under legacy_server config 2024-03-02 04:02:26 -05:00
UnitWOPICrashModified.cpp test: abort a test whose kit has a segfault by default. 2024-04-29 10:56:54 +02:00
UnitWOPIDocumentConflict.cpp
UnitWOPIFailUpload.cpp wsd: test: use LOK_ASSERT_STATE for more informative report 2024-03-05 12:21:50 +01:00
UnitWOPIFileUrl.cpp wsd: test: use LOK_ASSERT_STATE for more informative report 2024-03-05 12:21:50 +01:00
UnitWOPIHttpHeaders.cpp
UnitWOPIHttpRedirect.cpp wsd: test: use LOK_ASSERT_STATE for more informative report 2024-03-05 12:21:50 +01:00
UnitWOPILanguages.cpp Replace Util::startsWith/endsWith w/ C++20 equivalent 2024-02-22 08:08:32 +01:00
UnitWOPILoadEncoded.cpp
UnitWOPILock.cpp wsd: move deprecated logic under legacy_server config 2024-03-02 04:02:26 -05:00
UnitWopiOwnertermination.cpp wsd: more accurate load error message 2024-04-03 14:26:28 +01:00
UnitWOPIRenameFile.cpp
UnitWOPISaveAs.cpp
UnitWOPISaveAsWithEncodedFileName.cpp
UnitWOPISaveOnExit.cpp
UnitWOPISlow.cpp wsd: test: use LOK_ASSERT_STATE for more informative report 2024-03-05 12:21:50 +01:00
UnitWOPIStuckSave.cpp
UnitWOPITemplate.cpp wsd: test: use STATE_ENUM in tests 2024-03-05 12:21:50 +01:00
UnitWOPIVersionRestore.cpp
UnitWOPIWatermark.cpp
UnitWSDClient.hpp
UtilTests.cpp
WebSocketSession.hpp Callbacks: minor efficiency wins, avoid tokenizing where we can. 2024-05-09 17:47:15 +01:00
WhiteBoxTests.cpp MessageQueue cleanup, and avoid accidental use in tests. 2024-05-09 09:50:08 +01:00
WopiProofTests.cpp
WopiTestServer.hpp killpoco: remove lots of redundant JSON includes. 2024-04-25 09:06:13 +02:00
WOPIUploadConflictCommon.hpp wsd: test: use LOK_ASSERT_STATE for more informative report 2024-03-05 12:21:50 +01:00