nextcloud-desktop/test
Jocelyn Turcotte c6610f6fbf
SyncJournalDB: Allow callers of getFileRecord if the query failed
The current implementation would return the same value whether the query failed
or if no row would be found. This is something that is currently checked by csync
and needs to be provided if we want to use SyncJournalDB there.

Adjusted all call sites to also check the return value even though they
could still just rely on rec.isValid(), but makes it more explicit as to what
happens for database errors in those cases, if we ever want to gracefully handle
them.
2017-10-05 22:01:37 +02:00
..
benchmarks benchlargesync: Do several syncs 2017-10-05 22:01:36 +02:00
csync chsck_vio: fix readdir test by removing it. 2017-10-05 22:01:36 +02: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 Move csync/tests/ownCloud to test/scripts/txpl 2017-10-05 22:00:57 +02:00
CMakeLists.txt Move csync to src/csync 2017-10-05 22:01:03 +02:00
owncloud_add_test.cmake Move csync to src/csync 2017-10-05 22:01:03 +02:00
stub.cpp test/stub: add some call required by the next patches 2017-10-05 22:01:35 +02:00
syncenginetestutils.h Move SyncJournalDB to src/common 2017-10-05 22:01:33 +02:00
test_journal.db test_journal.db: Add checksumtype table 2017-06-22 15:11:49 +02:00
testallfilesdeleted.cpp Folder: Keep files option after aboutToRemoveAllFiles should not clear selective sync list (#5531) 2017-02-15 13:27:41 +01:00
testchecksumvalidator.cpp Move SyncJournalDB to src/common 2017-10-05 22:01:33 +02:00
testchunkingng.cpp ChunkingNG: Add some tests 2017-01-20 14:48:53 +01:00
testconcaturl.cpp Move concatUrl and settingsWithGroup to Utility 2016-10-25 12:05:28 +02:00
testcsyncsqlite.cpp Remove the usage of phash in csync 2017-10-05 22:01:33 +02:00
testexcludedfiles.cpp Move csync to src/csync 2017-10-05 22:01:03 +02:00
testfilesystem.cpp Move Utility to a new common static library 2017-10-05 22:01:03 +02:00
testfolder.cpp Move Utility to a new common static library 2017-10-05 22:01:03 +02:00
testfolderman.cpp remove qt4 code 2017-10-05 22:01:32 +02:00
testfolderwatcher.cpp Move Utility to a new common static library 2017-10-05 22:01:03 +02:00
testinotifywatcher.cpp Move Utility to a new common static library 2017-10-05 22:01:03 +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 Move SyncJournalDB to src/common 2017-10-05 22:01:33 +02:00
testplan.txt Minor typos in client test section 2015-09-10 18:11:44 +05:45
testsyncengine.cpp SyncJournalDB: Allow callers of getFileRecord if the query failed 2017-10-05 22:01:37 +02:00
testsyncfileitem.cpp For tests we do not need a xserver running. 2016-05-12 11:34:21 +02:00
testsyncfilestatustracker.cpp StatusTracker: Fix different case paths not matching (#5981) 2017-10-05 22:01:03 +02:00
testsyncjournaldb.cpp SyncJournalDB: Allow callers of getFileRecord if the query failed 2017-10-05 22:01:37 +02:00
testupdater.cpp For tests we do not need a xserver running. 2016-05-12 11:34:21 +02:00
testuploadreset.cpp Move SyncJournalDB to src/common 2017-10-05 22:01:33 +02:00
testutility.cpp remove qt4 code 2017-10-05 22:01:32 +02:00
testxmlparse.cpp remove qt4 code 2017-10-05 22:01:32 +02:00