diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2016-12-19 04:28:48 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2016-12-19 14:15:55 +0000 |
commit | 31d3743e8e1ecff8c95aea13a5ace446cf9d3294 (patch) | |
tree | 6f8862d262dea4be512787f1494725a35d596349 /searchcore/src/tests | |
parent | 2e0bc6c08d1735240c7991a91cbe45ba9ef8badd (diff) |
Update tests with explicitt includes.
Diffstat (limited to 'searchcore/src/tests')
3 files changed, 7 insertions, 9 deletions
diff --git a/searchcore/src/tests/proton/docsummary/docsummary.cpp b/searchcore/src/tests/proton/docsummary/docsummary.cpp index 55b5f63c92b..a5cac711d39 100644 --- a/searchcore/src/tests/proton/docsummary/docsummary.cpp +++ b/searchcore/src/tests/proton/docsummary/docsummary.cpp @@ -1,7 +1,4 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#include <vespa/fastos/fastos.h> -#include <vespa/log/log.h> -LOG_SETUP("docsummary_test"); #include <vespa/document/fieldvalue/document.h> #include <vespa/searchcore/proton/attribute/attribute_writer.h> #include <vespa/searchcore/proton/common/bucketfactory.h> @@ -27,6 +24,9 @@ LOG_SETUP("docsummary_test"); #include <vespa/vespalib/tensor/default_tensor.h> #include <vespa/searchlib/tensor/tensor_attribute.h> #include <vespa/searchcore/proton/common/hw_info.h> +#include <vespa/vespalib/data/slime/slime.h> +#include <vespa/log/log.h> +LOG_SETUP("docsummary_test"); using namespace document; using namespace search; diff --git a/searchcore/src/tests/proton/documentdb/documentdb_test.cpp b/searchcore/src/tests/proton/documentdb/documentdb_test.cpp index bc7deea304f..018849cc9ad 100644 --- a/searchcore/src/tests/proton/documentdb/documentdb_test.cpp +++ b/searchcore/src/tests/proton/documentdb/documentdb_test.cpp @@ -1,7 +1,4 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#include <vespa/fastos/fastos.h> -#include <vespa/log/log.h> -LOG_SETUP("documentdb_test"); #include <vespa/document/repo/documenttyperepo.h> #include <vespa/messagebus/emptyreply.h> @@ -23,6 +20,7 @@ LOG_SETUP("documentdb_test"); #include <tests/proton/common/dummydbowner.h> #include <vespa/vespalib/testkit/test_kit.h> #include <vespa/searchcore/proton/common/hw_info.h> +#include <vespa/vespalib/data/slime/slime.h> using document::DocumentType; using document::DocumentTypeRepo; diff --git a/searchcore/src/tests/proton/documentmetastore/documentmetastore_test.cpp b/searchcore/src/tests/proton/documentmetastore/documentmetastore_test.cpp index 5e6a7acbc2c..bffedd30a9f 100644 --- a/searchcore/src/tests/proton/documentmetastore/documentmetastore_test.cpp +++ b/searchcore/src/tests/proton/documentmetastore/documentmetastore_test.cpp @@ -1,7 +1,4 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#include <vespa/fastos/fastos.h> -#include <vespa/log/log.h> -LOG_SETUP("documentmetastore_test"); #include <vespa/vespalib/testkit/testapp.h> #include <vespa/document/base/documentid.h> #include <vespa/searchcore/proton/documentmetastore/documentmetastore.h> @@ -16,8 +13,11 @@ LOG_SETUP("documentmetastore_test"); #include <vespa/searchlib/index/dummyfileheadercontext.h> #include <vespa/vespalib/util/threadstackexecutor.h> #include <vespa/vespalib/io/fileutil.h> +#include <vespa/vespalib/util/exceptions.h> #include <vespa/searchcore/proton/server/itlssyncer.h> #include <vespa/searchcore/proton/common/hw_info.h> +#include <vespa/log/log.h> +LOG_SETUP("documentmetastore_test"); using namespace document; using search::AttributeVector; |