diff options
author | Aaron Seigo <aseigo@kde.org> | 2014-12-05 13:00:56 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2014-12-05 13:00:56 +0100 |
commit | 1a429fd3103c16899f1f7be25046bb63b2b314c3 (patch) | |
tree | 7277b52d6026ca3ec081fbb2e7649a4c90718ede /tests/storagetest.cpp | |
parent | 130affe4addb1aff1618d8fb849889b2d4453ef2 (diff) | |
download | sink-1a429fd3103c16899f1f7be25046bb63b2b314c3.tar.gz sink-1a429fd3103c16899f1f7be25046bb63b2b314c3.zip |
make tests declare ReadWrite when writing
Diffstat (limited to 'tests/storagetest.cpp')
-rw-r--r-- | tests/storagetest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storagetest.cpp b/tests/storagetest.cpp index 242e424..3981c4b 100644 --- a/tests/storagetest.cpp +++ b/tests/storagetest.cpp | |||
@@ -19,7 +19,7 @@ private: | |||
19 | 19 | ||
20 | void populate(int count) | 20 | void populate(int count) |
21 | { | 21 | { |
22 | Storage storage(testDataPath, dbName); | 22 | Storage storage(testDataPath, dbName, Storage::ReadWrite); |
23 | for (int i = 0; i < count; i++) { | 23 | for (int i = 0; i < count; i++) { |
24 | //This should perhaps become an implementation detail of the db? | 24 | //This should perhaps become an implementation detail of the db? |
25 | if (i % 10000 == 0) { | 25 | if (i % 10000 == 0) { |