diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-01 16:22:55 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-01 16:22:55 +0200 |
commit | 096d14f20f4dc39d20d35d605ca755b66bd48cf9 (patch) | |
tree | 4b28dd3b310ebcfa9cefa1b41992eeefa5456764 /tests/dummyresourcebenchmark.cpp | |
parent | c1475df297975b403d991f69ef9436cd576c1e46 (diff) | |
download | sink-096d14f20f4dc39d20d35d605ca755b66bd48cf9.tar.gz sink-096d14f20f4dc39d20d35d605ca755b66bd48cf9.zip |
Account filter for resources and contains comparator in query
Diffstat (limited to 'tests/dummyresourcebenchmark.cpp')
-rw-r--r-- | tests/dummyresourcebenchmark.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dummyresourcebenchmark.cpp b/tests/dummyresourcebenchmark.cpp index 1e71fc2..d5f98c3 100644 --- a/tests/dummyresourcebenchmark.cpp +++ b/tests/dummyresourcebenchmark.cpp | |||
@@ -157,7 +157,7 @@ private slots: | |||
157 | Sink::Query query; | 157 | Sink::Query query; |
158 | query.resources << "org.kde.dummy.instance1"; | 158 | query.resources << "org.kde.dummy.instance1"; |
159 | 159 | ||
160 | query.propertyFilter.insert("uid", "testuid"); | 160 | query.propertyFilter.insert("uid", Sink::Query::Comparator("testuid")); |
161 | auto model = Sink::Store::loadModel<Sink::ApplicationDomain::Event>(query); | 161 | auto model = Sink::Store::loadModel<Sink::ApplicationDomain::Event>(query); |
162 | QTRY_COMPARE(model->rowCount(QModelIndex()), num); | 162 | QTRY_COMPARE(model->rowCount(QModelIndex()), num); |
163 | } | 163 | } |