aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@gentoo.org> 2006-02-05 01:10:52 +0000
committerAvatar Saleem Abdulrasool <compnerd@gentoo.org> 2006-02-05 01:10:52 +0000
commitcd30e182822133e71884f9c447e828707509de37 (patch)
tree84442626e619b7c21c1a9031a176085785f7ba65
parente0647463e055a200181dabd99024a748ab277a69 (diff)
downloadpaludis-cd30e182822133e71884f9c447e828707509de37.tar.gz
paludis-cd30e182822133e71884f9c447e828707509de37.tar.xz
Adding test case for "|| ( )"
-rw-r--r--paludis/dep_list_TEST.cc19
1 files changed, 19 insertions, 0 deletions
diff --git a/paludis/dep_list_TEST.cc b/paludis/dep_list_TEST.cc
index 8901fab..bd6ac6c 100644
--- a/paludis/dep_list_TEST.cc
+++ b/paludis/dep_list_TEST.cc
@@ -514,6 +514,25 @@ namespace test_cases
} test_dep_list_17;
/**
+ * \test Test DepList resolution behaviour.
+ *
+ * \ingroup Test
+ */
+ struct DepListTestCase18 : DepListTestCase<18>
+ {
+ void populate_repo()
+ {
+ repo->add_version("cat", "one", "1")->set(vmk_depend, "|| ( )");
+ }
+
+ void populate_expected()
+ {
+ merge_target = "cat/one";
+ expected.push_back("cat/one-1:0::repo");
+ }
+ } test_dep_list_18;
+
+ /**
* \test Test DepList transactional add behaviour.
*
* \ingroup Test