summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-03-29 21:16:26 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-03-29 21:16:26 +0200
commitb794b2b06c7986f520bec31cd37ec2b8646039e3 (patch)
tree743b8adb44b9209fbe7deb6e89b95110787390ff /document
parent7755ef2876e4859f8d89873653b78097227df727 (diff)
Do not include stuff that is not used.
Diffstat (limited to 'document')
-rw-r--r--document/src/tests/documentidtest.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/document/src/tests/documentidtest.cpp b/document/src/tests/documentidtest.cpp
index 67af9f097a5..d92219f9b31 100644
--- a/document/src/tests/documentidtest.cpp
+++ b/document/src/tests/documentidtest.cpp
@@ -1,20 +1,12 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <cppunit/extensions/HelperMacros.h>
-#include <vespa/document/serialization/vespadocumentdeserializer.h>
-#include <vespa/document/serialization/vespadocumentserializer.h>
-#include <vespa/vespalib/objects/nbostream.h>
#include <vespa/vespalib/testkit/test_kit.h>
#include <vespa/document/bucket/bucketidfactory.h>
#include <vespa/document/base/documentid.h>
-#include <vespa/document/datatype/documenttype.h>
#include <vespa/vespalib/util/md5.h>
#include <vespa/fastos/file.h>
-using document::VespaDocumentDeserializer;
-using document::VespaDocumentSerializer;
-using vespalib::nbostream;
-
namespace document {
struct DocumentIdTest : public CppUnit::TestFixture {
@@ -45,8 +37,8 @@ CPPUNIT_TEST_SUITE_REGISTRATION(DocumentIdTest);
namespace {
void writeGlobalIdBucketId(std::ostream& out, const std::string& id) {
BucketIdFactory factory;
- out << id << " - " << document::DocumentId(id).getGlobalId()
- << " - " << factory.getBucketId(document::DocumentId(id)).toString()
+ out << id << " - " << DocumentId(id).getGlobalId()
+ << " - " << factory.getBucketId(DocumentId(id)).toString()
<< "\n";
}
}