aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/test/test_environment.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/environments/test/test_environment.cc')
-rw-r--r--paludis/environments/test/test_environment.cc21
1 files changed, 5 insertions, 16 deletions
diff --git a/paludis/environments/test/test_environment.cc b/paludis/environments/test/test_environment.cc
index 0930d13..5dadd6a 100644
--- a/paludis/environments/test/test_environment.cc
+++ b/paludis/environments/test/test_environment.cc
@@ -130,16 +130,6 @@ TestEnvironment::fetch_package_id(const QualifiedPackageName & q,
throw NoSuchPackageError(stringify(q) + "-" + stringify(v) + "::" + stringify(r));
}
-const std::tr1::shared_ptr<const SetSpecTree>
-TestEnvironment::local_set(const SetName & s) const
-{
- Sets::const_iterator i(_imp->sets.find(s));
- if (_imp->sets.end() == i)
- return make_null_shared_ptr();
- else
- return i->second;
-}
-
uid_t
TestEnvironment::reduced_uid() const
{
@@ -202,12 +192,6 @@ TestEnvironment::unmasked_by_user(const PackageID &) const
return false;
}
-const std::tr1::shared_ptr<const SetSpecTree>
-TestEnvironment::world_set() const
-{
- return local_set(SetName("world"));
-}
-
void
TestEnvironment::add_to_world(const QualifiedPackageName &) const
{
@@ -305,3 +289,8 @@ TestEnvironment::set_want_choice_enabled(const ChoicePrefixName & p, const Unpre
_imp->override_want_choice_enabled[stringify(p) + ":" + stringify(n)] = v;
}
+void
+TestEnvironment::populate_sets() const
+{
+}
+