Lines Matching refs:table

29   std::unique_ptr<ResourceTable> table =  in TEST()  local
48 util::make_unique<ResourceTableSymbolSource>(table.get())) in TEST()
56 ASSERT_TRUE(linker.Consume(context.get(), table.get())); in TEST()
58 Reference* ref = test::GetValue<Reference>(table.get(), "com.app.test:string/foo"); in TEST()
63 ref = test::GetValue<Reference>(table.get(), "com.app.test:string/bar"); in TEST()
68 ref = test::GetValue<Reference>(table.get(), "com.app.test:string/baz"); in TEST()
75 std::unique_ptr<ResourceTable> table = in TEST() local
89 Style* style = test::GetValue<Style>(table.get(), "com.app.test:style/Theme"); in TEST()
92 util::make_unique<RawString>(table->string_pool.MakeRef("one|two")); in TEST()
118 ASSERT_TRUE(linker.Consume(context.get(), table.get())); in TEST()
120 Style* style = test::GetValue<Style>(table.get(), "com.app.test:style/Theme"); in TEST()
154 std::unique_ptr<ResourceTable> table = in TEST() local
164 ASSERT_TRUE(linker.Consume(context.get(), table.get())); in TEST()
166 Style* style = test::GetValue<Style>(table.get(), "com.app.test:style/Theme"); in TEST()
174 std::unique_ptr<ResourceTable> table = in TEST() local
186 util::make_unique<ResourceTableSymbolSource>(table.get())) in TEST()
194 ASSERT_FALSE(linker.Consume(context.get(), table.get())); in TEST()
198 std::unique_ptr<ResourceTable> table = in TEST() local
211 util::make_unique<ResourceTableSymbolSource>(table.get())) in TEST()
221 ASSERT_FALSE(linker.Consume(context.get(), table.get())); in TEST()
225 std::unique_ptr<ResourceTable> table = in TEST() local
240 util::make_unique<ResourceTableSymbolSource>(table.get())) in TEST()
251 ASSERT_FALSE(linker.Consume(context.get(), table.get())); in TEST()
256 SymbolTable table(&mangler); in TEST() local
257 table.AppendSource(test::StaticSymbolSourceBuilder() in TEST()
269 *test::BuildReference("com.app.test:string/foo"), call_site, context.get(), &table, &error); in TEST()
276 SymbolTable table(&mangler); in TEST() local
277 table.AppendSource(test::StaticSymbolSourceBuilder() in TEST()
293 *test::BuildReference("com.app.test:attr/foo"), call_site, context.get(), &table, &error)); in TEST()
298 *test::BuildReference("com.app.test:attr/public_foo"), call_site, context.get(), &table, in TEST()
305 SymbolTable table(&mangler); in TEST() local
306 table.AppendSource(test::StaticSymbolSourceBuilder() in TEST()
318 context.get(), &table); in TEST()
323 context.get(), &table); in TEST()
328 CallSite{"com.app.bad"}, context.get(), &table), in TEST()
334 SymbolTable table(&mangler); in TEST() local
335 table.AppendSource(test::StaticSymbolSourceBuilder() in TEST()
349 context.get(), &table); in TEST()
354 context.get(), &table); in TEST()
363 context.get(), &table); in TEST()
369 std::unique_ptr<ResourceTable> table = in TEST() local
379 .AddSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) in TEST()
383 ASSERT_FALSE(linker.Consume(context.get(), table.get())); in TEST()