/external/icing/icing/file/ |
D | file-backed-bitmap_test.cc | 70 ICING_EXPECT_OK(bitmap->PersistToDisk()); in TEST_F() 79 ICING_EXPECT_OK(bitmap->Set(100000, true)); in TEST_F() 80 ICING_EXPECT_OK(bitmap->Set(200000, false)); in TEST_F() 87 ICING_EXPECT_OK(bitmap->Set(50, true)); in TEST_F() 91 ICING_EXPECT_OK(bitmap->Set(100000, false)); in TEST_F() 92 ICING_EXPECT_OK(bitmap->Set(200000, true)); in TEST_F() 107 ICING_EXPECT_OK(bitmap->Set(100000, true)); in TEST_F() 111 ICING_EXPECT_OK(bitmap->Set(200000, false)); in TEST_F() 115 ICING_EXPECT_OK(bitmap->Set(0, false)); in TEST_F() 116 ICING_EXPECT_OK(bitmap->Set(1000, false)); in TEST_F() [all …]
|
D | file-backed-vector_test.cc | 120 ICING_EXPECT_OK(vector->PersistToDisk()); in TEST_F() 160 ICING_EXPECT_OK(vector->TruncateTo(0)); in TEST_F() 296 ICING_EXPECT_OK(vector->PersistToDisk()); in TEST_F() 364 ICING_EXPECT_OK(FileBackedVector<int64_t>::Delete(filesystem_, file_path_)); in TEST_F() 384 ICING_EXPECT_OK(FileBackedVector<int64_t>::Delete(filesystem_, file_path_)); in TEST_F() 415 ICING_EXPECT_OK(vector->TruncateTo(1)); in TEST_F() 420 ICING_EXPECT_OK(vector->TruncateTo(0)); in TEST_F() 456 ICING_EXPECT_OK(vector->TruncateTo(4)); in TEST_F()
|
D | file-backed-proto-log_test.cc | 491 ICING_EXPECT_OK(proto_log->WriteProto(document)); in TEST_F() 513 ICING_EXPECT_OK(proto_log->PersistToDisk()); in TEST_F() 517 ICING_EXPECT_OK(proto_log->WriteProto(document)); in TEST_F()
|
D | portable-file-backed-proto-log_test.cc | 878 ICING_EXPECT_OK(proto_log->WriteProto(document)); in TEST_F() 900 ICING_EXPECT_OK(proto_log->PersistToDisk()); in TEST_F() 904 ICING_EXPECT_OK(proto_log->WriteProto(document)); in TEST_F()
|
/external/icing/icing/store/ |
D | key-mapper_test.cc | 77 ICING_EXPECT_OK(key_mapper->Put("default-google.com", 100)); in TEST_F() 78 ICING_EXPECT_OK(key_mapper->Put("default-youtube.com", 50)); in TEST_F() 82 ICING_EXPECT_OK(key_mapper->Put("default-google.com", 200)); in TEST_F() 86 ICING_EXPECT_OK(key_mapper->Put("default-google.com", 300)); in TEST_F() 107 ICING_EXPECT_OK(key_mapper->PersistToDisk()); in TEST_F() 111 ICING_EXPECT_OK(key_mapper->Put("default-google.com", 100)); in TEST_F() 112 ICING_EXPECT_OK(key_mapper->PersistToDisk()); in TEST_F() 117 ICING_EXPECT_OK(key_mapper->Put("default-youtube.com", 200)); in TEST_F() 122 ICING_EXPECT_OK(key_mapper->Put("default-google.com", 300)); in TEST_F() 131 ICING_EXPECT_OK(key_mapper->Put("default-google.com", 100)); in TEST_F() [all …]
|
D | document-store_test.cc | 388 ICING_EXPECT_OK(document_store->Put(DocumentProto(test_document1_))); in TEST_F() 393 ICING_EXPECT_OK(document_store->Delete(test_document1_.namespace_(), in TEST_F() 415 ICING_EXPECT_OK(document_store->Put(document)); in TEST_F() 496 ICING_EXPECT_OK(document_store->Put(test_document1_)); in TEST_F() 499 ICING_EXPECT_OK(document_store->Delete(test_document1_.namespace_(), in TEST_F() 585 ICING_EXPECT_OK(document_store->Put(test_document1_)); in TEST_F() 586 ICING_EXPECT_OK(document_store->Delete(test_document1_.namespace_(), in TEST_F() 786 ICING_EXPECT_OK(document_store->Put(test_document1_)); in TEST_F() 787 ICING_EXPECT_OK(document_store->Delete(test_document1_.namespace_(), in TEST_F() 880 ICING_EXPECT_OK(doc_store->Put(test_document1_)); in TEST_F() [all …]
|
D | usage-store_test.cc | 245 ICING_EXPECT_OK(usage_store->SetUsageScores(/*document_id=*/1, scores)); in TEST_F() 273 ICING_EXPECT_OK(usage_store->SetUsageScores(/*document_id=*/1, scores)); in TEST_F() 277 ICING_EXPECT_OK(usage_store->DeleteUsageScores(/*document_id=*/1)); in TEST_F() 434 ICING_EXPECT_OK(usage_store->SetUsageScores(/*document_id=*/1, scores)); in TEST_F() 435 ICING_EXPECT_OK(usage_store->SetUsageScores(/*document_id=*/2, scores)); in TEST_F() 502 ICING_EXPECT_OK(usage_store->SetUsageScores(/*document_id=*/0, scores)); in TEST_F() 538 ICING_EXPECT_OK(usage_store->SetUsageScores(/*document_id=*/0, scores)); in TEST_F()
|
/external/icing/icing/util/ |
D | document-validator_test.cc | 391 ICING_EXPECT_OK(document_validator.Validate(conversation)); in TEST_F() 396 ICING_EXPECT_OK(document_validator_->Validate(email)); in TEST_F() 401 ICING_EXPECT_OK(document_validator_->Validate(email)); in TEST_F() 420 ICING_EXPECT_OK(document_validator_->Validate(email)); in TEST_F() 425 ICING_EXPECT_OK(document_validator_->Validate(email)); in TEST_F() 430 ICING_EXPECT_OK(document_validator_->Validate(email)); in TEST_F() 449 ICING_EXPECT_OK(document_validator_->Validate(email)); in TEST_F() 454 ICING_EXPECT_OK(document_validator_->Validate(email)); in TEST_F() 459 ICING_EXPECT_OK(document_validator_->Validate(email)); in TEST_F()
|
/external/icing/icing/index/main/ |
D | posting-list-accessor_test.cc | 61 ICING_EXPECT_OK(result.status); in TEST() 89 ICING_EXPECT_OK(result1.status); in TEST() 104 ICING_EXPECT_OK(result2.status); in TEST() 138 ICING_EXPECT_OK(result1.status); in TEST() 158 ICING_EXPECT_OK(result2.status); in TEST() 194 ICING_EXPECT_OK(result1.status); in TEST() 248 ICING_EXPECT_OK(result1.status); in TEST() 268 ICING_EXPECT_OK(result2.status); in TEST()
|
D | posting-list-used_test.cc | 128 ICING_EXPECT_OK(pl_used.PrependHit(hit0)); in TEST() 129 ICING_EXPECT_OK(pl_used.PrependHit(hit1)); in TEST() 130 ICING_EXPECT_OK(pl_used.PrependHit(hit2)); in TEST() 138 ICING_EXPECT_OK(pl_used.PrependHit(hit3)); in TEST() 153 ICING_EXPECT_OK(pl_used.PrependHit(hit4)); in TEST() 164 ICING_EXPECT_OK(pl_used.PrependHit(hit5)); in TEST() 195 ICING_EXPECT_OK(pl_used.PrependHit(hit0)); in TEST() 206 ICING_EXPECT_OK(pl_used.PrependHit(hit1)); in TEST() 500 ICING_EXPECT_OK(pl.PrependHit(Hit(4 - v))); in TEST() 506 ICING_EXPECT_OK(pl.PrependHit(Hit(kOverflow[3]))); in TEST() [all …]
|
/external/icing/icing/index/iterator/ |
D | doc-hit-info-iterator-or_test.cc | 175 ICING_EXPECT_OK(or_iter.Advance()); in TEST() 218 ICING_EXPECT_OK(or_iter.Advance()); in TEST() 261 ICING_EXPECT_OK(or_iter.Advance()); in TEST() 309 ICING_EXPECT_OK(or_iter.Advance()); in TEST() 319 ICING_EXPECT_OK(or_iter.Advance()); in TEST() 469 ICING_EXPECT_OK(or_iter.Advance()); in TEST() 547 ICING_EXPECT_OK(or_iter.Advance()); in TEST() 561 ICING_EXPECT_OK(or_iter.Advance()); in TEST() 576 ICING_EXPECT_OK(or_iter.Advance()); in TEST()
|
D | doc-hit-info-iterator-and_test.cc | 195 ICING_EXPECT_OK(and_iter.Advance()); in TEST() 239 ICING_EXPECT_OK(and_iter.Advance()); in TEST() 283 ICING_EXPECT_OK(and_iter.Advance()); in TEST() 463 ICING_EXPECT_OK(and_iter.Advance()); in TEST() 532 ICING_EXPECT_OK(and_iter.Advance()); in TEST()
|
D | doc-hit-info-iterator-section-restrict_test.cc | 146 ICING_EXPECT_OK(section_restrict_iterator.Advance()); in TEST_F()
|
/external/icing/icing/schema/ |
D | schema-store_test.cc | 698 ICING_EXPECT_OK(schema_store->SetSchema(foo_schema)); in TEST_F() 714 ICING_EXPECT_OK(schema_store->SetSchema(foo_schema)); in TEST_F() 734 ICING_EXPECT_OK(schema_store->SetSchema(foo_schema)); in TEST_F() 745 ICING_EXPECT_OK(schema_store->SetSchema(foo_bar_schema)); in TEST_F() 756 ICING_EXPECT_OK(schema_store->PersistToDisk()); in TEST_F() 767 ICING_EXPECT_OK(schema_store->SetSchema(schema)); in TEST_F() 770 ICING_EXPECT_OK(schema_store->PersistToDisk()); in TEST_F() 780 ICING_EXPECT_OK(schema_store->SetSchema(schema)); in TEST_F()
|
/external/icing/icing/index/ |
D | index_test.cc | 1467 ICING_EXPECT_OK(index_->TruncateTo(kInvalidDocumentId)); in TEST_F() 1480 ICING_EXPECT_OK(index_->TruncateTo(kInvalidDocumentId)); in TEST_F() 1489 ICING_EXPECT_OK(index_->TruncateTo(kInvalidDocumentId)); in TEST_F() 1503 ICING_EXPECT_OK(index_->TruncateTo(kInvalidDocumentId)); in TEST_F() 1514 ICING_EXPECT_OK(index_->TruncateTo(index_->last_added_document_id())); in TEST_F() 1527 ICING_EXPECT_OK(index_->TruncateTo(index_->last_added_document_id())); in TEST_F() 1537 ICING_EXPECT_OK(index_->TruncateTo(index_->last_added_document_id())); in TEST_F() 1552 ICING_EXPECT_OK(index_->TruncateTo(index_->last_added_document_id())); in TEST_F()
|
/external/icing/icing/testing/ |
D | common-matchers.h | 403 #define ICING_EXPECT_OK(func) EXPECT_THAT(func, IsOk()) macro
|
/external/icing/icing/scoring/ |
D | scoring-processor_test.cc | 151 ICING_EXPECT_OK(ScoringProcessor::Create(spec_proto, document_store())); in TEST_F()
|
/external/icing/icing/ |
D | icing-search-engine_test.cc | 3972 ICING_EXPECT_OK(schema_store->SetSchema(new_schema)); in TEST_F() 4035 ICING_EXPECT_OK(schema_store->SetSchema(CreateMessageSchema())); in TEST_F() 4045 ICING_EXPECT_OK(document_store->Put(document2)); in TEST_F() 6618 ICING_EXPECT_OK(schema_store->SetSchema(new_schema)); in TEST_F()
|