org.antlr.test
Class TestAutoAST
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.antlr.test.BaseTest
org.antlr.test.TestAutoAST
- All Implemented Interfaces:
- junit.framework.Test
- Direct Known Subclasses:
- DebugTestAutoAST
public class TestAutoAST
- extends BaseTest
Field Summary |
protected boolean |
debug
|
Methods inherited from class org.antlr.test.BaseTest |
antlr, compile, eraseFiles, execParser, execTreeParser, execTreeParser, getFirstLineOfException, mkdir, newTool, rawExecRecognizer, rawGenerateAndBuildRecognizer, writeFile, writeTemplateTestFile, writeTestFile, writeTreeTestFile |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
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, fail, fail, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
debug
protected boolean debug
TestAutoAST
public TestAutoAST()
testTokenList
public void testTokenList()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTokenListInSingleAltBlock
public void testTokenListInSingleAltBlock()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSimpleRootAtOuterLevel
public void testSimpleRootAtOuterLevel()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSimpleRootAtOuterLevelReverse
public void testSimpleRootAtOuterLevelReverse()
throws java.lang.Exception
- Throws:
java.lang.Exception
testBang
public void testBang()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOptionalThenRoot
public void testOptionalThenRoot()
throws java.lang.Exception
- Throws:
java.lang.Exception
testLabeledStringRoot
public void testLabeledStringRoot()
throws java.lang.Exception
- Throws:
java.lang.Exception
testWildcard
public void testWildcard()
throws java.lang.Exception
- Throws:
java.lang.Exception
testWildcardRoot
public void testWildcardRoot()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRootRoot
public void testRootRoot()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRootRoot2
public void testRootRoot2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRootThenRootInLoop
public void testRootThenRootInLoop()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNestedSubrule
public void testNestedSubrule()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvokeRule
public void testInvokeRule()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvokeRuleAsRoot
public void testInvokeRuleAsRoot()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRuleRootInLoop
public void testRuleRootInLoop()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRuleInvocationRuleRootInLoop
public void testRuleInvocationRuleRootInLoop()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTailRecursion
public void testTailRecursion()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSet
public void testSet()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSetRoot
public void testSetRoot()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSetAsRuleRootInLoop
public void testSetAsRuleRootInLoop()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotSet
public void testNotSet()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotSetRoot
public void testNotSetRoot()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotSetRuleRootInLoop
public void testNotSetRuleRootInLoop()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTokenLabelReuse
public void testTokenLabelReuse()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTokenLabelReuse2
public void testTokenLabelReuse2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTokenListLabelReuse
public void testTokenListLabelReuse()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTokenListLabelReuse2
public void testTokenListLabelReuse2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTokenListLabelRuleRoot
public void testTokenListLabelRuleRoot()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTokenListLabelBang
public void testTokenListLabelBang()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRuleListLabel
public void testRuleListLabel()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRuleListLabelRuleRoot
public void testRuleListLabelRuleRoot()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRuleListLabelBang
public void testRuleListLabelBang()
throws java.lang.Exception
- Throws:
java.lang.Exception
testComplicatedMelange
public void testComplicatedMelange()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReturnValueWithAST
public void testReturnValueWithAST()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSetLoop
public void testSetLoop()
throws java.lang.Exception
- Throws:
java.lang.Exception
_test
public void _test()
throws java.lang.Exception
- Throws:
java.lang.Exception