diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-11-14 16:22:07 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-11-14 16:22:07 +0100 |
commit | 175a49d623a5e37c1c20c80ed7f2077222f3c593 (patch) | |
tree | 0078863cf6c95b53095b247f55f7c3afb20e2f2d /tests/querytest.cpp | |
parent | 3950140fadba01ea0a4a1a335ee7b6b653e45bf6 (diff) | |
download | sink-175a49d623a5e37c1c20c80ed7f2077222f3c593.tar.gz sink-175a49d623a5e37c1c20c80ed7f2077222f3c593.zip |
Hide the Query::limit
Diffstat (limited to 'tests/querytest.cpp')
-rw-r--r-- | tests/querytest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/querytest.cpp b/tests/querytest.cpp index 594e55c..d823304 100644 --- a/tests/querytest.cpp +++ b/tests/querytest.cpp | |||
@@ -443,7 +443,7 @@ private slots: | |||
443 | query.resourceFilter("sink.dummy.instance1"); | 443 | query.resourceFilter("sink.dummy.instance1"); |
444 | query.filter<Mail::Folder>(*folderEntity); | 444 | query.filter<Mail::Folder>(*folderEntity); |
445 | query.sort<Mail::Date>(); | 445 | query.sort<Mail::Date>(); |
446 | query.limit = 1; | 446 | query.limit(1); |
447 | 447 | ||
448 | // Ensure all local data is processed | 448 | // Ensure all local data is processed |
449 | VERIFYEXEC(Sink::ResourceControl::flushMessageQueue(QByteArrayList() << "sink.dummy.instance1")); | 449 | VERIFYEXEC(Sink::ResourceControl::flushMessageQueue(QByteArrayList() << "sink.dummy.instance1")); |