aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/e_repository_TEST_5.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/e_repository_TEST_5.cc')
-rw-r--r--paludis/repositories/e/e_repository_TEST_5.cc27
1 files changed, 0 insertions, 27 deletions
diff --git a/paludis/repositories/e/e_repository_TEST_5.cc b/paludis/repositories/e/e_repository_TEST_5.cc
index 0c34243e8..272df7b82 100644
--- a/paludis/repositories/e/e_repository_TEST_5.cc
+++ b/paludis/repositories/e/e_repository_TEST_5.cc
@@ -214,33 +214,6 @@ TEST(ERepository, InstallEAPI5)
id->perform_action(pretend_action);
ASSERT_TRUE(! pretend_action.failed());
}
-
- {
- const std::shared_ptr<const PackageID> id(*env[selection::RequireExactlyOne(generator::Matches(
- PackageDepSpec(parse_user_package_dep_spec("=cat/apply-user-patches-5",
- &env, { })), make_null_shared_ptr(), { }))]->last());
- ASSERT_TRUE(bool(id));
- EXPECT_EQ("5", visitor_cast<const MetadataValueKey<std::string> >(**id->find_metadata("EAPI"))->parse_value());
- id->perform_action(action);
- }
-
- {
- const std::shared_ptr<const PackageID> id(*env[selection::RequireExactlyOne(generator::Matches(
- PackageDepSpec(parse_user_package_dep_spec("=cat/apply-user-patches-default-5",
- &env, { })), make_null_shared_ptr(), { }))]->last());
- ASSERT_TRUE(bool(id));
- EXPECT_EQ("5", visitor_cast<const MetadataValueKey<std::string> >(**id->find_metadata("EAPI"))->parse_value());
- id->perform_action(action);
- }
-
- {
- const std::shared_ptr<const PackageID> id(*env[selection::RequireExactlyOne(generator::Matches(
- PackageDepSpec(parse_user_package_dep_spec("=cat/apply-user-patches-uncalled-5",
- &env, { })), make_null_shared_ptr(), { }))]->last());
- ASSERT_TRUE(bool(id));
- EXPECT_EQ("5", visitor_cast<const MetadataValueKey<std::string> >(**id->find_metadata("EAPI"))->parse_value());
- EXPECT_THROW(id->perform_action(action), ActionFailedError);
- }
}
TEST(ERepository, RequiredUse)