Lines Matching refs:ResourceName

101     EXPECT_EQ(ref.name, (ResourceName{ u"android", ResourceType::kStyle, u"foo" }));  in TEST()
104 EXPECT_EQ(ref.name, (ResourceName{ {}, ResourceType::kStyle, u"foo" })); in TEST()
107 EXPECT_EQ(ref.name, (ResourceName{ u"android", ResourceType::kStyle, u"foo" })); in TEST()
110 EXPECT_EQ(ref.name, (ResourceName{ {}, ResourceType::kStyle, u"foo" })); in TEST()
113 EXPECT_EQ(ref.name, (ResourceName{ u"android", ResourceType::kStyle, u"foo" })); in TEST()
116 EXPECT_EQ(ref.name, (ResourceName{ u"android", ResourceType::kStyle, u"foo" })); in TEST()
119 EXPECT_EQ(ref.name, (ResourceName{ {}, ResourceType::kStyle, u"foo" })); in TEST()
178 const String* str = findResource<String>(ResourceName{ in TEST_F()
188 const String* str = findResource<String>(ResourceName{ in TEST_F()
202 const BinaryPrimitive* integer = findResource<BinaryPrimitive>(ResourceName{ in TEST_F()
213 const BinaryPrimitive* integer = findResource<BinaryPrimitive>(ResourceName{ in TEST_F()
225 const Attribute* attr = findResource<Attribute>(ResourceName{ in TEST_F()
230 attr = findResource<Attribute>(ResourceName{ in TEST_F()
243 const Attribute* attr = findResource<Attribute>(ResourceName{ in TEST_F()
258 const Attribute* attr = findResource<Attribute>(ResourceName{ in TEST_F()
272 const Attribute* enumAttr = findResource<Attribute>(ResourceName{ in TEST_F()
296 const Attribute* flagAttr = findResource<Attribute>(ResourceName{ in TEST_F()
334 const Style* style = findResource<Style>(ResourceName{ in TEST_F()
341 (ResourceName{ u"android", ResourceType::kAttr, u"bar" })); in TEST_F()
343 (ResourceName{ u"android", ResourceType::kAttr, u"bat" })); in TEST_F()
345 (ResourceName{ u"android", ResourceType::kAttr, u"baz" })); in TEST_F()
353 ResourceName{ u"android", ResourceType::kStyle, u"foo" }); in TEST_F()
363 const Style* style = findResource<Style>(ResourceName{ in TEST_F()
376 const Style* style = findResource<Style>(ResourceName{ in TEST_F()
388 const Style* style = findResource<Style>(ResourceName{ in TEST_F()
391 EXPECT_EQ(style->parent.name, (ResourceName{ u"android", ResourceType::kStyle, u"foo" })); in TEST_F()
399 const Style* style = findResource<Style>(ResourceName{ in TEST_F()
410 const Id* id = findResource<Id>(ResourceName{ u"android", ResourceType::kId, u"bar"}); in TEST_F()
421 const Attribute* attr = findResource<Attribute>(ResourceName{ in TEST_F()
426 attr = findResource<Attribute>(ResourceName{ u"android", ResourceType::kAttr, u"bat"}); in TEST_F()
430 const Styleable* styleable = findResource<Styleable>(ResourceName{ in TEST_F()
435 EXPECT_EQ((ResourceName{u"android", ResourceType::kAttr, u"bar"}), styleable->entries[0].name); in TEST_F()
436 EXPECT_EQ((ResourceName{u"android", ResourceType::kAttr, u"bat"}), styleable->entries[1].name); in TEST_F()
447 const Array* array = findResource<Array>(ResourceName{ in TEST_F()
472 std::tie(type, entry) = mTable->findResource(ResourceName{ in TEST_F()
488 const Id* id = findResource<Id>(ResourceName{ u"android", ResourceType::kId, u"foo" }); in TEST_F()