Lines Matching refs:table
23 ::testing::AssertionResult VerifyIds(ResourceTable* table);
26 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST() local
36 ASSERT_TRUE(assigner.Consume(context.get(), table.get())); in TEST()
37 ASSERT_TRUE(VerifyIds(table.get())); in TEST()
41 std::unique_ptr<ResourceTable> table = in TEST() local
59 ASSERT_TRUE(assigner.Consume(context.get(), table.get())); in TEST()
60 ASSERT_TRUE(VerifyIds(table.get())); in TEST()
66 maybe_result = table->FindResource(test::ParseNameOrDie("android:dimen/two")); in TEST()
71 table->FindResource(test::ParseNameOrDie("android:integer/three")); in TEST()
79 table->FindResource(test::ParseNameOrDie("android:string/five")); in TEST()
85 maybe_result = table->FindResource(test::ParseNameOrDie("android:attr/bar")); in TEST()
89 maybe_result = table->FindResource(test::ParseNameOrDie("android:attr/baz")); in TEST()
95 std::unique_ptr<ResourceTable> table = in TEST() local
106 ASSERT_FALSE(assigner.Consume(context.get(), table.get())); in TEST()
110 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST() local
120 ASSERT_TRUE(assigner.Consume(context.get(), table.get())); in TEST()
121 ASSERT_TRUE(VerifyIds(table.get())); in TEST()
123 table->FindResource(test::ParseNameOrDie("android:attr/foo")); in TEST()
132 ::testing::AssertionResult VerifyIds(ResourceTable* table) { in VerifyIds() argument
134 for (auto& package : table->packages) { in VerifyIds()
147 for (auto& package : table->packages) { in VerifyIds()