aboutsummaryrefslogtreecommitdiff
path: root/paludis/elike_dep_parser_TEST.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-05-06 21:39:04 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-05-12 11:33:35 +0100
commit9f8c0f33e4fdfb87c8fd1ba1f8440eb7ddc0bc32 (patch)
tree9a0080e171294a41790ad29af160323b65370667 /paludis/elike_dep_parser_TEST.cc
parent57229d3c88a580548406b10198088698421f7967 (diff)
downloadpaludis-9f8c0f33e4fdfb87c8fd1ba1f8440eb7ddc0bc32.tar.gz
paludis-9f8c0f33e4fdfb87c8fd1ba1f8440eb7ddc0bc32.tar.xz
Support parsing ?? deps
Diffstat (limited to 'paludis/elike_dep_parser_TEST.cc')
-rw-r--r--paludis/elike_dep_parser_TEST.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/paludis/elike_dep_parser_TEST.cc b/paludis/elike_dep_parser_TEST.cc
index 299377ca4..7d14e2554 100644
--- a/paludis/elike_dep_parser_TEST.cc
+++ b/paludis/elike_dep_parser_TEST.cc
@@ -64,6 +64,7 @@ TEST(ELikeDepParser, Basic)
n::on_annotations() = std::bind(&handle_annotations, std::ref(out), _1),
n::on_any() = std::bind(&handler, std::ref(out), "any<", "", "", "", ""),
n::on_arrow() = std::bind(&handler, std::ref(out), "a<", _1, ", ", _2, ">"),
+ n::on_at_most_one() = std::bind(&handler, std::ref(out), "m<", "", "", "", ""),
n::on_error() = std::bind(&handler, std::ref(out), "error<", _1, ">", "", ""),
n::on_exactly_one() = std::bind(&handler, std::ref(out), "x<", "", "", "", ""),
n::on_label() = std::bind(&handler, std::ref(out), "label<", _1, "", "", ""),
@@ -88,6 +89,7 @@ TEST(ELikeDepParser, Empty)
n::on_annotations() = std::bind(&handle_annotations, std::ref(out), _1),
n::on_any() = std::bind(&handler, std::ref(out), "any<", "", "", "", ""),
n::on_arrow() = std::bind(&handler, std::ref(out), "a<", _1, ", ", _2, ">"),
+ n::on_at_most_one() = std::bind(&handler, std::ref(out), "m<", "", "", "", ""),
n::on_error() = std::bind(&handler, std::ref(out), "error<", _1, ">", "", ""),
n::on_exactly_one() = std::bind(&handler, std::ref(out), "x<", "", "", "", ""),
n::on_label() = std::bind(&handler, std::ref(out), "label<", _1, "", "", ""),
@@ -112,6 +114,7 @@ TEST(ELikeDepParser, Annotations)
n::on_annotations() = std::bind(&handle_annotations, std::ref(out), _1),
n::on_any() = std::bind(&handler, std::ref(out), "any<", "", "", "", ""),
n::on_arrow() = std::bind(&handler, std::ref(out), "a<", _1, ", ", _2, ">"),
+ n::on_at_most_one() = std::bind(&handler, std::ref(out), "m<", "", "", "", ""),
n::on_error() = std::bind(&handler, std::ref(out), "error<", _1, ">", "", ""),
n::on_exactly_one() = std::bind(&handler, std::ref(out), "x<", "", "", "", ""),
n::on_label() = std::bind(&handler, std::ref(out), "label<", _1, "", "", ""),
@@ -136,6 +139,7 @@ TEST(ELikeDepParser, Comments)
n::on_annotations() = std::bind(&handle_annotations, std::ref(out), _1),
n::on_any() = std::bind(&handler, std::ref(out), "any<", "", "", "", ""),
n::on_arrow() = std::bind(&handler, std::ref(out), "a<", _1, ", ", _2, ">"),
+ n::on_at_most_one() = std::bind(&handler, std::ref(out), "m<", "", "", "", ""),
n::on_error() = std::bind(&handler, std::ref(out), "error<", _1, ">", "", ""),
n::on_exactly_one() = std::bind(&handler, std::ref(out), "x<", "", "", "", ""),
n::on_label() = std::bind(&handler, std::ref(out), "label<", _1, "", "", ""),