A ScalaTest tag that enables us to focus attention on particular tests rather than running all of them each time.
Assert that a message was produced at a given position.
Assert that a message was produced at a given position.
Parse and evaluate str as a query then evaluate the query and compare the outcome to result.
Parse and evaluate str as a query then evaluate the query and compare
the outcome to result. Fail if any of the parsing or the comparison
fail. T is the result type of the query. Generated name counting
is reset before the test is run.
As for expectQuery except that the expected result is a string which is first parsed as an expression to obtain the expected result value.
As for expectQuery except that the expected result is the toString
of the query result.
Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.
Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.
Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.
Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.
Fail a test with a message about finding something and expecting something else.
Fail a test with a message about finding something and expecting something else.
(Changed in version 2.9.0) The p0 call-by-name arguments is evaluated at most once per constructed Parser object, instead of on every need that arises during parsing.
Compare two values.
Compare two values. Use reference equality for references and value equality for non-references. If the values are both Some values, perform the check on the wrapped values.
This expect method has been deprecated. Please replace all invocations of expect with an identical invocation of expectResult instead.
This expect method has been deprecated. Please replace all invocations of expect with an identical invocation of expectResult instead.
(Since version 2.10.0) lastNoSuccess was not thread-safe and will be removed in 2.11.0
(Since version 2.10.0) lastNoSuccess was not thread-safe and will be removed in 2.11.0
Simple lambda calculus query tests.