org.antlr.test
Class TestAutoAST

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.antlr.test.BaseTest
              extended by org.antlr.test.TestAutoAST
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
DebugTestAutoAST

public class TestAutoAST
extends BaseTest


Nested Class Summary
 
Nested classes/interfaces inherited from class org.antlr.test.BaseTest
BaseTest.StreamVacuum
 
Field Summary
protected  boolean debug
           
 
Fields inherited from class org.antlr.test.BaseTest
CLASSPATH, jikes, pathSep, stderr, tmpdir
 
Constructor Summary
TestAutoAST()
           
 
Method Summary
 void _test()
           
 void testBang()
           
 void testComplicatedMelange()
           
 void testInvokeRule()
           
 void testInvokeRuleAsRoot()
           
 void testLabeledStringRoot()
           
 void testNestedSubrule()
           
 void testNotSet()
           
 void testNotSetRoot()
           
 void testNotSetRuleRootInLoop()
           
 void testOptionalThenRoot()
           
 void testReturnValueWithAST()
           
 void testRootRoot()
           
 void testRootRoot2()
           
 void testRootThenRootInLoop()
           
 void testRuleInvocationRuleRootInLoop()
           
 void testRuleListLabel()
           
 void testRuleListLabelBang()
           
 void testRuleListLabelRuleRoot()
           
 void testRuleRootInLoop()
           
 void testSet()
           
 void testSetAsRuleRootInLoop()
           
 void testSetLoop()
           
 void testSetRoot()
           
 void testSimpleRootAtOuterLevel()
           
 void testSimpleRootAtOuterLevelReverse()
           
 void testTailRecursion()
           
 void testTokenLabelReuse()
           
 void testTokenLabelReuse2()
           
 void testTokenList()
           
 void testTokenListInSingleAltBlock()
           
 void testTokenListLabelBang()
           
 void testTokenListLabelReuse()
           
 void testTokenListLabelReuse2()
           
 void testTokenListLabelRuleRoot()
           
 void testWildcard()
           
 void testWildcardRoot()
           
 
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
 

Field Detail

debug

protected boolean debug
Constructor Detail

TestAutoAST

public TestAutoAST()
Method Detail

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