org.parboiled.test
Class ParboiledTest.TestResult<V>
java.lang.Object
org.parboiled.test.ParboiledTest.TestResult<V>
- Enclosing class:
- ParboiledTest<V>
public class ParboiledTest.TestResult<V>
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
result
public final ParsingResult<V> result
ParboiledTest.TestResult
public ParboiledTest.TestResult(ParsingResult<V> result)
hasNoErrors
public ParboiledTest.TestResult<V> hasNoErrors()
hasErrors
public ParboiledTest.TestResult<V> hasErrors(java.lang.String expectedErrors)
hasParseTree
public ParboiledTest.TestResult<V> hasParseTree(java.lang.String expectedTree)
hasParseTree
public ParboiledTest.TestResult<V> hasParseTree(Predicate<Node<V>> nodeFilter,
Predicate<Node<V>> subTreeFilter,
java.lang.String expectedTree)
hasResult
public ParboiledTest.TestResult<V> hasResult(V... expectedResults)