summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
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";
}
}