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 /storage | |
parent | 2e0bc6c08d1735240c7991a91cbe45ba9ef8badd (diff) |
Update tests with explicitt includes.
Diffstat (limited to 'storage')
6 files changed, 7 insertions, 3 deletions
diff --git a/storage/src/tests/common/teststorageapp.cpp b/storage/src/tests/common/teststorageapp.cpp index b8ce7d3cab5..dcd19468ac7 100644 --- a/storage/src/tests/common/teststorageapp.cpp +++ b/storage/src/tests/common/teststorageapp.cpp @@ -11,6 +11,7 @@ #include <vespa/config-fleetcontroller.h> #include <vespa/vdstestlib/cppunit/macros.h> #include <vespa/vespalib/io/fileutil.h> +#include <vespa/vespalib/util/exceptions.h> #include <vespa/config/config.h> #include <vespa/log/log.h> LOG_SETUP(".test.servicelayerapp"); diff --git a/storage/src/tests/frameworkimpl/memory/memorystatusviewertest.cpp b/storage/src/tests/frameworkimpl/memory/memorystatusviewertest.cpp index dc0fcc5592a..7a03d1c017a 100644 --- a/storage/src/tests/frameworkimpl/memory/memorystatusviewertest.cpp +++ b/storage/src/tests/frameworkimpl/memory/memorystatusviewertest.cpp @@ -6,6 +6,7 @@ #include <vespa/storageframework/defaultimplementation/memory/prioritymemorylogic.h> #include <tests/common/teststorageapp.h> #include <vespa/vdstestlib/cppunit/macros.h> +#include <vespa/vespalib/util/exceptions.h> #include <boost/lexical_cast.hpp> namespace storage { diff --git a/storage/src/tests/persistence/persistencetestutils.cpp b/storage/src/tests/persistence/persistencetestutils.cpp index 03d73193086..d1a5100b7de 100644 --- a/storage/src/tests/persistence/persistencetestutils.cpp +++ b/storage/src/tests/persistence/persistencetestutils.cpp @@ -6,6 +6,7 @@ #include <vespa/persistence/dummyimpl/dummypersistence.h> #include <vespa/document/update/assignvalueupdate.h> #include <vespa/vespalib/objects/nbostream.h> +#include <vespa/vespalib/util/exceptions.h> using document::DocumentType; using storage::framework::defaultimplementation::AllocationLogic; diff --git a/storage/src/tests/storageserver/mergethrottlertest.cpp b/storage/src/tests/storageserver/mergethrottlertest.cpp index e705db80788..a5e637146fc 100644 --- a/storage/src/tests/storageserver/mergethrottlertest.cpp +++ b/storage/src/tests/storageserver/mergethrottlertest.cpp @@ -1,5 +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 <cppunit/extensions/HelperMacros.h> #include <memory> #include <iterator> @@ -16,6 +15,7 @@ #include <vespa/storage/persistence/messages.h> #include <vespa/storageapi/message/bucket.h> #include <vespa/storageapi/message/state.h> +#include <vespa/vespalib/util/exceptions.h> using namespace document; using namespace storage::api; diff --git a/storage/src/tests/visiting/visitormanagertest.cpp b/storage/src/tests/visiting/visitormanagertest.cpp index d782abf7d54..f83ac825aa4 100644 --- a/storage/src/tests/visiting/visitormanagertest.cpp +++ b/storage/src/tests/visiting/visitormanagertest.cpp @@ -22,6 +22,7 @@ #include <vespa/documentapi/messagebus/messages/multioperationmessage.h> #include <vespa/documentapi/messagebus/messages/putdocumentmessage.h> #include <vespa/documentapi/messagebus/messages/removedocumentmessage.h> +#include <vespa/vespalib/util/exceptions.h> LOG_SETUP(".visitormanagertest"); diff --git a/storage/src/tests/visiting/visitortest.cpp b/storage/src/tests/visiting/visitortest.cpp index aed08a676b8..90a1c51fe1f 100644 --- a/storage/src/tests/visiting/visitortest.cpp +++ b/storage/src/tests/visiting/visitortest.cpp @@ -1,11 +1,9 @@ // 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/document/datatype/datatype.h> #include <vespa/document/fieldvalue/intfieldvalue.h> #include <vespa/document/fieldvalue/stringfieldvalue.h> #include <vespa/document/fieldvalue/rawfieldvalue.h> -#include <vespa/log/log.h> #include <vespa/storageapi/message/datagram.h> #include <vespa/storageapi/message/persistence.h> #include <vespa/storageapi/message/visitor.h> @@ -20,10 +18,12 @@ #include <vespa/documentapi/messagebus/messages/multioperationmessage.h> #include <vespa/documentapi/messagebus/messages/putdocumentmessage.h> #include <vespa/documentapi/messagebus/messages/removedocumentmessage.h> +#include <vespa/vespalib/util/exceptions.h> #include <vector> #include <thread> #include <chrono> +#include <vespa/log/log.h> LOG_SETUP(".visitortest"); using namespace std::chrono_literals; |