diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2016-12-05 21:59:00 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2016-12-12 02:55:45 +0100 |
commit | 36be03af9ccb5ede87f7a5bc3d37526cdc9b2bc4 (patch) | |
tree | 4f95a3c666ad80a5e6066dfcf2d75f54e67d6866 /documentapi/src/tests | |
parent | f94a9a21d6d546868ef2cf63ea3532469450ffd7 (diff) |
Avoid pulling in all of slobrok and config everywhere.
Diffstat (limited to 'documentapi/src/tests')
-rw-r--r-- | documentapi/src/tests/messages/testbase.cpp | 6 | ||||
-rw-r--r-- | documentapi/src/tests/policies/testframe.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/documentapi/src/tests/messages/testbase.cpp b/documentapi/src/tests/messages/testbase.cpp index 75f569b306f..54d7a47e4b8 100644 --- a/documentapi/src/tests/messages/testbase.cpp +++ b/documentapi/src/tests/messages/testbase.cpp @@ -1,11 +1,11 @@ // 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(".testbase"); #include "testbase.h" #include <vespa/document/config/config-documenttypes.h> #include <vespa/document/repo/documenttyperepo.h> +#include <vespa/vespalib/util/exception.h> +#include <vespa/log/log.h> +LOG_SETUP(".testbase"); using document::DocumentTypeRepo; using document::readDocumenttypesConfig; diff --git a/documentapi/src/tests/policies/testframe.cpp b/documentapi/src/tests/policies/testframe.cpp index cb30e5377aa..0c4fd90a5c4 100644 --- a/documentapi/src/tests/policies/testframe.cpp +++ b/documentapi/src/tests/policies/testframe.cpp @@ -311,7 +311,7 @@ bool TestFrame::waitSlobrok(const string &pattern, uint32_t cnt) { for (uint32_t i = 0; i < 1000; ++i) { - slobrok::api::MirrorAPI::SpecList res = _net->getMirror().lookup(pattern); + slobrok::api::IMirrorAPI::SpecList res = _net->getMirror().lookup(pattern); if (res.size() == cnt) { return true; } |