Lines Matching refs:apex_manifest

42   auto apex_manifest = ParseManifest(ToString(manifest));  in TEST()  local
43 ASSERT_RESULT_OK(apex_manifest); in TEST()
44 EXPECT_EQ("com.android.example.apex", std::string(apex_manifest->name())); in TEST()
45 EXPECT_EQ(1u, apex_manifest->version()); in TEST()
46 EXPECT_FALSE(apex_manifest->nocode()); in TEST()
52 auto apex_manifest = ParseManifest(ToString(manifest)); in TEST() local
53 ASSERT_FALSE(apex_manifest.ok()); in TEST()
54 EXPECT_EQ(apex_manifest.error().message(), in TEST()
56 << apex_manifest.error(); in TEST()
62 auto apex_manifest = ParseManifest(ToString(manifest)); in TEST() local
63 ASSERT_FALSE(apex_manifest.ok()); in TEST()
65 apex_manifest.error().message(), in TEST()
67 << apex_manifest.error(); in TEST()
74 auto apex_manifest = ParseManifest(ToString(manifest)); in TEST() local
75 ASSERT_RESULT_OK(apex_manifest); in TEST()
76 EXPECT_EQ("", std::string(apex_manifest->preinstallhook())); in TEST()
84 auto apex_manifest = ParseManifest(ToString(manifest)); in TEST() local
85 ASSERT_RESULT_OK(apex_manifest); in TEST()
86 EXPECT_EQ("bin/preInstallHook", std::string(apex_manifest->preinstallhook())); in TEST()
93 auto apex_manifest = ParseManifest(ToString(manifest)); in TEST() local
94 ASSERT_RESULT_OK(apex_manifest); in TEST()
95 EXPECT_EQ("", std::string(apex_manifest->postinstallhook())); in TEST()
103 auto apex_manifest = ParseManifest(ToString(manifest)); in TEST() local
104 ASSERT_RESULT_OK(apex_manifest); in TEST()
106 std::string(apex_manifest->postinstallhook())); in TEST()
110 auto apex_manifest = ParseManifest("This is an invalid pony"); in TEST() local
111 ASSERT_FALSE(apex_manifest.ok()); in TEST()
112 EXPECT_EQ(apex_manifest.error().message(), in TEST()
114 << apex_manifest.error(); in TEST()
122 auto apex_manifest = ParseManifest(ToString(manifest)); in TEST() local
123 ASSERT_RESULT_OK(apex_manifest); in TEST()
124 EXPECT_TRUE(apex_manifest->nocode()); in TEST()