aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/fix_locked_dependencies_TEST.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-31 03:21:02 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-01 03:57:53 +0000
commit4a4c5ce98b186a8dc3e3d683b1889a7f724c93c3 (patch)
treeb3daed1da5be1fdae3bd27e5b38a8d3b538731da /paludis/repositories/e/fix_locked_dependencies_TEST.cc
parent79da6018d6c02a099af83ecd62e8858ead5f27db (diff)
downloadpaludis-4a4c5ce98b186a8dc3e3d683b1889a7f724c93c3.tar.gz
paludis-4a4c5ce98b186a8dc3e3d683b1889a7f724c93c3.tar.xz
Kill formatters
Diffstat (limited to 'paludis/repositories/e/fix_locked_dependencies_TEST.cc')
-rw-r--r--paludis/repositories/e/fix_locked_dependencies_TEST.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/paludis/repositories/e/fix_locked_dependencies_TEST.cc b/paludis/repositories/e/fix_locked_dependencies_TEST.cc
index 74f37103b..ca6ffb9c8 100644
--- a/paludis/repositories/e/fix_locked_dependencies_TEST.cc
+++ b/paludis/repositories/e/fix_locked_dependencies_TEST.cc
@@ -20,14 +20,14 @@
#include <paludis/repositories/e/fix_locked_dependencies.hh>
#include <paludis/repositories/e/dep_parser.hh>
#include <paludis/repositories/e/eapi.hh>
-#include <paludis/repositories/e/dep_spec_pretty_printer.hh>
+#include <paludis/repositories/e/spec_tree_pretty_printer.hh>
#include <paludis/repositories/fake/fake_package_id.hh>
#include <paludis/repositories/fake/fake_repository.hh>
#include <paludis/repositories/fake/fake_installed_repository.hh>
#include <paludis/environments/test/test_environment.hh>
#include <paludis/util/make_named_values.hh>
-#include <paludis/stringify_formatter.hh>
#include <paludis/package_database.hh>
+#include <paludis/unformatted_pretty_printer.hh>
#include <test/test_framework.hh>
#include <test/test_runner.hh>
@@ -67,10 +67,10 @@ namespace test_cases
"|| ( foo/bar ( bar/baz oink/squeak ) ) blah/blah", &env, id, *eapi)),
aa(fix_locked_dependencies(&env, *eapi, id, bb));
- StringifyFormatter ff;
- DepSpecPrettyPrinter
- a(0, std::shared_ptr<const PackageID>(), ff, 0, false, false),
- b(0, std::shared_ptr<const PackageID>(), ff, 0, false, false);
+ UnformattedPrettyPrinter ff;
+ SpecTreePrettyPrinter
+ a(ff, { }),
+ b(ff, { });
aa->top()->accept(a);
bb->top()->accept(b);
@@ -80,9 +80,9 @@ namespace test_cases
"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, std::shared_ptr<const PackageID>(), ff, 0, false, false),
- d(0, std::shared_ptr<const PackageID>(), ff, 0, false, false);
+ SpecTreePrettyPrinter
+ c(ff, { }),
+ d(ff, { });
cc->top()->accept(c);
dd->top()->accept(d);