nextcloud-desktop/test
Jocelyn Turcotte b68a28de8d StatusTracker: Emit OK for the last child before parents (#5467)
The current logic tried to avoid a DB lookup just to fetch whether
the file is shared or not since that info is already in the
SyncFileItem. The implementation would however need to decrease the
sync count for itself (and parents) before emitting the new status,
thus emitting the OK status for parents before that last child that
ended the propagation for that folder.

Change the implementation to achieve what we want: give the
possibility to decSyncCount to use a pre-fetched sharing state while
still doing the emission for all involved files. This ensures that
the leaf file also gets its status emitted before its parents.

Issue #4797
2017-01-18 15:40:52 +01:00
..
manual/favlink License: Adjust license of GPLv2 source files to GPLv2+ 2016-10-25 11:06:54 +02:00
mockserver License: Adjust license of GPLv2 source files to GPLv2+ 2016-10-25 11:06:54 +02:00
scripts License: Adjust license of GPLv2 source files to GPLv2+ 2016-10-25 11:06:54 +02:00
CMakeLists.txt Disable RTTI 2017-01-17 14:52:10 +01: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 Reset stuck chunked uploads eventually #5344 (#5443) 2017-01-13 14:44:45 +01: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
testchunkingng.cpp ChunkingNG: remove stale files when resuming 2016-11-04 16:43:01 +01:00
testconcaturl.cpp Move concatUrl and settingsWithGroup to Utility 2016-10-25 12:05:28 +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 Fix compile of tests 2017-01-03 10:52:39 +01: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 a folder should keep the selective sync state 2016-10-11 14:38:25 +02:00
testsyncfileitem.cpp For tests we do not need a xserver running. 2016-05-12 11:34:21 +02:00
testsyncfilestatustracker.cpp StatusTracker: Emit OK for the last child before parents (#5467) 2017-01-18 15:40:52 +01:00
testsyncjournaldb.cpp Bugfixes for sync journal name generation and usage 2016-11-23 16:48:15 +01:00
testupdater.cpp For tests we do not need a xserver running. 2016-05-12 11:34:21 +02:00
testuploadreset.cpp Reset stuck chunked uploads eventually #5344 (#5443) 2017-01-13 14:44:45 +01:00
testutility.cpp Fix compilation with Qt < 5.1 2016-11-29 10:39:08 +01:00
testxmlparse.cpp Qt4: don't require a X server in the tests 2016-07-12 11:07:12 +02:00