Lines Matching refs:package
24 StringPiece package, type, entry; in TEST() local
25 ASSERT_TRUE(ExtractResourceName("android:string/foo", &package, &type, &entry)); in TEST()
26 EXPECT_EQ("android", package); in TEST()
30 ASSERT_TRUE(ExtractResourceName("string/foo", &package, &type, &entry)); in TEST()
31 EXPECT_EQ("", package); in TEST()
35 ASSERT_TRUE(ExtractResourceName("foo", &package, &type, &entry)); in TEST()
36 EXPECT_EQ("", package); in TEST()
40 ASSERT_TRUE(ExtractResourceName("android:foo", &package, &type, &entry)); in TEST()
41 EXPECT_EQ("android", package); in TEST()
45 EXPECT_FALSE(ExtractResourceName(":string/foo", &package, &type, &entry)); in TEST()
46 EXPECT_FALSE(ExtractResourceName("/foo", &package, &type, &entry)); in TEST()