org.antlr.gunit
Class OutputTest
java.lang.Object
org.antlr.gunit.AbstractTest
org.antlr.gunit.OutputTest
- All Implemented Interfaces:
- ITestCase
public class OutputTest
- extends AbstractTest
OutputTest represents a test for not only standard output string,
but also AST output which is actually a return value from a parser.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutputTest
public OutputTest(org.antlr.runtime.Token token)
getText
public String getText()
- Specified by:
getText in class AbstractTest
getType
public int getType()
- Specified by:
getType in class AbstractTest
getResult
public String getResult(gUnitTestResult testResult)
- Specified by:
getResult in class AbstractTest
getExpected
public String getExpected()
- Specified by:
getExpected in class AbstractTest
Copyright © 2011. All Rights Reserved.