diff options
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(); |