aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/exndbam_repository_TEST.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-01-09 19:15:12 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-01-09 19:15:12 +0000
commit335d1ef199ef041ece93401ac709a6bf215a981b (patch)
tree20bf338d6f52b4b4d8a5999e3856cb3c5b0d794d /paludis/repositories/e/exndbam_repository_TEST.cc
parent3c502ca3ff22aea056348040fe8fd47e94baf346 (diff)
downloadpaludis-335d1ef199ef041ece93401ac709a6bf215a981b.tar.gz
paludis-335d1ef199ef041ece93401ac709a6bf215a981b.tar.xz
Crude phases support.
Fixes: ticket:412
Diffstat (limited to 'paludis/repositories/e/exndbam_repository_TEST.cc')
-rw-r--r--paludis/repositories/e/exndbam_repository_TEST.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/paludis/repositories/e/exndbam_repository_TEST.cc b/paludis/repositories/e/exndbam_repository_TEST.cc
index 802f6ecfb..1a2061350 100644
--- a/paludis/repositories/e/exndbam_repository_TEST.cc
+++ b/paludis/repositories/e/exndbam_repository_TEST.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2008 Ciaran McCreesh
+ * Copyright (c) 2008, 2009 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -51,6 +51,11 @@ namespace
void dummy_used_this_for_config_protect(const std::string &)
{
}
+
+ WantPhase want_all_phases(const std::string &)
+ {
+ return wp_yes;
+ }
}
namespace test_cases
@@ -117,7 +122,8 @@ namespace test_cases
InstallAction install_action(make_named_values<InstallActionOptions>(
value_for<n::destination>(exndbam_repo),
- value_for<n::used_this_for_config_protect>(&dummy_used_this_for_config_protect)
+ value_for<n::used_this_for_config_protect>(&dummy_used_this_for_config_protect),
+ value_for<n::want_phase>(&want_all_phases)
));
UninstallAction uninstall_action(make_named_values<UninstallActionOptions>(