diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-19 15:28:42 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-21 09:18:49 +0200 |
commit | ba7c8b890c45d735216888204ec88882ef58c918 (patch) | |
tree | cb00c9b51e5353ba3726216679c81c0e2fe9ac35 /tests/mailquerybenchmark.cpp | |
parent | da1c86b80f230c3a2023f97c0048020a12e38de4 (diff) | |
download | sink-ba7c8b890c45d735216888204ec88882ef58c918.tar.gz sink-ba7c8b890c45d735216888204ec88882ef58c918.zip |
Ported the pipeline to the entitystore
Diffstat (limited to 'tests/mailquerybenchmark.cpp')
-rw-r--r-- | tests/mailquerybenchmark.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/mailquerybenchmark.cpp b/tests/mailquerybenchmark.cpp index c44b9f6..90cc4ba 100644 --- a/tests/mailquerybenchmark.cpp +++ b/tests/mailquerybenchmark.cpp | |||
@@ -32,7 +32,6 @@ | |||
32 | #include <common/store.h> | 32 | #include <common/store.h> |
33 | #include <common/pipeline.h> | 33 | #include <common/pipeline.h> |
34 | #include <common/index.h> | 34 | #include <common/index.h> |
35 | #include <common/indexupdater.h> | ||
36 | #include <common/adaptorfactoryregistry.h> | 35 | #include <common/adaptorfactoryregistry.h> |
37 | 36 | ||
38 | #include "hawd/dataset.h" | 37 | #include "hawd/dataset.h" |
@@ -64,10 +63,6 @@ class MailQueryBenchmark : public QObject | |||
64 | 63 | ||
65 | auto pipeline = QSharedPointer<Sink::Pipeline>::create(Sink::ResourceContext{resourceIdentifier, "test"}); | 64 | auto pipeline = QSharedPointer<Sink::Pipeline>::create(Sink::ResourceContext{resourceIdentifier, "test"}); |
66 | 65 | ||
67 | auto indexer = QSharedPointer<DefaultIndexUpdater<Mail>>::create(); | ||
68 | |||
69 | pipeline->setPreprocessors("mail", QVector<Sink::Preprocessor *>() << indexer.data()); | ||
70 | |||
71 | auto domainTypeAdaptorFactory = QSharedPointer<TestMailAdaptorFactory>::create(); | 66 | auto domainTypeAdaptorFactory = QSharedPointer<TestMailAdaptorFactory>::create(); |
72 | 67 | ||
73 | pipeline->startTransaction(); | 68 | pipeline->startTransaction(); |