aboutsummaryrefslogtreecommitdiff
path: root/paludis/filter_TEST.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-03-22 15:17:45 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-03-22 15:17:24 +0000
commit7d0466af57231a0b727f4a619434fb80bbbbc5ff (patch)
tree31c12cce3c043d30bf29b44cd5606b39c09cbd08 /paludis/filter_TEST.cc
parente025e1b8be908dccb561b4e11e426ac84f3f5561 (diff)
downloadpaludis-7d0466af57231a0b727f4a619434fb80bbbbc5ff.tar.gz
paludis-7d0466af57231a0b727f4a619434fb80bbbbc5ff.tar.xz
VersionSpecOptions(), but don't use them
Diffstat (limited to 'paludis/filter_TEST.cc')
-rw-r--r--paludis/filter_TEST.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/paludis/filter_TEST.cc b/paludis/filter_TEST.cc
index 8244f011f..3af2cdf56 100644
--- a/paludis/filter_TEST.cc
+++ b/paludis/filter_TEST.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2008 Ciaran McCreesh
+ * Copyright (c) 2008, 2009 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
@@ -61,14 +61,14 @@ namespace test_cases
env.package_database()->add_repository(10, repo2);
env.package_database()->add_repository(0, inst_repo1);
- repo1->add_version(CategoryNamePart("cat") + PackageNamePart("a"), VersionSpec("1"));
- repo1->add_version(CategoryNamePart("cat") + PackageNamePart("b"), VersionSpec("2"));
+ repo1->add_version(CategoryNamePart("cat") + PackageNamePart("a"), VersionSpec("1", VersionSpecOptions()));
+ repo1->add_version(CategoryNamePart("cat") + PackageNamePart("b"), VersionSpec("2", VersionSpecOptions()));
- repo2->add_version(CategoryNamePart("cat") + PackageNamePart("a"), VersionSpec("1"));
- repo2->add_version(CategoryNamePart("cat") + PackageNamePart("a"), VersionSpec("2"))->keywords_key()->set_from_string("");
- repo2->add_version(CategoryNamePart("cat") + PackageNamePart("c"), VersionSpec("3"));
+ repo2->add_version(CategoryNamePart("cat") + PackageNamePart("a"), VersionSpec("1", VersionSpecOptions()));
+ repo2->add_version(CategoryNamePart("cat") + PackageNamePart("a"), VersionSpec("2", VersionSpecOptions()))->keywords_key()->set_from_string("");
+ repo2->add_version(CategoryNamePart("cat") + PackageNamePart("c"), VersionSpec("3", VersionSpecOptions()));
- inst_repo1->add_version(CategoryNamePart("cat") + PackageNamePart("a"), VersionSpec("1"));
+ inst_repo1->add_version(CategoryNamePart("cat") + PackageNamePart("a"), VersionSpec("1", VersionSpecOptions()));
}
virtual std::string get_expected() const = 0;