summaryrefslogtreecommitdiffstats
path: root/tests/storagetest.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-10-24 12:23:51 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-10-24 12:23:51 +0200
commit9cdb03ed685901b477db46be98b6e272c299b821 (patch)
treee3a3be6d5d4705b052d1b93c866e2b9cc7d44ced /tests/storagetest.cpp
parent31e19575f79e42a9bbf20398539ac9a1de4dac86 (diff)
downloadsink-9cdb03ed685901b477db46be98b6e272c299b821.tar.gz
sink-9cdb03ed685901b477db46be98b6e272c299b821.zip
Documentation on what tests are supposed to test.
Diffstat (limited to 'tests/storagetest.cpp')
-rw-r--r--tests/storagetest.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/storagetest.cpp b/tests/storagetest.cpp
index 8e841cb..bef8755 100644
--- a/tests/storagetest.cpp
+++ b/tests/storagetest.cpp
@@ -8,11 +8,13 @@
8 8
9#include "common/storage.h" 9#include "common/storage.h"
10 10
11/**
12 * Test of the storage implementation to ensure it can do the low level operations as expected.
13 */
11class StorageTest : public QObject 14class StorageTest : public QObject
12{ 15{
13 Q_OBJECT 16 Q_OBJECT
14private: 17private:
15 //This should point to a directory on disk and not a ramdisk (since we're measuring performance)
16 QString testDataPath; 18 QString testDataPath;
17 QString dbName; 19 QString dbName;
18 const char *keyPrefix = "key"; 20 const char *keyPrefix = "key";