public abstract class gUnitBaseTest
extends junit.framework.TestCase
Modifier and Type | Field and Description |
---|---|
String |
lexerPath |
String |
packagePath |
String |
parserPath |
protected String |
stderr |
protected String |
stdout |
String |
treeAdaptorPath |
String |
treeParserPath |
Constructor and Description |
---|
gUnitBaseTest() |
Modifier and Type | Method and Description |
---|---|
Object |
examineExecResult(int tokenType,
Object retVal) |
String |
execLexer(String testRuleName,
int line,
String testInput,
boolean isFile) |
Object |
execParser(String testRuleName,
int line,
String testInput,
boolean isFile) |
Object |
execTreeParser(String testTreeRuleName,
String testRuleName,
String testInput,
boolean isFile) |
protected void |
handleUnexpectedException(Exception e) |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
public String treeAdaptorPath
public String packagePath
public String lexerPath
public String parserPath
public String treeParserPath
protected String stdout
protected String stderr
public String execLexer(String testRuleName, int line, String testInput, boolean isFile) throws Exception
Exception
public Object execParser(String testRuleName, int line, String testInput, boolean isFile) throws Exception
Exception
public Object execTreeParser(String testTreeRuleName, String testRuleName, String testInput, boolean isFile) throws Exception
Exception
protected void handleUnexpectedException(Exception e)
Copyright © 1992–2015 ANTLR. All rights reserved.