libreoffice-online/test
Ashod Nakashian 099246d67a wsd: unload when no Kit and nothing to upload
When the Kit dies and there is no data saved to
disk to upload, there is nothing to do but unload
DocBroker and log the fact.

With unit-test that simulates the situation by
killing the Kit of a modified document.

Change-Id: I7dcc0583c053d7166935d15d045fcf6624e43b4e
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-30 23:18:57 -04:00
..
data wsd: test: faster unit-test execution 2022-03-09 19:24:40 -05:00
traces Detect trace replay errors & exit and cleanup traces. 2022-02-21 15:37:05 +00:00
.gitignore
countcoolkits.hpp wsd: wait longer when restarting forkit 2022-03-16 08:31:54 -04:00
DeltaTests.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
fakesockettest.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
helpers.hpp Unit test for &lang=es-419 style code, disliked by boost gettext. 2022-03-02 16:26:36 +00:00
httpcrashtest.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
HttpRequestTests.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
HttpTestServer.hpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
HttpWhiteBoxTests.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
httpwstest.cpp Unit test for &lang=es-419 style code, disliked by boost gettext. 2022-03-02 16:26:36 +00:00
integration-http-server.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
lokassert.hpp wsd: test: correctly show the failing code in the assertion message 2022-03-21 08:57:41 +00:00
Makefile.am wsd: unload when no Kit and nothing to upload 2022-03-30 23:18:57 -04:00
run_unit.sh.in wsd: test: reduce output from the test driver 2022-03-09 19:24:40 -05:00
test.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
test.hpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
testlog.hpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
TileCacheTests.cpp wsd: test: faster unit-test execution 2022-03-09 19:24:40 -05:00
TileQueueTests.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
UnitAdmin.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitBadDocLoad.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
UnitCalc.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
UnitClient.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitClose.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
UnitConvert.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
UnitCopyPaste.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
UnitCursor.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
UnitEachView.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
UnitFuzz.cpp Move LOOLWebSocket into test/ - where it can be slowly removed. 2021-10-11 13:40:20 +01:00
UnitHosting.cpp wsd: test: improved and simplify test logging 2022-02-17 18:52:48 -05:00
UnitHTTP.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitHTTP.hpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitInsertDelete.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
UnitLargePaste.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
UnitLoad.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
UnitLoadTorture.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
UnitOAuth.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitPasswordProtected.cpp test: make the test more specific 2022-03-17 18:31:41 +05:30
UnitPaste.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
UnitPrefork.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitRenderingOptions.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
UnitRenderSearchResult.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
UnitRenderShape.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
UnitSession.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
UnitStorage.cpp wsd: stop loading when low on disk space 2022-03-16 08:31:54 -04:00
UnitTiffLoad.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
UnitTileCache.cpp
UnitTimeout.cpp
UnitTyping.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
UnitUNOCommand.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitWOPI.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitWOPIAsyncUpload_Close.cpp wsd: test: improved test state machine 2022-01-11 09:28:03 +01:00
UnitWOPIAsyncUpload_Modify.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitWOPIAsyncUpload_ModifyClose.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitWOPICrashModified.cpp wsd: unload when no Kit and nothing to upload 2022-03-30 23:18:57 -04:00
UnitWOPIDocumentConflict.cpp wsd: test: assert correct wopi GetFile and PutFile 2022-03-09 19:24:40 -05:00
UnitWOPIFailUpload.cpp wsd: test: assert forced uploading when expected 2022-03-09 19:24:40 -05:00
UnitWOPIFileUrl.cpp test: modernize http response in tests and simplify 2022-02-04 10:26:49 -05:00
UnitWOPIHttpHeaders.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitWOPIHttpRedirect.cpp wsd: test: make WopiTestServer less public 2022-02-17 18:52:48 -05:00
UnitWOPIHttpRedirectLoop.cpp
UnitWOPILoadEncoded.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitWOPILock.cpp wsd: test: minor cleanup in UnitWOPILock 2022-02-24 07:38:13 -05:00
UnitWopiOwnertermination.cpp wsd: test: modernize and improve UnitWopiOwnertermination 2022-03-09 19:24:40 -05:00
UnitWOPIRenameFile.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitWOPISaveAs.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitWOPISaveAsWithEncodedFileName.cpp unit test for save-as files with encoding characters in the name 2021-12-06 12:19:38 +03:00
UnitWOPISaveOnExit.cpp wsd: test: assert correct wopi GetFile and PutFile 2022-03-09 19:24:40 -05:00
UnitWOPISlow.cpp wsd: test: make WopiTestServer less public 2022-02-17 18:52:48 -05:00
UnitWOPITemplate.cpp test: modernize http response in tests and simplify 2022-02-04 10:26:49 -05:00
UnitWOPIVersionRestore.cpp wsd: test: modernize UnitWOPIVersionRestore 2022-02-17 18:52:48 -05:00
UnitWOPIWatermark.cpp test: modernize http response in tests and simplify 2022-02-04 10:26:49 -05:00
UtilTests.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
WhiteBoxTests.cpp wsd: test: embue all tests with a name and unify logs 2022-02-17 18:52:48 -05:00
WopiProofTests.cpp fix -Werror=unused-parameter 2022-03-04 13:07:37 +01:00
WopiTestServer.hpp wsd: test: ingest the doc content only when PutFile succeeds 2022-03-09 19:24:40 -05:00
WOPIUploadConflictCommon.hpp wsd: test: assert forced uploading when expected 2022-03-09 19:24:40 -05:00