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
Field Summary |
org.parboiled.support.ParsingResult<V> |
result
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
result
public final org.parboiled.support.ParsingResult<V> result
ParboiledTest.TestResult
public ParboiledTest.TestResult(org.parboiled.support.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(org.parboiled.common.Predicate<org.parboiled.Node<V>> nodeFilter,
org.parboiled.common.Predicate<org.parboiled.Node<V>> subTreeFilter,
java.lang.String expectedTree)
hasResultValue
public ParboiledTest.TestResult<V> hasResultValue(V expectedResultValue)