diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-08 11:22:40 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-08 11:36:32 +0200 |
commit | 81fa4c3635a029b1c8f9cc3cd670f0b04f1c3f21 (patch) | |
tree | 3acd44ee1d055e4dfe6c8c0409406235b39e0980 /tests/indextest.cpp | |
parent | 9317fbffeab4a8c258acb1116eb12fbded7053d8 (diff) | |
download | sink-81fa4c3635a029b1c8f9cc3cd670f0b04f1c3f21.tar.gz sink-81fa4c3635a029b1c8f9cc3cd670f0b04f1c3f21.zip |
Shorten the types to be more distinctive.
The org.kde prefix is useless and possibly misleading.
Simply prefixing with sink is more unique and shorter.
Diffstat (limited to 'tests/indextest.cpp')
-rw-r--r-- | tests/indextest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/indextest.cpp b/tests/indextest.cpp index fa3ace4..8566803 100644 --- a/tests/indextest.cpp +++ b/tests/indextest.cpp | |||
@@ -16,19 +16,19 @@ class IndexTest : public QObject | |||
16 | private slots: | 16 | private slots: |
17 | void initTestCase() | 17 | void initTestCase() |
18 | { | 18 | { |
19 | Sink::Storage store("./testindex", "org.kde.dummy.testindex", Sink::Storage::ReadWrite); | 19 | Sink::Storage store("./testindex", "sink.dummy.testindex", Sink::Storage::ReadWrite); |
20 | store.removeFromDisk(); | 20 | store.removeFromDisk(); |
21 | } | 21 | } |
22 | 22 | ||
23 | void cleanup() | 23 | void cleanup() |
24 | { | 24 | { |
25 | Sink::Storage store("./testindex", "org.kde.dummy.testindex", Sink::Storage::ReadWrite); | 25 | Sink::Storage store("./testindex", "sink.dummy.testindex", Sink::Storage::ReadWrite); |
26 | store.removeFromDisk(); | 26 | store.removeFromDisk(); |
27 | } | 27 | } |
28 | 28 | ||
29 | void testIndex() | 29 | void testIndex() |
30 | { | 30 | { |
31 | Index index("./testindex", "org.kde.dummy.testindex", Sink::Storage::ReadWrite); | 31 | Index index("./testindex", "sink.dummy.testindex", Sink::Storage::ReadWrite); |
32 | // The first key is specifically a substring of the second key | 32 | // The first key is specifically a substring of the second key |
33 | index.add("key", "value1"); | 33 | index.add("key", "value1"); |
34 | index.add("keyFoo", "value2"); | 34 | index.add("keyFoo", "value2"); |