Lines Matching refs:test
29 const ConfigDescription land_config = test::ParseConfigOrDie("land"); in TEST()
30 const ConfigDescription sw600dp_land_config = test::ParseConfigOrDie("sw600dp-land"); in TEST()
42 const ConfigDescription sw600dp_v13_config = test::ParseConfigOrDie("sw600dp-v13"); in TEST()
43 const ConfigDescription v21_config = test::ParseConfigOrDie("v21"); in TEST()
56 test::ResourceTableBuilder() in TEST()
59 "app:style/Foo", test::ParseConfigOrDie("v4"), in TEST()
61 test::StyleBuilder() in TEST()
72 "app:style/Foo", test::ParseConfigOrDie("v21"), in TEST()
74 test::StyleBuilder() in TEST()
80 std::unique_ptr<IAaptContext> context = test::ContextBuilder() in TEST()
88 …Style* style = test::GetValueForConfig<Style>(table.get(), "app:style/Foo", test::ParseConfigOrDie… in TEST()
91 …EXPECT_EQ(make_value(test::ParseNameOrDie("android:attr/onClick")), style->entries.front().key.nam… in TEST()
93 …style = test::GetValueForConfig<Style>(table.get(), "app:style/Foo", test::ParseConfigOrDie("v13")… in TEST()
96 EXPECT_EQ(make_value(test::ParseNameOrDie("android:attr/onClick")),style->entries[0].key.name); in TEST()
97 …EXPECT_EQ(make_value(test::ParseNameOrDie("android:attr/requiresSmallestWidthDp")), style->entries… in TEST()
99 …style = test::GetValueForConfig<Style>(table.get(), "app:style/Foo", test::ParseConfigOrDie("v17")… in TEST()
102 EXPECT_EQ(make_value(test::ParseNameOrDie("android:attr/onClick")), style->entries[0].key.name); in TEST()
103 …EXPECT_EQ(make_value(test::ParseNameOrDie("android:attr/requiresSmallestWidthDp")), style->entries… in TEST()
104 …EXPECT_EQ(make_value(test::ParseNameOrDie("android:attr/paddingStart")), style->entries[2].key.nam… in TEST()
106 …style = test::GetValueForConfig<Style>(table.get(), "app:style/Foo", test::ParseConfigOrDie("v21")… in TEST()
109 …EXPECT_EQ(make_value(test::ParseNameOrDie("android:attr/paddingEnd")), style->entries.front().key.… in TEST()