Lines Matching refs:enumAttr
213 Attribute* enumAttr = test::getValue<Attribute>(&mTable, u"@attr/foo"); in TEST_F() local
214 ASSERT_NE(enumAttr, nullptr); in TEST_F()
215 EXPECT_EQ(enumAttr->typeMask, android::ResTable_map::TYPE_ENUM); in TEST_F()
216 ASSERT_EQ(enumAttr->symbols.size(), 3u); in TEST_F()
218 AAPT_ASSERT_TRUE(enumAttr->symbols[0].symbol.name); in TEST_F()
219 EXPECT_EQ(enumAttr->symbols[0].symbol.name.value().entry, u"bar"); in TEST_F()
220 EXPECT_EQ(enumAttr->symbols[0].value, 0u); in TEST_F()
222 AAPT_ASSERT_TRUE(enumAttr->symbols[1].symbol.name); in TEST_F()
223 EXPECT_EQ(enumAttr->symbols[1].symbol.name.value().entry, u"bat"); in TEST_F()
224 EXPECT_EQ(enumAttr->symbols[1].value, 1u); in TEST_F()
226 AAPT_ASSERT_TRUE(enumAttr->symbols[2].symbol.name); in TEST_F()
227 EXPECT_EQ(enumAttr->symbols[2].symbol.name.value().entry, u"baz"); in TEST_F()
228 EXPECT_EQ(enumAttr->symbols[2].value, 2u); in TEST_F()