diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-09-27 11:25:49 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-09-27 11:25:49 +0200 |
commit | 577c2c344079c1a87d3d93be5f957e5f2d935bff (patch) | |
tree | d158857f9a832649e1c0b498b768a30d614fc613 /tests/dummyresourcebenchmark.cpp | |
parent | fd532607ef29aac49b52c861e5aecda6dfa19e82 (diff) | |
download | sink-577c2c344079c1a87d3d93be5f957e5f2d935bff.tar.gz sink-577c2c344079c1a87d3d93be5f957e5f2d935bff.zip |
Don't access the propertyFilter list directly.
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 8636bf6..ffaa8f6 100644 --- a/tests/dummyresourcebenchmark.cpp +++ b/tests/dummyresourcebenchmark.cpp | |||
@@ -129,7 +129,7 @@ private slots: | |||
129 | Sink::Query query; | 129 | Sink::Query query; |
130 | query.resources << "sink.dummy.instance1"; | 130 | query.resources << "sink.dummy.instance1"; |
131 | 131 | ||
132 | query.propertyFilter.insert("uid", Sink::Query::Comparator("testuid")); | 132 | query.filter("uid", Sink::Query::Comparator("testuid")); |
133 | auto model = Sink::Store::loadModel<Sink::ApplicationDomain::Event>(query); | 133 | auto model = Sink::Store::loadModel<Sink::ApplicationDomain::Event>(query); |
134 | QTRY_COMPARE(model->rowCount(QModelIndex()), num); | 134 | QTRY_COMPARE(model->rowCount(QModelIndex()), num); |
135 | } | 135 | } |