Lines Matching refs:EXPECT_THAT
136 EXPECT_THAT( in TEST_F()
139 EXPECT_THAT( in TEST_F()
148 EXPECT_THAT(itr->Advance(), in TEST_F()
154 EXPECT_THAT(itr->Advance(), in TEST_F()
165 EXPECT_THAT(itr->Advance(), in TEST_F()
171 EXPECT_THAT(itr->Advance(), in TEST_F()
178 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
179 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
184 EXPECT_THAT(itr->Advance(), in TEST_F()
186 EXPECT_THAT(itr->doc_hit_info(), in TEST_F()
192 EXPECT_THAT(itr->Advance(), IsOk()); in TEST_F()
193 EXPECT_THAT(itr->Advance(), in TEST_F()
195 EXPECT_THAT(itr->doc_hit_info(), in TEST_F()
202 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
203 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
210 EXPECT_THAT(itr->Advance(), in TEST_F()
212 EXPECT_THAT(itr->doc_hit_info(), in TEST_F()
218 EXPECT_THAT(itr->Advance(), IsOk()); in TEST_F()
219 EXPECT_THAT(itr->Advance(), in TEST_F()
221 EXPECT_THAT(itr->doc_hit_info(), in TEST_F()
228 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
229 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
234 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
242 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
243 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
250 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
258 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
259 EXPECT_THAT(edit.BufferTerm("bar"), IsOk()); in TEST_F()
260 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
265 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
273 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
274 EXPECT_THAT(edit.BufferTerm("bar"), IsOk()); in TEST_F()
275 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
282 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
290 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
291 EXPECT_THAT(edit.BufferTerm("bar"), IsOk()); in TEST_F()
292 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
297 EXPECT_THAT(itr->Advance(), in TEST_F()
304 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
305 EXPECT_THAT(edit.BufferTerm("bar"), IsOk()); in TEST_F()
306 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
313 EXPECT_THAT(itr->Advance(), in TEST_F()
320 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
321 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
325 EXPECT_THAT(edit.BufferTerm("bar"), IsOk()); in TEST_F()
326 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
330 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
331 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
336 EXPECT_THAT( in TEST_F()
346 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
347 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
351 EXPECT_THAT(edit.BufferTerm("bar"), IsOk()); in TEST_F()
352 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
356 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
357 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
364 EXPECT_THAT( in TEST_F()
374 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
375 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
379 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
380 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
386 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
394 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
395 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
399 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
400 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
408 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
415 EXPECT_THAT(size, Eq(0)); in TEST_F()
418 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
420 EXPECT_THAT(size, Gt(0)); in TEST_F()
421 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
423 EXPECT_THAT(new_size, Eq(size)); in TEST_F()
424 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
429 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
438 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
443 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
452 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
459 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
468 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
473 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
478 EXPECT_THAT( in TEST_F()
489 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
494 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
501 EXPECT_THAT( in TEST_F()
512 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
517 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
522 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
531 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
536 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
543 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
553 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
558 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
568 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
575 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
585 EXPECT_THAT(itr->ToString(), in TEST_F()
590 EXPECT_THAT(itr->ToString(), in TEST_F()
595 EXPECT_THAT(itr->ToString(), in TEST_F()
604 EXPECT_THAT(itr->ToString(), in TEST_F()
610 EXPECT_THAT(itr->ToString(), in TEST_F()
616 EXPECT_THAT(itr->ToString(), in TEST_F()
625 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
630 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
637 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
647 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
654 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
661 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
707 EXPECT_THAT(edit.BufferTerm(term.c_str()), IsOk()); in TEST_F()
709 EXPECT_THAT(edit.BufferTerm(term.c_str()), IsOk()); in TEST_F()
711 EXPECT_THAT(edit.BufferTerm(term.c_str()), IsOk()); in TEST_F()
712 EXPECT_THAT(edit.IndexAllBufferedTerms(), in TEST_F()
722 EXPECT_THAT(itr->Advance(), IsOk()); in TEST_F()
728 EXPECT_THAT(last_itr->Advance(), IsOk()); in TEST_F()
729 EXPECT_THAT(last_itr->doc_hit_info().document_id(), Eq(document_id - 1)); in TEST_F()
767 EXPECT_THAT(status, in TEST_F()
775 EXPECT_THAT(edit.BufferTerm(term.c_str()), IsOk()); in TEST_F()
777 EXPECT_THAT(edit.BufferTerm(term.c_str()), IsOk()); in TEST_F()
779 EXPECT_THAT(edit.BufferTerm(term.c_str()), IsOk()); in TEST_F()
780 EXPECT_THAT(edit.IndexAllBufferedTerms(), in TEST_F()
786 EXPECT_THAT(last_itr->Advance(), IsOk()); in TEST_F()
787 EXPECT_THAT(last_itr->doc_hit_info().document_id(), Eq(document_id - 1)); in TEST_F()
793 EXPECT_THAT(edit.BufferTerm(term.c_str()), IsOk()); in TEST_F()
795 EXPECT_THAT(edit.BufferTerm(term.c_str()), IsOk()); in TEST_F()
797 EXPECT_THAT(edit.BufferTerm(term.c_str()), IsOk()); in TEST_F()
798 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
804 EXPECT_THAT(itr->Advance(), IsOk()); in TEST_F()
805 EXPECT_THAT(itr->doc_hit_info().document_id(), Eq(document_id + 1)); in TEST_F()
809 EXPECT_THAT(last_itr->Advance(), IsOk()); in TEST_F()
810 EXPECT_THAT(last_itr->doc_hit_info().document_id(), Eq(document_id + 1)); in TEST_F()
820 EXPECT_THAT(Index::Create(options, &filesystem_, &mock_icing_filesystem), in TEST_F()
830 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
851 EXPECT_THAT(Index::Create(options, &filesystem_, &icing_filesystem_), in TEST_F()
861 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
862 EXPECT_THAT(index_->PersistToDisk(), IsOk()); in TEST_F()
876 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
887 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
889 EXPECT_THAT(index_->PersistToDisk(), IsOk()); in TEST_F()
903 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
911 EXPECT_THAT(Index::Create(options, &filesystem_, &icing_filesystem_), in TEST_F()
918 EXPECT_THAT(edit.BufferTerm("fool"), IsOk()); in TEST_F()
919 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
921 EXPECT_THAT(index_->FindTermsByPrefix(/*prefix=*/"foo", /*namespace_ids=*/{0}, in TEST_F()
924 EXPECT_THAT(index_->FindTermsByPrefix(/*prefix=*/"foo", /*namespace_ids=*/{0}, in TEST_F()
930 EXPECT_THAT(index_->FindTermsByPrefix(/*prefix=*/"foo", /*namespace_ids=*/{0}, in TEST_F()
933 EXPECT_THAT(index_->FindTermsByPrefix(/*prefix=*/"foo", /*namespace_ids=*/{0}, in TEST_F()
941 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
942 EXPECT_THAT(edit.BufferTerm("bar"), IsOk()); in TEST_F()
943 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
946 EXPECT_THAT(index_->FindTermsByPrefix(/*prefix=*/"b", /*namespace_ids=*/{0}, in TEST_F()
953 EXPECT_THAT(index_->FindTermsByPrefix(/*prefix=*/"b", /*namespace_ids=*/{0}, in TEST_F()
962 EXPECT_THAT(edit.BufferTerm("fo"), IsOk()); in TEST_F()
963 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
964 EXPECT_THAT(edit.BufferTerm("fool"), IsOk()); in TEST_F()
965 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
968 EXPECT_THAT(index_->FindTermsByPrefix(/*prefix=*/"f", /*namespace_ids=*/{0}, in TEST_F()
975 EXPECT_THAT(index_->FindTermsByPrefix(/*prefix=*/"f", /*namespace_ids=*/{0}, in TEST_F()
984 EXPECT_THAT(edit1.BufferTerm("fo"), IsOk()); in TEST_F()
985 EXPECT_THAT(edit1.BufferTerm("foo"), IsOk()); in TEST_F()
986 EXPECT_THAT(edit1.IndexAllBufferedTerms(), IsOk()); in TEST_F()
991 EXPECT_THAT(edit2.BufferTerm("fool"), IsOk()); in TEST_F()
992 EXPECT_THAT(edit2.IndexAllBufferedTerms(), IsOk()); in TEST_F()
995 EXPECT_THAT(index_->FindTermsByPrefix(/*prefix=*/"f", /*namespace_ids=*/{0}, in TEST_F()
1000 EXPECT_THAT( in TEST_F()
1008 EXPECT_THAT(index_->FindTermsByPrefix(/*prefix=*/"f", /*namespace_ids=*/{0}, in TEST_F()
1014 EXPECT_THAT(index_->FindTermsByPrefix(/*prefix=*/"f", /*namespace_ids=*/{1}, in TEST_F()
1024 EXPECT_THAT(edit1.BufferTerm("fo"), IsOk()); in TEST_F()
1025 EXPECT_THAT(edit1.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1030 EXPECT_THAT(edit2.BufferTerm("foo"), IsOk()); in TEST_F()
1031 EXPECT_THAT(edit2.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1036 EXPECT_THAT(edit3.BufferTerm("fool"), IsOk()); in TEST_F()
1037 EXPECT_THAT(edit3.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1040 EXPECT_THAT( in TEST_F()
1048 EXPECT_THAT( in TEST_F()
1060 EXPECT_THAT(edit1.BufferTerm("fo"), IsOk()); in TEST_F()
1061 EXPECT_THAT(edit1.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1066 EXPECT_THAT(edit2.BufferTerm("foo"), IsOk()); in TEST_F()
1067 EXPECT_THAT(edit2.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1072 EXPECT_THAT(edit3.BufferTerm("fool"), IsOk()); in TEST_F()
1073 EXPECT_THAT(edit3.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1076 EXPECT_THAT(index_->FindTermsByPrefix(/*prefix=*/"f", /*namespace_ids=*/{}, in TEST_F()
1085 EXPECT_THAT(index_->FindTermsByPrefix(/*prefix=*/"f", /*namespace_ids=*/{}, in TEST_F()
1097 EXPECT_THAT(edit1.BufferTerm("foo"), IsOk()); in TEST_F()
1098 EXPECT_THAT(edit1.BufferTerm("fool"), IsOk()); in TEST_F()
1099 EXPECT_THAT(edit1.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1104 EXPECT_THAT(edit2.BufferTerm("fool"), IsOk()); in TEST_F()
1105 EXPECT_THAT(edit2.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1108 EXPECT_THAT( in TEST_F()
1118 EXPECT_THAT(index_->FindTermsByPrefix(/*prefix=*/"f", /*namespace_ids=*/{0}, in TEST_F()
1129 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
1130 EXPECT_THAT(edit.BufferTerm("fool"), IsOk()); in TEST_F()
1131 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1135 EXPECT_THAT(edit.BufferTerm("fool"), IsOk()); in TEST_F()
1136 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1139 EXPECT_THAT(edit.BufferTerm("fool"), IsOk()); in TEST_F()
1140 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1143 EXPECT_THAT(edit.BufferTerm("fool"), IsOk()); in TEST_F()
1144 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1147 EXPECT_THAT(edit.BufferTerm("fool"), IsOk()); in TEST_F()
1148 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1151 EXPECT_THAT(edit.BufferTerm("fool"), IsOk()); in TEST_F()
1152 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1155 EXPECT_THAT(edit.BufferTerm("fool"), IsOk()); in TEST_F()
1156 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1159 EXPECT_THAT(edit.BufferTerm("fool"), IsOk()); in TEST_F()
1160 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1163 EXPECT_THAT( in TEST_F()
1172 EXPECT_THAT(index_->FindTermsByPrefix(/*prefix=*/"f", /*namespace_ids=*/{0}, in TEST_F()
1183 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
1184 EXPECT_THAT(edit.BufferTerm("fool"), IsOk()); in TEST_F()
1185 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1191 EXPECT_THAT(edit.BufferTerm("fool"), IsOk()); in TEST_F()
1192 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1196 EXPECT_THAT(index_->FindTermsByPrefix(/*prefix=*/"f", /*namespace_ids=*/{0}, in TEST_F()
1207 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
1208 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1214 EXPECT_THAT(edit.BufferTerm("fool"), IsOk()); in TEST_F()
1215 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1218 EXPECT_THAT(index_->FindTermsByPrefix(/*prefix=*/"f", /*namespace_ids=*/{0}, in TEST_F()
1228 EXPECT_THAT(size, Eq(0)); in TEST_F()
1233 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
1234 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1236 EXPECT_THAT(size, Gt(0)); in TEST_F()
1240 EXPECT_THAT(size, Gt(0)); in TEST_F()
1246 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
1247 EXPECT_THAT(edit.BufferTerm("fool"), IsOk()); in TEST_F()
1248 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1251 EXPECT_THAT(edit.BufferTerm("foot"), IsOk()); in TEST_F()
1252 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1257 EXPECT_THAT(edit.BufferTerm("footer"), IsOk()); in TEST_F()
1258 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1261 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
1262 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1267 EXPECT_THAT( in TEST_F()
1277 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
1278 EXPECT_THAT(edit.BufferTerm("fool"), IsOk()); in TEST_F()
1279 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1282 EXPECT_THAT(edit.BufferTerm("foot"), IsOk()); in TEST_F()
1283 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1288 EXPECT_THAT(edit.BufferTerm("footer"), IsOk()); in TEST_F()
1289 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1292 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
1293 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1298 EXPECT_THAT( in TEST_F()
1313 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1317 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1323 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1327 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1331 EXPECT_THAT(out0, Not(IsEmpty())); in TEST_F()
1335 EXPECT_THAT(out1, SizeIs(Gt(out0.size()))); in TEST_F()
1341 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1345 EXPECT_THAT(out2, Ne(out0)); in TEST_F()
1349 EXPECT_THAT(out3, Ne(out1)); in TEST_F()
1356 EXPECT_THAT(out4, Ne(out0)); in TEST_F()
1357 EXPECT_THAT(out4, Ne(out2)); in TEST_F()
1361 EXPECT_THAT(out5, Ne(out1)); in TEST_F()
1362 EXPECT_THAT(out5, Ne(out3)); in TEST_F()
1371 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1375 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1379 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1391 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1405 EXPECT_THAT( in TEST_F()
1419 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1423 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1433 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1437 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1442 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1459 EXPECT_THAT( in TEST_F()
1468 EXPECT_THAT(index_->GetElementsSize(), IsOkAndHolds(0)); in TEST_F()
1472 EXPECT_THAT(GetHits(std::move(itr)), IsEmpty()); in TEST_F()
1478 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1483 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
1492 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
1499 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1506 EXPECT_THAT( in TEST_F()
1515 EXPECT_THAT(index_->GetElementsSize(), IsOkAndHolds(0)); in TEST_F()
1519 EXPECT_THAT(GetHits(std::move(itr)), IsEmpty()); in TEST_F()
1525 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1531 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
1540 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
1547 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1555 EXPECT_THAT( in TEST_F()
1567 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1576 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1579 EXPECT_THAT(index_->TruncateTo(kDocumentId0), IsOk()); in TEST_F()
1585 EXPECT_THAT(GetHits(std::move(itr)), in TEST_F()
1595 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1600 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1609 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1612 EXPECT_THAT(index_->TruncateTo(kDocumentId0), IsOk()); in TEST_F()
1618 EXPECT_THAT(GetHits(std::move(itr)), IsEmpty()); in TEST_F()
1627 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1631 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
1637 EXPECT_THAT(storage_info.index_size(), Ge(0)); in TEST_F()
1638 EXPECT_THAT(storage_info.lite_index_lexicon_size(), Ge(0)); in TEST_F()
1639 EXPECT_THAT(storage_info.lite_index_hit_buffer_size(), Ge(0)); in TEST_F()
1640 EXPECT_THAT(storage_info.main_index_lexicon_size(), Ge(0)); in TEST_F()
1641 EXPECT_THAT(storage_info.main_index_storage_size(), Ge(0)); in TEST_F()
1642 EXPECT_THAT(storage_info.main_index_block_size(), Ge(0)); in TEST_F()
1644 EXPECT_THAT(storage_info.num_blocks(), Eq(2)); in TEST_F()
1645 EXPECT_THAT(storage_info.min_free_fraction(), Ge(0)); in TEST_F()