aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/gems/gems_repository_TEST.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-05-19 16:01:04 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-05-19 16:01:04 +0100
commitcc129190d549f69eccc67407946261544d538a91 (patch)
tree08f0ffe78b5c3f63dfc89d32dba1d828a5107dd0 /paludis/repositories/gems/gems_repository_TEST.cc
parentb22056183d6a0e94e28e025c6bae6970979c26c0 (diff)
downloadpaludis-cc129190d549f69eccc67407946261544d538a91.tar.gz
paludis-cc129190d549f69eccc67407946261544d538a91.tar.xz
New improved NamedValue syntax
Diffstat (limited to 'paludis/repositories/gems/gems_repository_TEST.cc')
-rw-r--r--paludis/repositories/gems/gems_repository_TEST.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/paludis/repositories/gems/gems_repository_TEST.cc b/paludis/repositories/gems/gems_repository_TEST.cc
index d1becae..858d953 100644
--- a/paludis/repositories/gems/gems_repository_TEST.cc
+++ b/paludis/repositories/gems/gems_repository_TEST.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2007, 2008 Ciaran McCreesh
+ * Copyright (c) 2007, 2008, 2010 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -40,12 +40,12 @@ namespace test_cases
TestEnvironment env;
env.package_database()->add_repository(1, make_shared_ptr(new GemsRepository(
make_named_values<gems::RepositoryParams>(
- value_for<n::builddir>(FSEntry("gems_repository_TEST_dir/build")),
- value_for<n::environment>(&env),
- value_for<n::install_dir>(FSEntry("gems_repository_TEST_dir/install")),
- value_for<n::location>(FSEntry("gems_repository_TEST_dir/repo")),
- value_for<n::sync>(""),
- value_for<n::sync_options>("")
+ n::builddir() = FSEntry("gems_repository_TEST_dir/build"),
+ n::environment() = &env,
+ n::install_dir() = FSEntry("gems_repository_TEST_dir/install"),
+ n::location() = FSEntry("gems_repository_TEST_dir/repo"),
+ n::sync() = "",
+ n::sync_options() = ""
))));
}
} test_creation;