Lines Matching refs:ref
121 Reference* ref = ValueCast<Reference>(item.get()); in TEST() local
122 EXPECT_TRUE(ref->is_dynamic); in TEST()
123 EXPECT_EQ(ref->id.value().id, 0x01); in TEST()
158 Maybe<Reference> ref = ResourceUtils::ParseStyleParentReference("@android:style/foo", &err_str); in TEST() local
159 ASSERT_TRUE(ref); in TEST()
160 EXPECT_THAT(ref.value().name, Eq(make_value(kAndroidStyleFooName))); in TEST()
162 ref = ResourceUtils::ParseStyleParentReference("@style/foo", &err_str); in TEST()
163 ASSERT_TRUE(ref); in TEST()
164 EXPECT_THAT(ref.value().name, Eq(make_value(kStyleFooName))); in TEST()
166 ref = ResourceUtils::ParseStyleParentReference("?android:style/foo", &err_str); in TEST()
167 ASSERT_TRUE(ref); in TEST()
168 EXPECT_THAT(ref.value().name, Eq(make_value(kAndroidStyleFooName))); in TEST()
170 ref = ResourceUtils::ParseStyleParentReference("?style/foo", &err_str); in TEST()
171 ASSERT_TRUE(ref); in TEST()
172 EXPECT_THAT(ref.value().name, Eq(make_value(kStyleFooName))); in TEST()
174 ref = ResourceUtils::ParseStyleParentReference("android:style/foo", &err_str); in TEST()
175 ASSERT_TRUE(ref); in TEST()
176 EXPECT_THAT(ref.value().name, Eq(make_value(kAndroidStyleFooName))); in TEST()
178 ref = ResourceUtils::ParseStyleParentReference("android:foo", &err_str); in TEST()
179 ASSERT_TRUE(ref); in TEST()
180 EXPECT_THAT(ref.value().name, Eq(make_value(kAndroidStyleFooName))); in TEST()
182 ref = ResourceUtils::ParseStyleParentReference("@android:foo", &err_str); in TEST()
183 ASSERT_TRUE(ref); in TEST()
184 EXPECT_THAT(ref.value().name, Eq(make_value(kAndroidStyleFooName))); in TEST()
186 ref = ResourceUtils::ParseStyleParentReference("foo", &err_str); in TEST()
187 ASSERT_TRUE(ref); in TEST()
188 EXPECT_THAT(ref.value().name, Eq(make_value(kStyleFooName))); in TEST()
190 ref = ResourceUtils::ParseStyleParentReference("*android:style/foo", &err_str); in TEST()
191 ASSERT_TRUE(ref); in TEST()
192 EXPECT_THAT(ref.value().name, Eq(make_value(kAndroidStyleFooName))); in TEST()
193 EXPECT_TRUE(ref.value().private_reference); in TEST()