Lines Matching refs:table
64 ResourceTable table; in TEST() local
65 table.setPackage(u"android"); in TEST()
67 EXPECT_FALSE(table.addResource( in TEST()
72 EXPECT_FALSE(table.addResource( in TEST()
81 ResourceTable table; in TEST() local
82 table.setPackage(kAndroidPackage); in TEST()
86 EXPECT_TRUE(table.addResource(name, {}, SourceLine{ "test/path/file.xml", 23 }, in TEST()
91 std::tie(type, entry) = table.findResource(name); in TEST()
105 ResourceTable table; in TEST() local
106 table.setPackage(kAndroidPackage); in TEST()
112 EXPECT_TRUE(table.addResource( in TEST()
117 EXPECT_TRUE(table.addResource( in TEST()
122 EXPECT_TRUE(table.addResource( in TEST()
127 EXPECT_TRUE(table.addResource( in TEST()
132 const auto endTypeIter = std::end(table); in TEST()
133 auto typeIter = std::begin(table); in TEST()
200 ResourceTable table; in TEST() local
201 table.setPackage(kAndroid); in TEST()
202 table.setPackageId(0x01); in TEST()
204 ASSERT_TRUE(table.addResource( in TEST()
210 std::tie(type, entry) = table.findResource( in TEST()
217 ASSERT_TRUE(table.addResource(ResourceName{ kAndroid, ResourceType::kAttr, u"foo" }, {}, {}, in TEST()
220 std::tie(type, entry) = table.findResource( in TEST()