aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/fix_locked_dependencies_TEST.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-04-26 13:59:04 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-04-26 13:59:04 +0000
commit118de550d2dc5508ff4446bdf7f2ddf7b497b9ba (patch)
tree5ced2de062474cb8e6537e68d71cbc7c5a80e802 /paludis/repositories/e/fix_locked_dependencies_TEST.cc
parentf76a3a0a7b38b5a3652a9e9bcb13942483f7c53a (diff)
downloadpaludis-118de550d2dc5508ff4446bdf7f2ddf7b497b9ba.tar.gz
paludis-118de550d2dc5508ff4446bdf7f2ddf7b497b9ba.tar.xz
paludis::tr1:: is dead. We no longer support compilers that don't do tr1 (that means you, gcc-3).
Diffstat (limited to 'paludis/repositories/e/fix_locked_dependencies_TEST.cc')
-rw-r--r--paludis/repositories/e/fix_locked_dependencies_TEST.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/paludis/repositories/e/fix_locked_dependencies_TEST.cc b/paludis/repositories/e/fix_locked_dependencies_TEST.cc
index 255ecc32c..fe3eedc2c 100644
--- a/paludis/repositories/e/fix_locked_dependencies_TEST.cc
+++ b/paludis/repositories/e/fix_locked_dependencies_TEST.cc
@@ -44,36 +44,36 @@ namespace test_cases
void run()
{
TestEnvironment env;
- tr1::shared_ptr<FakeRepository> repo(new FakeRepository(&env, RepositoryName("repo")));
+ std::tr1::shared_ptr<FakeRepository> repo(new FakeRepository(&env, RepositoryName("repo")));
env.package_database()->add_repository(1, repo);
- tr1::shared_ptr<const PackageID> id(repo->add_version("cat", "pkg", "1"));
+ std::tr1::shared_ptr<const PackageID> id(repo->add_version("cat", "pkg", "1"));
- tr1::shared_ptr<FakeInstalledRepository> installed_repo(new FakeInstalledRepository(&env, RepositoryName("installed")));
+ std::tr1::shared_ptr<FakeInstalledRepository> installed_repo(new FakeInstalledRepository(&env, RepositoryName("installed")));
env.package_database()->add_repository(2, installed_repo);
installed_repo->add_version("cat", "installed", "1")->set_slot(SlotName("monkey"));
- tr1::shared_ptr<const EAPI> eapi(EAPIData::get_instance()->eapi_from_string("paludis-1"));
+ std::tr1::shared_ptr<const EAPI> eapi(EAPIData::get_instance()->eapi_from_string("paludis-1"));
- tr1::shared_ptr<DependencySpecTree::ConstItem> bb(parse_depend(
+ std::tr1::shared_ptr<DependencySpecTree::ConstItem> bb(parse_depend(
"|| ( foo/bar ( bar/baz oink/squeak ) ) blah/blah", &env, id, *eapi)),
aa(fix_locked_dependencies(&env, *eapi, id, bb));
StringifyFormatter ff;
DepSpecPrettyPrinter
- a(0, tr1::shared_ptr<const PackageID>(), ff, 0, false),
- b(0, tr1::shared_ptr<const PackageID>(), ff, 0, false);
+ a(0, std::tr1::shared_ptr<const PackageID>(), ff, 0, false),
+ b(0, std::tr1::shared_ptr<const PackageID>(), ff, 0, false);
aa->accept(a);
bb->accept(b);
TEST_CHECK_STRINGIFY_EQUAL(a, b);
- tr1::shared_ptr<DependencySpecTree::ConstItem> cc(parse_depend(
+ std::tr1::shared_ptr<DependencySpecTree::ConstItem> cc(parse_depend(
"foo/bar:= cat/installed:= >=cat/installed-1.2:= <=cat/installed-1.2:=", &env, id, *eapi)),
dd(fix_locked_dependencies(&env, *eapi, id, cc));
DepSpecPrettyPrinter
- c(0, tr1::shared_ptr<const PackageID>(), ff, 0, false),
- d(0, tr1::shared_ptr<const PackageID>(), ff, 0, false);
+ c(0, std::tr1::shared_ptr<const PackageID>(), ff, 0, false),
+ d(0, std::tr1::shared_ptr<const PackageID>(), ff, 0, false);
cc->accept(c);
dd->accept(d);