diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-02-15 09:52:08 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-02-16 10:39:59 +0100 |
commit | f3fe5e5231e2f0c3052bca258d9410a6c9edddda (patch) | |
tree | 0093b525d3471aac7b7c93013456441635db3ecd /tests/pipelinebenchmark.cpp | |
parent | 3115a836e42ba34481edeac8ca64891ab3bbc6dd (diff) | |
download | sink-f3fe5e5231e2f0c3052bca258d9410a6c9edddda.tar.gz sink-f3fe5e5231e2f0c3052bca258d9410a6c9edddda.zip |
Mails don't have uid's
Diffstat (limited to 'tests/pipelinebenchmark.cpp')
-rw-r--r-- | tests/pipelinebenchmark.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pipelinebenchmark.cpp b/tests/pipelinebenchmark.cpp index 7052c4c..126e344 100644 --- a/tests/pipelinebenchmark.cpp +++ b/tests/pipelinebenchmark.cpp | |||
@@ -73,7 +73,7 @@ class PipelineBenchmark : public QObject | |||
73 | const auto date = QDateTime::currentDateTimeUtc(); | 73 | const auto date = QDateTime::currentDateTimeUtc(); |
74 | for (int i = 0; i < count; i++) { | 74 | for (int i = 0; i < count; i++) { |
75 | auto domainObject = Sink::ApplicationDomain::Mail::Ptr::create(); | 75 | auto domainObject = Sink::ApplicationDomain::Mail::Ptr::create(); |
76 | domainObject->setUid("uid"); | 76 | domainObject->setExtractedMessageId("uid"); |
77 | domainObject->setExtractedSubject(QString("subject%1").arg(i)); | 77 | domainObject->setExtractedSubject(QString("subject%1").arg(i)); |
78 | domainObject->setExtractedDate(date.addSecs(count)); | 78 | domainObject->setExtractedDate(date.addSecs(count)); |
79 | domainObject->setFolder("folder1"); | 79 | domainObject->setFolder("folder1"); |