aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/resolver_test.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-08 16:16:32 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-08 16:16:32 +0000
commit26cdad7e7cd655655e06fc07eef74ab01d63250b (patch)
treef9934e7e7227fa3a430358a3ab1eb23c49d2cd17 /paludis/resolver/resolver_test.cc
parentf1902e624313bd9f34b0e22eb567034242f3c25d (diff)
downloadpaludis-26cdad7e7cd655655e06fc07eef74ab01d63250b.tar.gz
paludis-26cdad7e7cd655655e06fc07eef74ab01d63250b.tar.xz
Refactor replacing logic into a helper
Diffstat (limited to 'paludis/resolver/resolver_test.cc')
-rw-r--r--paludis/resolver/resolver_test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/paludis/resolver/resolver_test.cc b/paludis/resolver/resolver_test.cc
index 4fb08c195..73cee7774 100644
--- a/paludis/resolver/resolver_test.cc
+++ b/paludis/resolver/resolver_test.cc
@@ -106,6 +106,7 @@ ResolverTestCase::ResolverTestCase(const std::string & t, const std::string & s,
always_via_binary_helper(&env),
can_use_helper(&env),
confirm_helper(&env),
+ find_replacing_helper(&env),
find_repository_for_helper(&env),
get_constraints_for_dependent_helper(&env),
get_constraints_for_purge_helper(&env),
@@ -177,6 +178,7 @@ ResolverTestCase::get_resolver_functions()
n::always_via_binary_fn() = std::cref(always_via_binary_helper),
n::can_use_fn() = std::cref(can_use_helper),
n::confirm_fn() = std::cref(confirm_helper),
+ n::find_replacing_fn() = std::cref(find_replacing_helper),
n::find_repository_for_fn() = std::cref(find_repository_for_helper),
n::get_constraints_for_dependent_fn() = std::cref(get_constraints_for_dependent_helper),
n::get_constraints_for_purge_fn() = std::cref(get_constraints_for_purge_helper),