summaryrefslogtreecommitdiffstats
path: root/tests/maildirsyncbenchmark.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-11-07 21:48:44 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-11-07 21:48:44 +0100
commit89b6f63bab839ab0504cd3067f0389afe4dc47e3 (patch)
tree62c527983d63827bb722010ea8c59d5af0e5a879 /tests/maildirsyncbenchmark.cpp
parent438c74630e5f8c9a46d00b991f5cb8ecd479dafe (diff)
downloadsink-89b6f63bab839ab0504cd3067f0389afe4dc47e3.tar.gz
sink-89b6f63bab839ab0504cd3067f0389afe4dc47e3.zip
Implement debug stream operators for query.
Diffstat (limited to 'tests/maildirsyncbenchmark.cpp')
-rw-r--r--tests/maildirsyncbenchmark.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/maildirsyncbenchmark.cpp b/tests/maildirsyncbenchmark.cpp
index d84c758..ab09395 100644
--- a/tests/maildirsyncbenchmark.cpp
+++ b/tests/maildirsyncbenchmark.cpp
@@ -87,7 +87,7 @@ private slots:
87 MaildirResource resource("sink.maildir.test1", pipeline); 87 MaildirResource resource("sink.maildir.test1", pipeline);
88 QTime time; 88 QTime time;
89 time.start(); 89 time.start();
90 resource.Sink::GenericResource::synchronizeWithSource().exec().waitForFinished(); 90 resource.Sink::GenericResource::synchronizeWithSource(Sink::QueryBase()).exec().waitForFinished();
91 std::cout << "Sync took " << time.elapsed() << std::endl; 91 std::cout << "Sync took " << time.elapsed() << std::endl;
92 resource.processAllMessages().exec().waitForFinished(); 92 resource.processAllMessages().exec().waitForFinished();
93 const auto allProcessedTime = time.elapsed(); 93 const auto allProcessedTime = time.elapsed();