nextcloud-desktop/test
Jocelyn Turcotte efb6b8c2c9 [overlays] Fix folders appearing as OK even though children are still syncing #4797
This would happen if the directory would first need to be created
through an mkdir propagation job. This job's itemCompleted signal
would trigger the directory to show as SYNC even though its children
are still propagating.

Fix the issue by tracking the sync count for each file, affecting
its parents. This allows us to get rid of the O(n) vector lookup
for each status query, and properly track the hierachical sync
status of a directory.

This also removes the itemCompleted signal emission from the
PropagateDirectory job. Since we only needed for overlay icons, and
since this job doesn't do any direct propagation, we can remove it
to ensure that we won't call itemCompleted twice for the item attached
to Propagate*Mkdir jobs (since the PropagateDirectory is backed by
the same SyncFileItem, instruction and status).
2016-08-17 15:40:02 +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 Add TestSyncEngine and TestSyncFileStatusTracker auto tests 2016-08-17 15:39:30 +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 Add TestSyncEngine and TestSyncFileStatusTracker auto tests 2016-08-17 15:39:30 +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 Add TestSyncEngine and TestSyncFileStatusTracker auto tests 2016-08-17 15:39:30 +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