summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMinijackson <minijackson@riseup.net>2018-06-27 19:03:26 +0200
committerMinijackson <minijackson@riseup.net>2018-07-04 15:37:14 +0200
commit456d18b45a825a4d236ccc10c576da1fcbc4f74d (patch)
treeca8c15ff4f5e9a404970c6880571884c98a7ed49 /tests
parente27358985e6729415a8b83a85aac0350180c95bc (diff)
downloadsink-key-storage-api.tar.gz
sink-key-storage-api.zip
Minor fixeskey-storage-api
Diffstat (limited to 'tests')
-rw-r--r--tests/pipelinetest.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/pipelinetest.cpp b/tests/pipelinetest.cpp
index 2610305..b41a5c2 100644
--- a/tests/pipelinetest.cpp
+++ b/tests/pipelinetest.cpp
@@ -22,8 +22,6 @@
22#include "adaptorfactoryregistry.h" 22#include "adaptorfactoryregistry.h"
23#include "storage/key.h" 23#include "storage/key.h"
24 24
25// TODO: fix test
26
27static void removeFromDisk(const QString &name) 25static void removeFromDisk(const QString &name)
28{ 26{
29 Sink::Storage::DataStore store(Sink::Store::storageLocation(), name, Sink::Storage::DataStore::ReadWrite); 27 Sink::Storage::DataStore store(Sink::Store::storageLocation(), name, Sink::Storage::DataStore::ReadWrite);
@@ -254,7 +252,6 @@ private slots:
254 auto keys = getKeys(instanceIdentifier(), "event.main"); 252 auto keys = getKeys(instanceIdentifier(), "event.main");
255 QCOMPARE(keys.size(), 1); 253 QCOMPARE(keys.size(), 1);
256 auto key = Sink::Storage::Key::fromInternalByteArray(keys.first()); 254 auto key = Sink::Storage::Key::fromInternalByteArray(keys.first());
257 //const auto uid = Sink::Storage::DataStore::uidFromKey(key);
258 const auto uid = key.identifier().toDisplayByteArray(); 255 const auto uid = key.identifier().toDisplayByteArray();
259 256
260 // Execute the modification 257 // Execute the modification