Searched refs:search_result (Results 1 – 7 of 7) sorted by relevance
1065 search_result = table_.FindResource(test::ParseNameOrDie("drawable/bar")); in TEST_F()1066 ASSERT_TRUE(search_result); in TEST_F()1067 ASSERT_THAT(search_result.value().entry, NotNull()); in TEST_F()1068 ASSERT_TRUE(search_result.value().entry->overlayable_item); in TEST_F()1069 result_overlayable_item = search_result.value().entry->overlayable_item.value(); in TEST_F()1115 auto search_result = table_.FindResource(test::ParseNameOrDie("string/bar")); in TEST_F() local1116 ASSERT_TRUE(search_result); in TEST_F()1117 ASSERT_THAT(search_result.value().entry, NotNull()); in TEST_F()1118 ASSERT_TRUE(search_result.value().entry->overlayable_item); in TEST_F()1119 OverlayableItem result_overlayable_item = search_result.value().entry->overlayable_item.value(); in TEST_F()[all …]
278 std::optional<ResourceTable::SearchResult> search_result = table.FindResource(name); in TEST() local280 ASSERT_TRUE(search_result); in TEST()281 ASSERT_TRUE(search_result.value().entry->overlayable_item); in TEST()283 OverlayableItem& result_overlayable_item = search_result.value().entry->overlayable_item.value(); in TEST()
488 std::optional<ResourceTable::SearchResult> search_result = in TEST_F() local490 ASSERT_TRUE(search_result); in TEST_F()491 EXPECT_EQ(0x00u, search_result.value().entry->id.value().package_id()); in TEST_F()519 std::optional<ResourceTable::SearchResult> search_result = in TEST_F() local521 ASSERT_TRUE(search_result); in TEST_F()522 EXPECT_EQ(0x00030001u, search_result.value().entry->id.value()); in TEST_F()523 ASSERT_EQ(1u, search_result.value().entry->values.size()); in TEST_F()524 Value* value = search_result.value().entry->values[0]->value.get(); in TEST_F()824 auto search_result = output_table.FindResource(test::ParseNameOrDie(name)); in TEST_F() local825 ASSERT_TRUE(search_result); in TEST_F()[all …]
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 …]
485 std::optional<ResourceTable::SearchResult> search_result = final_table.FindResource(name); in TEST_F() local486 ASSERT_TRUE(search_result); in TEST_F()487 ASSERT_TRUE(search_result.value().entry->overlayable_item); in TEST_F()488 OverlayableItem& result_overlayable_item = search_result.value().entry->overlayable_item.value(); in TEST_F()519 std::optional<ResourceTable::SearchResult> search_result = final_table.FindResource(name); in TEST_F() local520 ASSERT_TRUE(search_result); in TEST_F()521 ASSERT_TRUE(search_result.value().entry->overlayable_item); in TEST_F()522 OverlayableItem& result_overlayable_item = search_result.value().entry->overlayable_item.value(); in TEST_F()
159 const ResourceTable::SearchResult& search_result = result.value(); in TEST_F() local160 EXPECT_EQ(0x01010002, search_result.entry->id); in TEST_F()
1720 const auto search_result = table->FindResource(name_ref); in ResolveTableEntry() local1721 if (!search_result) { in ResolveTableEntry()1724 return search_result.value().entry; in ResolveTableEntry()