Lines Matching refs:addResource
40 addResource(ResourceName{ {}, ResourceType::kAttr, u"integer" }, in SetUp()
43 addResource(ResourceName{ {}, ResourceType::kAttr, u"string" }, in SetUp()
46 addResource(ResourceName{ {}, ResourceType::kId, u"apple" }, util::make_unique<Id>()); in SetUp()
48 addResource(ResourceName{ {}, ResourceType::kId, u"banana" }, util::make_unique<Id>()); in SetUp()
56 addResource(ResourceName{ {}, ResourceType::kAttr, u"flags" }, std::move(flagAttr)); in SetUp()
63 bool addResource(const ResourceNameRef& name, std::unique_ptr<Value> value) { in addResource() function
64 return mTable->addResource(name, {}, SourceLine{ "test.xml", 21 }, std::move(value)); in addResource()
72 ASSERT_TRUE(addResource(ResourceName{ u"android", ResourceType::kString, u"foo" }, in TEST_F()
86 ASSERT_TRUE(addResource(ResourceName{ u"android", ResourceType::kStyle, u"foo" }, in TEST_F()
101 ASSERT_TRUE(addResource(ResourceName{ u"android", ResourceType::kStyle, u"foo" }, in TEST_F()
115 ASSERT_TRUE(addResource(ResourceName{ u"android", ResourceType::kStyle, u"foo" }, in TEST_F()
133 ASSERT_TRUE(addResource(ResourceName{ u"android", ResourceType::kStyle, u"foo" }, in TEST_F()
146 ASSERT_TRUE(addResource(ResourceName{ u"android", ResourceType::kInteger, u"foo" }, in TEST_F()