nextcloud-desktop/test
Olivier Goffart 85b8ab178e SyncEngine: Fix renaming of folder when file are changed (#5195)
Two bugs:
 - The change filed are not considered as move, they are re-downloaded
   but the old file was not removed from the database. The change in
   owncloudpropagator.cpp takes care of removing the old entries.

 - Next sync would then remove the file in the server in the old folder
   This was not a problem until we start reusing the sync engine, and
   that the _renamedFolders map is not cleared. We were before deleting
   a non-existing file. But now we delete the actual file.

Also improve the tests to be able to do move on the server.
This include support for file id.

Issue #5192
2016-09-22 09:02:47 +02:00
..
manual/favlink Some fixes for favlink manual test 2015-02-06 15:29:36 +01:00
mockserver Bump to 1.9 2015-05-06 17:01:05 +02:00
scripts Minor typos in client test section 2015-09-10 18:11:44 +05:45
CMakeLists.txt Fix the Qt4 unit testing build 2016-08-18 10:34:07 +02:00
owncloud_add_test.cmake For tests we do not need a xserver running. 2016-05-12 11:34:21 +02:00
stub.cpp AccountState: Allow storing state in settings 2016-03-01 16:08:23 +01:00
syncenginetestutils.h SyncEngine: Fix renaming of folder when file are changed (#5195) 2016-09-22 09:02:47 +02:00
test_journal.db Checksums: Don't reupload if size and checksum are unchanged #3235 2015-11-23 11:59:56 +01:00
testchecksumvalidator.cpp Qt4: don't require a X server in the tests 2016-07-11 14:04:58 +02:00
testconcaturl.cpp For tests we do not need a xserver running. 2016-05-12 11:34:21 +02:00
testcsyncsqlite.cpp For tests we do not need a xserver running. 2016-05-12 11:34:21 +02:00
testexcludedfiles.cpp Fix compile warnings in tests 2016-06-07 09:43:04 +02:00
testfilesystem.cpp For tests we do not need a xserver running. 2016-05-12 11:34:21 +02:00
testfolder.cpp For tests we do not need a xserver running. 2016-05-12 11:34:21 +02:00
testfolderman.cpp For tests we do not need a xserver running. 2016-05-12 11:34:21 +02:00
testfolderwatcher.cpp Qt4: don't require a X server in the tests 2016-07-12 11:07:12 +02:00
testinotifywatcher.cpp For tests we do not need a xserver running. 2016-05-12 11:34:21 +02:00
testnetrcparser.cpp For tests we do not need a xserver running. 2016-05-12 11:34:21 +02:00
testowncloudpropagator.cpp For tests we do not need a xserver running. 2016-05-12 11:34:21 +02:00
testownsql.cpp For tests we do not need a xserver running. 2016-05-12 11:34:21 +02:00
testplan.txt Minor typos in client test section 2015-09-10 18:11:44 +05:45
testsyncengine.cpp SyncEngine: Fix renaming of folder when file are changed (#5195) 2016-09-22 09:02:47 +02:00
testsyncfileitem.cpp For tests we do not need a xserver running. 2016-05-12 11:34:21 +02:00
testsyncfilestatustracker.cpp [overlays] Fix folders appearing as OK even though children are still syncing #4797 2016-08-17 15:40:02 +02:00
testsyncjournaldb.cpp For tests we do not need a xserver running. 2016-05-12 11:34:21 +02:00
testupdater.cpp For tests we do not need a xserver running. 2016-05-12 11:34:21 +02:00
testutility.cpp A final release version number breaks this regex (#4835) 2016-05-13 16:55:11 +02:00
testxmlparse.cpp Qt4: don't require a X server in the tests 2016-07-12 11:07:12 +02:00