diff options
Diffstat (limited to 'searchlib/src/tests/predicate/simple_index_test.cpp')
-rw-r--r-- | searchlib/src/tests/predicate/simple_index_test.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/searchlib/src/tests/predicate/simple_index_test.cpp b/searchlib/src/tests/predicate/simple_index_test.cpp index 84495dbdbe2..c5177c526c0 100644 --- a/searchlib/src/tests/predicate/simple_index_test.cpp +++ b/searchlib/src/tests/predicate/simple_index_test.cpp @@ -98,7 +98,7 @@ struct Fixture { SimpleIndex<MyData>::VectorIterator getVectorPostingList(uint64_t k) { return *_index.getVectorPostingList(k); } - SimpleIndex<MyData>::BTreeIterator getBTreePostingList(datastore::EntryRef ref) { + SimpleIndex<MyData>::BTreeIterator getBTreePostingList(vespalib::datastore::EntryRef ref) { return _index.getBTreePostingList(ref); } void commit() { @@ -112,7 +112,7 @@ TEST_F("require that SimpleIndex can insert and remove a value.", Fixture) { f.commit(); auto it = f.lookup(key); ASSERT_TRUE(it.valid()); - datastore::EntryRef ref = it.getData(); + vespalib::datastore::EntryRef ref = it.getData(); auto posting_it = f.getBTreePostingList(ref); ASSERT_TRUE(posting_it.valid()); EXPECT_EQUAL(doc_id, posting_it.getKey()); @@ -137,7 +137,7 @@ TEST_F("require that SimpleIndex can insert and remove many values.", Fixture) { f.commit(); auto it = f.lookup(key); ASSERT_TRUE(it.valid()); - datastore::EntryRef ref = it.getData(); + vespalib::datastore::EntryRef ref = it.getData(); auto posting_it = f.getBTreePostingList(ref); for (size_t id = 1; id < 100; ++id) { ASSERT_TRUE(posting_it.valid()); @@ -181,7 +181,7 @@ TEST_FF("require that SimpleIndex can be serialized and deserialized.", Fixture, auto it = f2.lookup(key); ASSERT_TRUE(it.valid()); - datastore::EntryRef ref = it.getData(); + vespalib::datastore::EntryRef ref = it.getData(); auto posting_it = f1.getBTreePostingList(ref); for (uint32_t id = 1; id < 100; ++id) { ASSERT_TRUE(posting_it.valid()); @@ -202,7 +202,7 @@ TEST_F("require that SimpleIndex can update by inserting the same key twice.", F auto it = f.lookup(key); ASSERT_TRUE(it.valid()); - datastore::EntryRef ref = it.getData(); + vespalib::datastore::EntryRef ref = it.getData(); auto posting_it = f.getBTreePostingList(ref); ASSERT_TRUE(posting_it.valid()); EXPECT_EQUAL(doc_id, posting_it.getKey()); |