Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kamm <mail@ckamm.de>2019-04-10 09:13:18 +0300
committerChristian Kamm <mail@ckamm.de>2019-04-10 09:13:46 +0300
commit77011e0cdec3e1e5c901617039093666c663300b (patch)
treea526fa9f039e3e532a1a56fc1d36f85b19fa3af6
parentfcf2af3be6964fce7988d050d837255bd308cac8 (diff)
Tests: Allow vfs tests to enable shell integration
Necessary for testing 2b0f32c6459bfcde4c8e94fe086e861aee6c56e5
-rw-r--r--test/syncenginetestutils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/syncenginetestutils.h b/test/syncenginetestutils.h
index a15c01bab..526930ad3 100644
--- a/test/syncenginetestutils.h
+++ b/test/syncenginetestutils.h
@@ -1197,7 +1197,7 @@ public:
syncOnce();
}
- void switchToVfs(QSharedPointer<OCC::Vfs> vfs)
+ void switchToVfs(QSharedPointer<OCC::Vfs> vfs, bool enableShell = false)
{
auto opts = _syncEngine->syncOptions();
@@ -1214,7 +1214,7 @@ public:
vfsParams.journal = _journalDb.get();
vfsParams.providerName = "OC-TEST";
vfsParams.providerVersion = "0.1";
- vfsParams.enableShellIntegration = false;
+ vfsParams.enableShellIntegration = enableShell;
QObject::connect(_syncEngine.get(), &QObject::destroyed, vfs.data(), [vfs]() {
vfs->stop();
vfs->unregisterFolder();