Lines Matching defs:table

25     std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder()
41 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get()))
48 ASSERT_TRUE(linker.consume(context.get(), table.get()));
50 Reference* ref = test::getValue<Reference>(table.get(), u"@com.app.test:string/foo");
55 ref = test::getValue<Reference>(table.get(), u"@com.app.test:string/bar");
60 ref = test::getValue<Reference>(table.get(), u"@com.app.test:string/baz");
67 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder()
78 // table, because we need access to the string pool.
79 Style* style = test::getValue<Style>(table.get(), u"@com.app.test:style/Theme");
82 table->stringPool.makeRef(u"one|two"));
106 ASSERT_TRUE(linker.consume(context.get(), table.get()));
108 Style* style = test::getValue<Style>(table.get(), u"@com.app.test:style/Theme");
139 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder()
148 ASSERT_TRUE(linker.consume(context.get(), table.get()));
150 Style* style = test::getValue<Style>(table.get(), u"@com.app.test:style/Theme");
158 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder()
168 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get()))
175 ASSERT_FALSE(linker.consume(context.get(), table.get()));
179 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder()
189 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get()))
198 ASSERT_FALSE(linker.consume(context.get(), table.get()));
202 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder()
213 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get()))
224 ASSERT_FALSE(linker.consume(context.get(), table.get()));