libreoffice-online/test
Ashod Nakashian 7a327c337b wsd: force autoSave on always_save_on_exit
This forces autoSave when always_save_on_exit
is true. This is needed so we can guarantee
that we don't have modification and that
we upload if there has every been one.
The latter case is checked in
DocumentBroker::needToUploadToStorage(),
which is called from
DocumentBroker::checkAndUploadToStorage().

A new test reproduces the issue and defends
the fix.

Change-Id: I0b2105a57cfd7049ba7b1f63e62a700fdc3744c2
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-01-02 08:17:01 -05:00
..
data drop non-standard width=400 height=400 tile request in unit test 2023-06-23 16:55:25 +01:00
traces
.gitignore
countcoolkits.hpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
DeltaTests.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
fakesockettest.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
FileServeWhiteBoxTests.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
helpers.hpp cid#336285 Dereference null return value 2023-12-11 09:25:59 +01:00
httpcrashtest.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
HttpRequestTests.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
HttpTestServer.hpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
HttpWhiteBoxTests.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
httpwstest.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
integration-http-server.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
lokassert.hpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
Makefile.am experimentally bootstrap something using avx2 to generate bitmap 2023-09-25 16:55:04 +01:00
RequestDetailsTests.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
run_unit.sh.in wsd: test: better run_unit.sh 2023-10-24 09:20:32 +02:00
run_unit_standalone.sh.in wsd: test: better run_unit.sh 2023-10-24 09:20:32 +02:00
StringVectorTests.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
test.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
test.hpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
testlog.hpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
TileCacheTests.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
TileQueueTests.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitAdmin.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitBadDocLoad.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitCalc.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitClient.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitClose.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitConvert.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitCopyPaste.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitCursor.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitEachView.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitFuzz.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitHosting.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitHTTP.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitHTTP.hpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitInsertDelete.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitLargePaste.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitLoad.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitLoadTorture.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitOAuth.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitPasswordProtected.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitPaste.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitPrefork.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitQuarantine.cpp wsd: do not remove quarantine files explicitly 2023-12-27 06:10:17 -05:00
UnitRenderingOptions.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitRenderSearchResult.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitRenderShape.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitSession.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitStorage.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitTiffLoad.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitTileCache.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitTimeout.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitTyping.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitUNOCommand.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitWOPI.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitWOPIAsyncUpload_ModifyClose.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitWOPICrashModified.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitWOPIDocumentConflict.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitWOPIFailUpload.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitWOPIFileUrl.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitWOPIHttpHeaders.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitWOPIHttpRedirect.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitWOPILanguages.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitWOPILoadEncoded.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitWOPILock.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitWopiOwnertermination.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitWOPIRenameFile.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitWOPISaveAs.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitWOPISaveAsWithEncodedFileName.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitWOPISaveOnExit.cpp wsd: force autoSave on always_save_on_exit 2024-01-02 08:17:01 -05:00
UnitWOPISlow.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitWOPIStuckSave.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitWOPITemplate.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitWOPIVersionRestore.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitWOPIWatermark.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UnitWSDClient.hpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
UtilTests.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
WhiteBoxTests.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
WopiProofTests.cpp spdx: improve machine and human readability of headers. 2023-11-20 14:30:02 +00:00
WopiTestServer.hpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
WOPIUploadConflictCommon.hpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00