aboutsummaryrefslogtreecommitdiff
path: root/paludis/package_database_TEST.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-28 17:35:27 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-28 17:35:27 +0000
commit8f96a70ce9121ca86e9b15f42bfb7b1970cc4d5c (patch)
tree31afa973f64185f9d16595bd9a8379109cc3a491 /paludis/package_database_TEST.cc
parentd3d3a01010015d7563ad71176281b48d6dcd1dd3 (diff)
downloadpaludis-8f96a70ce9121ca86e9b15f42bfb7b1970cc4d5c.tar.gz
paludis-8f96a70ce9121ca86e9b15f42bfb7b1970cc4d5c.tar.xz
Be consistent in how we use Installable and Installed. is_uninstalled_only is now is_installable_only, and is_either is is_any.
Diffstat (limited to 'paludis/package_database_TEST.cc')
-rw-r--r--paludis/package_database_TEST.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/paludis/package_database_TEST.cc b/paludis/package_database_TEST.cc
index fe71f8fa8..568b22c11 100644
--- a/paludis/package_database_TEST.cc
+++ b/paludis/package_database_TEST.cc
@@ -118,35 +118,35 @@ namespace test_cases
TEST_CHECK(true);
PackageDepAtom d1("r1c1/r1c1p1");
- const PackageDatabaseEntryCollection::Pointer q1(p.query(d1, is_either));
+ const PackageDatabaseEntryCollection::Pointer q1(p.query(d1, is_any));
TEST_CHECK_EQUAL(q1->size(), 1);
PackageDepAtom d2("r1c1/r1c1p2");
- const PackageDatabaseEntryCollection::Pointer q2(p.query(d2, is_either));
+ const PackageDatabaseEntryCollection::Pointer q2(p.query(d2, is_any));
TEST_CHECK_EQUAL(q2->size(), 2);
PackageDepAtom d3(">=r1c1/r1c1p2-1");
- const PackageDatabaseEntryCollection::Pointer q3(p.query(d3, is_either));
+ const PackageDatabaseEntryCollection::Pointer q3(p.query(d3, is_any));
TEST_CHECK_EQUAL(q3->size(), 2);
PackageDepAtom d4(">=r1c1/r1c1p2-2");
- const PackageDatabaseEntryCollection::Pointer q4(p.query(d4, is_either));
+ const PackageDatabaseEntryCollection::Pointer q4(p.query(d4, is_any));
TEST_CHECK_EQUAL(q4->size(), 1);
PackageDepAtom d5(">=r1c1/r1c1p2-3");
- const PackageDatabaseEntryCollection::Pointer q5(p.query(d5, is_either));
+ const PackageDatabaseEntryCollection::Pointer q5(p.query(d5, is_any));
TEST_CHECK_EQUAL(q5->size(), 0);
PackageDepAtom d6("<r1c1/r1c1p2-3");
- const PackageDatabaseEntryCollection::Pointer q6(p.query(d6, is_either));
+ const PackageDatabaseEntryCollection::Pointer q6(p.query(d6, is_any));
TEST_CHECK_EQUAL(q6->size(), 2);
PackageDepAtom d7("rac1/rac1pa");
- const PackageDatabaseEntryCollection::Pointer q7(p.query(d7, is_either));
+ const PackageDatabaseEntryCollection::Pointer q7(p.query(d7, is_any));
TEST_CHECK_EQUAL(q7->size(), 4);
PackageDepAtom d8("foo/bar");
- const PackageDatabaseEntryCollection::Pointer q8(p.query(d8, is_either));
+ const PackageDatabaseEntryCollection::Pointer q8(p.query(d8, is_any));
TEST_CHECK_EQUAL(q8->size(), 0);
}
} package_database_query_test;