Lines Matching refs:p
30 Maybe<xml::ExtractedPackage> p = in TEST() local
32 ASSERT_TRUE(p); in TEST()
33 EXPECT_EQ(std::string("a"), p.value().package); in TEST()
34 EXPECT_FALSE(p.value().private_namespace); in TEST()
36 p = xml::ExtractPackageFromNamespace("http://schemas.android.com/apk/prv/res/android"); in TEST()
37 ASSERT_TRUE(p); in TEST()
38 EXPECT_EQ(std::string("android"), p.value().package); in TEST()
39 EXPECT_TRUE(p.value().private_namespace); in TEST()
41 p = xml::ExtractPackageFromNamespace("http://schemas.android.com/apk/prv/res/com.test"); in TEST()
42 ASSERT_TRUE(p); in TEST()
43 EXPECT_EQ(std::string("com.test"), p.value().package); in TEST()
44 EXPECT_TRUE(p.value().private_namespace); in TEST()
46 p = xml::ExtractPackageFromNamespace("http://schemas.android.com/apk/res-auto"); in TEST()
47 ASSERT_TRUE(p); in TEST()
48 EXPECT_EQ(std::string(), p.value().package); in TEST()
49 EXPECT_TRUE(p.value().private_namespace); in TEST()