aboutsummaryrefslogtreecommitdiff
path: root/paludis/user_dep_spec_TEST.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-10-21 22:00:49 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-10-21 22:01:52 +0100
commitcbcd4493d29a3309ffc52f9b91c2fad0ad942ae2 (patch)
treef51da5b08588d68a6d6e649c6da71c29b68ffeb7 /paludis/user_dep_spec_TEST.cc
parent576e0a19ba6bbf718d050f5743d687c3afc67641 (diff)
downloadpaludis-cbcd4493d29a3309ffc52f9b91c2fad0ad942ae2.tar.gz
paludis-cbcd4493d29a3309ffc52f9b91c2fad0ad942ae2.tar.xz
Consistent ctor style
Diffstat (limited to 'paludis/user_dep_spec_TEST.cc')
-rw-r--r--paludis/user_dep_spec_TEST.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/paludis/user_dep_spec_TEST.cc b/paludis/user_dep_spec_TEST.cc
index 5c3868390..bd33d08ac 100644
--- a/paludis/user_dep_spec_TEST.cc
+++ b/paludis/user_dep_spec_TEST.cc
@@ -315,7 +315,13 @@ namespace test_cases
std::tr1::shared_ptr<FakeRepository> fake(new FakeRepository(make_named_values<FakeRepositoryParams>(
value_for<n::environment>(&env),
value_for<n::name>(RepositoryName("fake")))));
- std::tr1::shared_ptr<FakeInstalledRepository> fake_inst(new FakeInstalledRepository(&env, RepositoryName("fake_inst")));
+ std::tr1::shared_ptr<FakeInstalledRepository> fake_inst(new FakeInstalledRepository(
+ make_named_values<FakeInstalledRepositoryParams>(
+ value_for<n::environment>(&env),
+ value_for<n::name>(RepositoryName("fake_inst")),
+ value_for<n::suitable_destination>(true),
+ value_for<n::supports_uninstall>(true)
+ )));
env.package_database()->add_repository(1, fake);
env.package_database()->add_repository(2, fake_inst);
fake->add_version("cat", "pkg1", "1");