Lines Matching refs:ExtractResourceName
23 TEST(ResourceUtilsTest, ExtractResourceName) { in TEST() argument
25 ASSERT_TRUE(ExtractResourceName("android:string/foo", &package, &type, &entry)); in TEST()
30 ASSERT_TRUE(ExtractResourceName("@android:string/foo", &package, &type, &entry)); in TEST()
35 ASSERT_TRUE(ExtractResourceName("string/foo", &package, &type, &entry)); in TEST()
40 ASSERT_TRUE(ExtractResourceName("@string/foo", &package, &type, &entry)); in TEST()
45 ASSERT_TRUE(ExtractResourceName("foo", &package, &type, &entry)); in TEST()
50 ASSERT_TRUE(ExtractResourceName("@foo", &package, &type, &entry)); in TEST()
55 ASSERT_TRUE(ExtractResourceName("android:foo", &package, &type, &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()