Searched refs:search_result (Results 1 – 7 of 7) sorted by relevance
426 Maybe<ResourceTable::SearchResult> search_result = in TEST_F() local428 ASSERT_TRUE(search_result); in TEST_F()429 EXPECT_EQ(0x00u, search_result.value().entry->id.value().package_id()); in TEST_F()457 Maybe<ResourceTable::SearchResult> search_result = in TEST_F() local459 ASSERT_TRUE(search_result); in TEST_F()460 EXPECT_EQ(0x00030001u, search_result.value().entry->id.value()); in TEST_F()461 ASSERT_EQ(1u, search_result.value().entry->values.size()); in TEST_F()462 Value* value = search_result.value().entry->values[0]->value.get(); in TEST_F()681 auto search_result = output_table.FindResource(test::ParseNameOrDie(name)); in TEST_F() local682 ASSERT_TRUE(search_result); in TEST_F()[all …]
1063 search_result = table_.FindResource(test::ParseNameOrDie("drawable/bar")); in TEST_F()1064 ASSERT_TRUE(search_result); in TEST_F()1065 ASSERT_THAT(search_result.value().entry, NotNull()); in TEST_F()1066 ASSERT_TRUE(search_result.value().entry->overlayable_item); in TEST_F()1067 result_overlayable_item = search_result.value().entry->overlayable_item.value(); in TEST_F()1113 auto search_result = table_.FindResource(test::ParseNameOrDie("string/bar")); in TEST_F() local1114 ASSERT_TRUE(search_result); in TEST_F()1115 ASSERT_THAT(search_result.value().entry, NotNull()); in TEST_F()1116 ASSERT_TRUE(search_result.value().entry->overlayable_item); in TEST_F()1117 OverlayableItem result_overlayable_item = search_result.value().entry->overlayable_item.value(); in TEST_F()[all …]
277 Maybe<ResourceTable::SearchResult> search_result = table.FindResource(name); in TEST() local279 ASSERT_TRUE(search_result); in TEST()280 ASSERT_TRUE(search_result.value().entry->overlayable_item); in TEST()282 OverlayableItem& result_overlayable_item = search_result.value().entry->overlayable_item.value(); in TEST()
79 auto search_result = new_table.FindResource(test::ParseNameOrDie("com.app.a:bool/foo")); in TEST() local80 ASSERT_TRUE(search_result); in TEST()81 EXPECT_THAT(search_result.value().entry->visibility.level, Eq(Visibility::Level::kUndefined)); in TEST()82 EXPECT_FALSE(search_result.value().entry->visibility.staged_api); in TEST()84 search_result = new_table.FindResource(test::ParseNameOrDie("com.app.a:bool/bar")); in TEST()85 ASSERT_TRUE(search_result); in TEST()86 EXPECT_THAT(search_result.value().entry->visibility.level, Eq(Visibility::Level::kPrivate)); in TEST()87 EXPECT_FALSE(search_result.value().entry->visibility.staged_api); in TEST()89 search_result = new_table.FindResource(test::ParseNameOrDie("com.app.a:bool/baz")); in TEST()90 ASSERT_TRUE(search_result); in TEST()[all …]
486 Maybe<ResourceTable::SearchResult> search_result = final_table.FindResource(name); in TEST_F() local487 ASSERT_TRUE(search_result); in TEST_F()488 ASSERT_TRUE(search_result.value().entry->overlayable_item); in TEST_F()489 OverlayableItem& result_overlayable_item = search_result.value().entry->overlayable_item.value(); in TEST_F()520 Maybe<ResourceTable::SearchResult> search_result = final_table.FindResource(name); in TEST_F() local521 ASSERT_TRUE(search_result); in TEST_F()522 ASSERT_TRUE(search_result.value().entry->overlayable_item); in TEST_F()523 OverlayableItem& result_overlayable_item = search_result.value().entry->overlayable_item.value(); in TEST_F()
145 const ResourceTable::SearchResult& search_result = result.value(); in TEST_F() local146 EXPECT_EQ(make_value<ResourceId>(0x01010002), search_result.entry->id); in TEST_F()
1594 const auto search_result = table->FindResource(name_ref); in ResolveTableEntry() local1595 if (!search_result) { in ResolveTableEntry()1598 return search_result.value().entry; in ResolveTableEntry()