summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/attribute/searchcontext
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2018-08-17 21:47:31 +0200
committerTor Egge <Tor.Egge@broadpark.no>2018-08-17 21:50:57 +0200
commit592ba08a834c6e711da33dca6151ed6a482d0766 (patch)
treef34ff35e095c5e4ab41ef3fba7011ade4aaaa74a /searchlib/src/tests/attribute/searchcontext
parent0c29498fc46c1064c088afa4a34a57afbc40626e (diff)
Rename AttributeVector::saveAs() method to save().
Don't update attribute vector file name in the renamed method.
Diffstat (limited to 'searchlib/src/tests/attribute/searchcontext')
-rw-r--r--searchlib/src/tests/attribute/searchcontext/searchcontext.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/searchlib/src/tests/attribute/searchcontext/searchcontext.cpp b/searchlib/src/tests/attribute/searchcontext/searchcontext.cpp
index 0f6f7bdade7..167ffec7084 100644
--- a/searchlib/src/tests/attribute/searchcontext/searchcontext.cpp
+++ b/searchlib/src/tests/attribute/searchcontext/searchcontext.cpp
@@ -569,7 +569,7 @@ SearchContextTest::testMultiValueSearch(V & first, V & second, const std::vector
testMultiValueSearchHelper(first, values);
- ASSERT_TRUE(first.saveAs(second.getBaseFileName()));
+ ASSERT_TRUE(first.save(second.getBaseFileName()));
ASSERT_TRUE(second.load());
testMultiValueSearchHelper(second, values);
@@ -591,7 +591,7 @@ SearchContextTest::testMultiValueSearch(V & first, V & second, const std::vector
testMultiValueSearchHelper(first, values);
- ASSERT_TRUE(first.saveAs(second.getBaseFileName()));
+ ASSERT_TRUE(first.save(second.getBaseFileName()));
ASSERT_TRUE(second.load());
testMultiValueSearchHelper(second, values);
@@ -1558,7 +1558,7 @@ SearchContextTest::requireThatSearchIsWorkingAfterLoadAndClearDoc(const vespalib
VectorType & va = dynamic_cast<VectorType &>(*a);
resetAttribute(va, startValue); // triggers vector vector in posting list (count 15)
AttributePtr b = AttributeFactory::createAttribute(name + "-save", cfg);
- EXPECT_TRUE(a->saveAs(b->getBaseFileName()));
+ EXPECT_TRUE(a->save(b->getBaseFileName()));
EXPECT_TRUE(b->load());
b->clearDoc(6); // goes from vector vector to single vector with count 14
b->commit(true);