Lines Matching refs:style
89 Style* style = test::GetValue<Style>(table.get(), "com.app.test:style/Theme"); in TEST() local
90 ASSERT_THAT(style, NotNull()); in TEST()
91 style->entries.back().value = in TEST()
120 Style* style = test::GetValue<Style>(table.get(), "com.app.test:style/Theme"); in TEST() local
121 ASSERT_THAT(style, NotNull()); in TEST()
122 ASSERT_TRUE(style->parent); in TEST()
123 ASSERT_TRUE(style->parent.value().id); in TEST()
124 EXPECT_EQ(ResourceId(0x01060000), style->parent.value().id.value()); in TEST()
126 ASSERT_EQ(2u, style->entries.size()); in TEST()
128 ASSERT_TRUE(style->entries[0].key.id); in TEST()
129 EXPECT_EQ(ResourceId(0x01010001), style->entries[0].key.id.value()); in TEST()
130 ASSERT_THAT(ValueCast<BinaryPrimitive>(style->entries[0].value.get()), NotNull()); in TEST()
132 ASSERT_TRUE(style->entries[1].key.id); in TEST()
133 EXPECT_EQ(ResourceId(0x01010002), style->entries[1].key.id.value()); in TEST()
134 ASSERT_THAT(ValueCast<BinaryPrimitive>(style->entries[1].value.get()), NotNull()); in TEST()
166 Style* style = test::GetValue<Style>(table.get(), "com.app.test:style/Theme"); in TEST() local
167 ASSERT_THAT(style, NotNull()); in TEST()
168 ASSERT_EQ(1u, style->entries.size()); in TEST()
169 ASSERT_TRUE(style->entries.front().key.id); in TEST()
170 EXPECT_EQ(ResourceId(0x7f010000), style->entries.front().key.id.value()); in TEST()