Lines Matching refs:entry
24 StringPiece package, type, entry; in TEST() local
25 ASSERT_TRUE(ExtractResourceName("android:string/foo", &package, &type, &entry)); in TEST()
28 EXPECT_EQ("foo", entry); in TEST()
30 ASSERT_TRUE(ExtractResourceName("@android:string/foo", &package, &type, &entry)); in TEST()
33 EXPECT_EQ("foo", entry); in TEST()
35 ASSERT_TRUE(ExtractResourceName("string/foo", &package, &type, &entry)); in TEST()
38 EXPECT_EQ("foo", entry); in TEST()
40 ASSERT_TRUE(ExtractResourceName("@string/foo", &package, &type, &entry)); in TEST()
43 EXPECT_EQ("foo", entry); in TEST()
45 ASSERT_TRUE(ExtractResourceName("foo", &package, &type, &entry)); in TEST()
48 EXPECT_EQ("foo", entry); in TEST()
50 ASSERT_TRUE(ExtractResourceName("@foo", &package, &type, &entry)); in TEST()
53 EXPECT_EQ("foo", entry); in TEST()
55 ASSERT_TRUE(ExtractResourceName("android:foo", &package, &type, &entry)); in TEST()
58 EXPECT_EQ("foo", entry); in TEST()
65 EXPECT_FALSE(ExtractResourceName(":string/foo", &package, &type, &entry)); in TEST()
67 EXPECT_FALSE(ExtractResourceName("@:string/foo", &package, &type, &entry)); in TEST()
69 EXPECT_FALSE(ExtractResourceName("/foo", &package, &type, &entry)); in TEST()
71 EXPECT_FALSE(ExtractResourceName("@/foo", &package, &type, &entry)); in TEST()