mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 14:36:01 +03:00
Invoke 'bool Folder::isSyncRunning() const' from tests.
Signed-off-by: allexzander <blackslayer4@gmail.com>
This commit is contained in:
parent
98ae715905
commit
88d18fd5f3
1 changed files with 6 additions and 0 deletions
|
@ -57,6 +57,12 @@ private slots:
|
|||
QVERIFY(folderman->addFolder(newAccountState.data(), folderDefinition(dirPath + "/sub/ownCloud1")));
|
||||
QVERIFY(folderman->addFolder(newAccountState.data(), folderDefinition(dirPath + "/ownCloud2")));
|
||||
|
||||
const auto folderList = folderman->map();
|
||||
|
||||
for (const auto &folder : folderList) {
|
||||
QVERIFY(!folder->isSyncRunning());
|
||||
}
|
||||
|
||||
|
||||
// those should be allowed
|
||||
// QString FolderMan::checkPathValidityForNewFolder(const QString& path, const QUrl &serverUrl, bool forNewDirectory)
|
||||
|
|
Loading…
Reference in a new issue