diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-03 14:00:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-03 14:00:59 +0200 |
commit | 40f313056fd479ab2b19132f308de1aa640b669e (patch) | |
tree | f3c02e1d37a849323925d9f42feda2c87bf40871 /searchlib/src/tests/attribute/multi_value_mapping | |
parent | ae0c8a912c94e2afed7a2d60158d21fedce7a92c (diff) |
Revert "Fix warnings hidden earlier due to including application headers as s…"
Diffstat (limited to 'searchlib/src/tests/attribute/multi_value_mapping')
-rw-r--r-- | searchlib/src/tests/attribute/multi_value_mapping/multi_value_mapping_test.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/searchlib/src/tests/attribute/multi_value_mapping/multi_value_mapping_test.cpp b/searchlib/src/tests/attribute/multi_value_mapping/multi_value_mapping_test.cpp index e41045c2aae..20590a11da0 100644 --- a/searchlib/src/tests/attribute/multi_value_mapping/multi_value_mapping_test.cpp +++ b/searchlib/src/tests/attribute/multi_value_mapping/multi_value_mapping_test.cpp @@ -1,17 +1,16 @@ // 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("multivaluemapping_test"); #include <vespa/vespalib/testkit/test_kit.h> #include <vespa/searchlib/attribute/multi_value_mapping.h> #include <vespa/searchlib/attribute/multi_value_mapping.hpp> #include <vespa/searchlib/attribute/not_implemented_attribute.h> -#include <vespa/searchlib/util/rand48.h> #include <vespa/vespalib/util/generationhandler.h> #include <vespa/vespalib/test/insertion_operators.h> +#include <vespa/searchlib/util/rand48.h> #include <vespa/vespalib/stllike/hash_set.h> -#include <vespa/log/log.h> -LOG_SETUP("multivaluemapping_test"); - using search::datastore::ArrayStoreConfig; template <typename EntryT> @@ -45,7 +44,8 @@ public: MyAttribute(MvMapping &mvMapping) : NotImplementedAttribute("test", AttributeVector::Config()), _mvMapping(mvMapping) - {} + { + } virtual bool addDoc(DocId &doc) override { _mvMapping.addDoc(doc); incNumDocs(); @@ -237,7 +237,7 @@ TEST_F("Test that old value is not overwritten while held", Fixture<int>(3, 32, TEST_F("Test that addDoc works", Fixture<int>(3)) { - EXPECT_EQUAL(0u, f.size()); + EXPECT_EQUAL(0, f.size()); f.addDocs(10); EXPECT_EQUAL(10u, f.size()); } |