aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/reprocessing
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2022-10-13 14:44:43 +0200
committerTor Egge <Tor.Egge@online.no>2022-10-13 14:44:43 +0200
commit5b96704f8cb4982ff17d8ec9071c44a362cf59af (patch)
tree206b435cb6c0dde335feb15280fbf9310670e893 /searchcore/src/tests/proton/reprocessing
parentf2b3ed1ec55679cfb5508dfe2a58326475c895d4 (diff)
Rename search::index::EmptyDocBuilder to search::test::DocBuilder.
Rename search::index::StringFieldBuilder to search::test::StringFieldBuilder.
Diffstat (limited to 'searchcore/src/tests/proton/reprocessing')
-rw-r--r--searchcore/src/tests/proton/reprocessing/document_reprocessing_handler/CMakeLists.txt1
-rw-r--r--searchcore/src/tests/proton/reprocessing/document_reprocessing_handler/document_reprocessing_handler_test.cpp6
2 files changed, 4 insertions, 3 deletions
diff --git a/searchcore/src/tests/proton/reprocessing/document_reprocessing_handler/CMakeLists.txt b/searchcore/src/tests/proton/reprocessing/document_reprocessing_handler/CMakeLists.txt
index f776734757d..e980ae817f1 100644
--- a/searchcore/src/tests/proton/reprocessing/document_reprocessing_handler/CMakeLists.txt
+++ b/searchcore/src/tests/proton/reprocessing/document_reprocessing_handler/CMakeLists.txt
@@ -4,5 +4,6 @@ vespa_add_executable(searchcore_document_reprocessing_handler_test_app TEST
document_reprocessing_handler_test.cpp
DEPENDS
searchcore_reprocessing
+ searchlib_test
)
vespa_add_test(NAME searchcore_document_reprocessing_handler_test_app COMMAND searchcore_document_reprocessing_handler_test_app)
diff --git a/searchcore/src/tests/proton/reprocessing/document_reprocessing_handler/document_reprocessing_handler_test.cpp b/searchcore/src/tests/proton/reprocessing/document_reprocessing_handler/document_reprocessing_handler_test.cpp
index 719e762288e..0755a172945 100644
--- a/searchcore/src/tests/proton/reprocessing/document_reprocessing_handler/document_reprocessing_handler_test.cpp
+++ b/searchcore/src/tests/proton/reprocessing/document_reprocessing_handler/document_reprocessing_handler_test.cpp
@@ -3,12 +3,12 @@
LOG_SETUP("document_reprocessing_handler_test");
#include <vespa/searchcore/proton/reprocessing/document_reprocessing_handler.h>
-#include <vespa/searchlib/index/empty_doc_builder.h>
+#include <vespa/searchlib/test/doc_builder.h>
#include <vespa/vespalib/testkit/testapp.h>
using namespace document;
using namespace proton;
-using namespace search::index;
+using search::test::DocBuilder;
template <typename ReprocessingType>
struct MyProcessor : public ReprocessingType
@@ -32,7 +32,7 @@ const vespalib::string DOC_ID = "id:test:searchdocument::0";
struct FixtureBase
{
DocumentReprocessingHandler _handler;
- EmptyDocBuilder _docBuilder;
+ DocBuilder _docBuilder;
FixtureBase(uint32_t docIdLimit);
~FixtureBase();
std::shared_ptr<Document> createDoc() {