desktop/test
Matthieu Gallien b35a26091b add new test to simulate the data loss scenario
this new test trigger the assert that a file is either in the old place
or the new place when we execute a MOVE instruction for a local file

in the test one file is discovered as in need of a local MOVE but will
be missing from the old and new places when running the propagation due
to a bug

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-03-05 14:43:42 +01:00
..
benchmarks
csync Fix new typos found by codespell 2023-09-17 10:41:38 +02:00
manual/favlink
mockserver
CMakeLists.txt End-to-End Encryption V2. Implemented sharing between users. Automatic migration from 1.0 to 2.0(only for flat folders). Improved secure filedrop. 2024-01-29 16:13:25 +01:00
activitylistmodeltestutils.cpp Unit tests for federated share activity actions 2024-03-05 09:13:12 +01:00
activitylistmodeltestutils.h Activity list fixes and improvements. Adjusted sorting to show interactive and security activities always on top (after errors). Added button to scroll up when new activity arrives. Improved sync status scrollbar. 2023-09-22 15:28:50 +02:00
e2etestsfakecert.pem Fix unit tests SecureFileDrop 2023-04-05 12:21:28 +02:00
e2etestsfakecertprivatekey.pem Fix unit tests SecureFileDrop 2023-04-05 12:21:28 +02:00
e2etestsfakecertpublickey.pem Fix unit tests SecureFileDrop 2023-04-05 12:21:28 +02:00
endtoendtestutils.cpp Add an end to end test utils file 2022-11-23 08:40:46 +01:00
endtoendtestutils.h Add an end to end test utils file 2022-11-23 08:40:46 +01:00
fake2eelocksucceeded.json Implement Secure filedrop link share. Move data from 'filedrop' to 'files' when syncing E2EE folders. 2023-03-02 19:29:11 +01:00
fakefiledrope2eefoldermetadata.json Fix unit tests SecureFileDrop 2023-04-05 12:21:28 +02:00
nextcloud_add_test.cmake Always build E2E tests, but only add to test suite if enabled 2022-11-23 08:40:46 +01:00
pushnotificationstestutils.cpp
pushnotificationstestutils.h add [[nodiscard]] attribute via clang-tidy 2022-10-04 11:14:45 +02:00
sharetestutils.cpp Fix bad remote path in sharetestutils fakefolder, which led to failed FakePropfindReply being provided in tests 2022-12-13 17:40:16 +01:00
sharetestutils.h more fixes for attributes without init value 2023-02-06 10:43:05 +01:00
stubfolderman.cpp
stubremotewipe.cpp
syncenginetestutils.cpp Add find method to DiskFileModifier class in SyncEngineTestUtils 2023-08-07 16:25:19 +08:00
syncenginetestutils.h End-to-End Encryption V2. Implemented sharing between users. Automatic migration from 1.0 to 2.0(only for flat folders). Improved secure filedrop. 2024-01-29 16:13:25 +01:00
test_journal.db
testaccount.cpp fix [[nodiscard]] single warning 2022-10-04 11:14:45 +02:00
testactivitydata.cpp to store subjectRichParameters use a QVariantMap that is qml friendly 2023-05-17 18:16:08 +02:00
testactivitylistmodel.cpp Unit tests for federated share activity actions 2024-03-05 09:13:12 +01:00
testallfilesdeleted.cpp Fix typos found by codespell 2023-06-21 08:47:13 +02:00
testasyncop.cpp Enforce Chunk V2 API chunk size limits at the sync options level 2023-08-31 15:25:00 +02:00
testblacklist.cpp
testcapabilities.cpp
testcfapishellextensionsipc.cpp fix issues reported by compiling windows code with clang-tidy 2023-02-22 16:50:20 +01:00
testchecksumvalidator.cpp Fix crash. Remove unnecessary dependency injection causing crash. 2023-11-09 13:24:10 +01:00
testchunkingng.cpp Add test for Chunk V2 restrictions in testchunkingng 2023-08-31 15:25:00 +02:00
testclientsideencryption.cpp End-to-End Encryption V2. Implemented sharing between users. Automatic migration from 1.0 to 2.0(only for flat folders). Improved secure filedrop. 2024-01-29 16:13:25 +01:00
testclientsideencryptionv2.cpp End-to-End Encryption V2. Implemented sharing between users. Automatic migration from 1.0 to 2.0(only for flat folders). Improved secure filedrop. 2024-01-29 16:13:25 +01:00
testclientstatusreporting.cpp Client Status Reporting. Only report statuses listed on the server. 2024-02-28 14:47:37 +01:00
testconcaturl.cpp
testcookies.cpp
testdatabaseerror.cpp
testdatefieldbackend.cpp Add a test for the various ways of setting a date on datefieldbackend 2023-09-13 10:15:14 +02:00
testdownload.cpp fix ignored signals due to using old connect syntax 2023-06-28 11:21:50 +02:00
teste2efiletransfer.cpp initialize all variables 2023-02-06 10:43:04 +01:00
teste2eserversetup.cpp Add a test to check e2e server test setup 2022-11-23 08:40:46 +01:00
testexcludedfiles.cpp Adapt test 2 2023-07-18 10:57:17 +02:00
testfiletagmodel.cpp Test important properties in testfiletagmodel 2023-05-16 18:23:33 +08:00
testfolder.cpp
testfolderman.cpp End-to-End Encryption V2. Implemented sharing between users. Automatic migration from 1.0 to 2.0(only for flat folders). Improved secure filedrop. 2024-01-29 16:13:25 +01:00
testfolderwatcher.cpp use new connect syntax 2023-02-28 09:36:27 +01:00
testhelper.cpp Moved all server mocking code for share model test to independent ShareTestUtils file 2022-10-31 18:06:10 +01:00
testhelper.h Make accountstate fakeable for tests 2023-01-24 17:00:14 +01:00
testiconutils.cpp
testinotifywatcher.cpp
testlocaldiscovery.cpp Always discover blacklisted folders locally, to avoid data loss of non-uploaded files when modifying selectivesync list. 2023-02-23 10:58:57 +01:00
testlockedfiles.cpp fix issues reported by compiling windows code with clang-tidy 2023-02-22 16:50:20 +01:00
testlockfile.cpp File locking. Manual lock should never be modified without user intervention. Set token lock instead of user lock when locking office files automatically. 2024-01-18 10:21:09 +01:00
testlongpath.cpp
testnetrcparser.cpp
testnextcloudpropagator.cpp Report error Virus Detected. Updated tests. 2023-12-11 18:03:57 +01:00
testownsql.cpp
testpermissions.cpp Fix residual typos found by codespell 2023-09-16 20:36:56 +02:00
testplan.txt
testpushnotifications.cpp Fix typos found by codespell 2023-06-21 08:47:13 +02:00
testremotediscovery.cpp
testremotewipe.cpp
testsecurefiledrop.cpp End-to-End Encryption V2. Implemented sharing between users. Automatic migration from 1.0 to 2.0(only for flat folders). Improved secure filedrop. 2024-01-29 16:13:25 +01:00
testselectivesync.cpp ensure we do not restore unselected folders from selective sync 2023-10-16 22:00:00 +02:00
testsetuserstatusdialog.cpp add [[nodiscard]] attribute via clang-tidy 2022-10-04 11:14:45 +02:00
testshareemodel.cpp Display 'Search globally' as the last sharees list element 2023-03-03 18:01:05 +01:00
testsharemodel.cpp Incorporate internal link share into tests 2022-12-13 17:33:38 +01:00
testsortedactivitylistmodel.cpp Activity list fixes and improvements. Adjusted sorting to show interactive and security activities always on top (after errors). Added button to scroll up when new activity arrives. Improved sync status scrollbar. 2023-09-22 15:28:50 +02:00
testsortedsharemodel.cpp remove custom property to set a source model in a sort proxy model 2023-05-17 18:16:08 +02:00
testsynccfapi.cpp Unit tests for the type change. 2023-12-13 11:43:25 +01:00
testsyncconflict.cpp Update file's metadata in the local database when the etag changes while file remains unchanged. Fix subsequent conflict when locking and unlocking. 2022-12-30 16:57:32 +01:00
testsyncconflictsmodel.cpp improve automated tests 2023-05-17 08:43:54 +02:00
testsyncdelete.cpp Fix typos found by codespell 2023-06-21 08:47:13 +02:00
testsyncengine.cpp immediately flush logs in automated test of sync engine 2023-12-14 14:39:47 +01:00
testsyncfileitem.cpp fully qualify types in signals and slots 2022-11-15 09:57:54 +01:00
testsyncfilestatustracker.cpp Unit tests for ignorelist exclude status stuck. 2024-03-05 10:40:09 +01:00
testsyncjournaldb.cpp Replace comments about relevancy of chunk to propagat v1 with variable name change 2023-08-31 15:25:00 +02:00
testsyncmove.cpp add new test to simulate the data loss scenario 2024-03-05 14:43:42 +01:00
testsyncvirtualfiles.cpp add an automated test to check that locked files are read-only 2023-08-21 12:57:16 +02:00
testsyncxattr.cpp Fix typo 2022-12-13 09:22:58 +01:00
testtalkreply.cpp
testtheme.cpp
testunifiedsearchlistmodel.cpp Fix new typos found by codespell 2023-09-17 10:41:38 +02:00
testupdater.cpp
testuploadreset.cpp
testutility.cpp Bugfix. E2EE V2. Fix incorrect root e2ee folder path search in local db. 2024-02-28 15:37:50 +01:00
testxmlparse.cpp use new connect syntax 2023-02-28 09:36:27 +01:00
themeutils.cpp
themeutils.h add [[nodiscard]] attribute via clang-tidy 2022-10-04 11:14:45 +02:00