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-01-08 14:24:15 +0300
committerOlivier Goffart <olivier@woboq.com>2019-01-18 12:59:12 +0300
commit3f45e0defe78384aa3e0bd4cbf61db21eb1c54c7 (patch)
tree079603d088dfbf4453e81126b277342103eb5424 /test/testsyncjournaldb.cpp
parent46098a160dba9e4a939f86877dacfa39de75925b (diff)
vfs: Allow (de-)hydrating the full sync folder
Diffstat (limited to 'test/testsyncjournaldb.cpp')
-rw-r--r--test/testsyncjournaldb.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/testsyncjournaldb.cpp b/test/testsyncjournaldb.cpp
index 96e73c1b2..6a0cedd72 100644
--- a/test/testsyncjournaldb.cpp
+++ b/test/testsyncjournaldb.cpp
@@ -417,6 +417,12 @@ private slots:
QCOMPARE(getRaw("local/local"), PinState::Inherited);
QCOMPARE(getRaw("local/local/local"), PinState::Inherited);
QCOMPARE(getRaw("local/local/online"), PinState::Inherited);
+
+ // Wiping everything
+ _db.wipePinStateForPathAndBelow("");
+ QCOMPARE(getRaw(""), PinState::Inherited);
+ QCOMPARE(getRaw("local"), PinState::Inherited);
+ QCOMPARE(getRaw("online"), PinState::Inherited);
}
private: