aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/e_repository_TEST.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/e_repository_TEST.cc')
-rw-r--r--paludis/repositories/e/e_repository_TEST.cc12
1 files changed, 1 insertions, 11 deletions
diff --git a/paludis/repositories/e/e_repository_TEST.cc b/paludis/repositories/e/e_repository_TEST.cc
index 5bf166558..402107590 100644
--- a/paludis/repositories/e/e_repository_TEST.cc
+++ b/paludis/repositories/e/e_repository_TEST.cc
@@ -58,7 +58,7 @@ using namespace paludis;
namespace
{
- void cannot_uninstall(const std::tr1::shared_ptr<const PackageID> & id)
+ void cannot_uninstall(const std::tr1::shared_ptr<const PackageID> & id, const UninstallActionOptions &)
{
if (id)
throw InternalError(PALUDIS_HERE, "cannot uninstall");
@@ -79,10 +79,6 @@ namespace
return mm->second;
}
- void dummy_used_this_for_config_protect(const std::string &)
- {
- }
-
WantPhase want_all_phases(const std::string &)
{
return wp_yes;
@@ -1114,7 +1110,6 @@ namespace test_cases
value_for<n::make_output_manager>(&make_standard_output_manager),
value_for<n::perform_uninstall>(&cannot_uninstall),
value_for<n::replacing>(make_shared_ptr(new PackageIDSequence)),
- value_for<n::used_this_for_config_protect>(&dummy_used_this_for_config_protect),
value_for<n::want_phase>(&want_all_phases)
));
@@ -1372,7 +1367,6 @@ namespace test_cases
value_for<n::make_output_manager>(&make_standard_output_manager),
value_for<n::perform_uninstall>(&cannot_uninstall),
value_for<n::replacing>(make_shared_ptr(new PackageIDSequence)),
- value_for<n::used_this_for_config_protect>(&dummy_used_this_for_config_protect),
value_for<n::want_phase>(&want_all_phases)
));
@@ -1469,7 +1463,6 @@ namespace test_cases
value_for<n::make_output_manager>(&make_standard_output_manager),
value_for<n::perform_uninstall>(&cannot_uninstall),
value_for<n::replacing>(make_shared_ptr(new PackageIDSequence)),
- value_for<n::used_this_for_config_protect>(&dummy_used_this_for_config_protect),
value_for<n::want_phase>(&want_all_phases)
));
@@ -1596,7 +1589,6 @@ namespace test_cases
value_for<n::make_output_manager>(&make_standard_output_manager),
value_for<n::perform_uninstall>(&cannot_uninstall),
value_for<n::replacing>(make_shared_ptr(new PackageIDSequence)),
- value_for<n::used_this_for_config_protect>(&dummy_used_this_for_config_protect),
value_for<n::want_phase>(&want_all_phases)
));
@@ -1804,7 +1796,6 @@ namespace test_cases
value_for<n::make_output_manager>(&make_standard_output_manager),
value_for<n::perform_uninstall>(&cannot_uninstall),
value_for<n::replacing>(make_shared_ptr(new PackageIDSequence)),
- value_for<n::used_this_for_config_protect>(&dummy_used_this_for_config_protect),
value_for<n::want_phase>(&want_all_phases)
));
@@ -2389,7 +2380,6 @@ namespace test_cases
value_for<n::make_output_manager>(&make_standard_output_manager),
value_for<n::perform_uninstall>(&cannot_uninstall),
value_for<n::replacing>(make_shared_ptr(new PackageIDSequence)),
- value_for<n::used_this_for_config_protect>(&dummy_used_this_for_config_protect),
value_for<n::want_phase>(&want_all_phases)
));