summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/attribute/enum_attribute_compaction
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2019-09-02 10:52:58 +0200
committerGeir Storli <geirst@verizonmedia.com>2019-09-02 08:57:41 +0000
commit18f0bfbdc59c6f97caf12b93ba60d2292860a9ce (patch)
tree777fdc46a9e29150362d5a3898cf5dc2d55ffbc9 /searchlib/src/tests/attribute/enum_attribute_compaction
parent0e1339937e12201941b39a546308ea2e22380d9f (diff)
Style fix (method naming).
Diffstat (limited to 'searchlib/src/tests/attribute/enum_attribute_compaction')
-rw-r--r--searchlib/src/tests/attribute/enum_attribute_compaction/enum_attribute_compaction_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/searchlib/src/tests/attribute/enum_attribute_compaction/enum_attribute_compaction_test.cpp b/searchlib/src/tests/attribute/enum_attribute_compaction/enum_attribute_compaction_test.cpp
index 4cf46a75827..e30b41f477d 100644
--- a/searchlib/src/tests/attribute/enum_attribute_compaction/enum_attribute_compaction_test.cpp
+++ b/searchlib/src/tests/attribute/enum_attribute_compaction/enum_attribute_compaction_test.cpp
@@ -61,7 +61,7 @@ public:
void SetUp() override;
virtual BasicType get_basic_type() const = 0;
CollectionType get_collection_type() const noexcept { return GetParam(); }
- void addDocs(uint32_t num_docs);
+ void add_docs(uint32_t num_docs);
uint32_t count_changed_enum_handles(const std::vector<EnumHandle> &handles, uint32_t stride);
};
@@ -74,7 +74,7 @@ CompactionTestBase::SetUp()
}
void
-CompactionTestBase::addDocs(uint32_t num_docs)
+CompactionTestBase::add_docs(uint32_t num_docs)
{
uint32_t start_doc;
uint32_t end_doc;
@@ -177,7 +177,7 @@ CompactionTest<VectorType>::test_enum_store_compaction()
doc_count /= 2;
}
std::vector<EnumHandle> enum_handles;
- addDocs(doc_count);
+ add_docs(doc_count);
enum_handles.emplace_back(_v->getEnum(0));
uint32_t doc_id;
for (doc_id = 1; doc_id < doc_count; ++doc_id) {