org.antlr.test
Class TestASTConstruction

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.antlr.test.BaseTest
              extended by org.antlr.test.TestASTConstruction
All Implemented Interfaces:
junit.framework.Test

public class TestASTConstruction
extends BaseTest


Nested Class Summary
 
Nested classes/interfaces inherited from class org.antlr.test.BaseTest
BaseTest.StreamVacuum
 
Field Summary
 
Fields inherited from class org.antlr.test.BaseTest
CLASSPATH, jikes, pathSep, stderr, tmpdir
 
Constructor Summary
TestASTConstruction()
          Public default constructor used by TestRig
 
Method Summary
 void testA()
           
 void testActionInStarLoop()
           
 void testCharOptional()
           
 void testCharOptionalInLexer()
           
 void testCharPlus()
           
 void testCharPlusInLexer()
           
 void testCharRangePlus()
           
 void testCharStar()
           
 void testCharStarInLexer()
           
 void testLabel()
           
 void testLabelOfClosure()
           
 void testLabelOfOptional()
           
 void testListLabelOfClosure()
           
 void testListLabelOfClosure2()
           
 void testNakedRuleOptional()
           
 void testNakedRulePlus()
           
 void testNakedRuleStar()
           
 void testNakeRulePlusInLexer()
           
 void testNotSetLabel()
           
 void testNotSetListLabel()
           
 void testNotSetListLabelInLoop()
           
 void testRootTokenInStarLoop()
           
 void testRuleLabel()
           
 void testRuleLabelOfPositiveClosure()
           
 void testRuleListLabelOfPositiveClosure()
           
 void testRuleOptional()
           
 void testRulePlus()
           
 void testRuleStar()
           
 void testSetLabel()
           
 void testStringStar()
           
 void testStringStarInLexer()
           
 
Methods inherited from class org.antlr.test.BaseTest
antlr, checkGrammarSemanticsError, checkGrammarSemanticsWarning, compile, eraseFiles, execLexer, execParser, execTreeParser, execTreeParser, getFirstLineOfException, mkdir, newTool, newTool, rawExecRecognizer, rawGenerateAndBuildRecognizer, realElements, realElements, setUp, writeFile, writeLexerTestFile, writeTemplateTestFile, writeTestFile, writeTreeAndTreeTestFile, writeTreeTestFile
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 

Constructor Detail

TestASTConstruction

public TestASTConstruction()
Public default constructor used by TestRig

Method Detail

testA

public void testA()
           throws java.lang.Exception
Throws:
java.lang.Exception

testNakeRulePlusInLexer

public void testNakeRulePlusInLexer()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testRulePlus

public void testRulePlus()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testNakedRulePlus

public void testNakedRulePlus()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testRuleOptional

public void testRuleOptional()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testNakedRuleOptional

public void testNakedRuleOptional()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testRuleStar

public void testRuleStar()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testNakedRuleStar

public void testNakedRuleStar()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testCharStar

public void testCharStar()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testCharStarInLexer

public void testCharStarInLexer()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testStringStar

public void testStringStar()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testStringStarInLexer

public void testStringStarInLexer()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testCharPlus

public void testCharPlus()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testCharPlusInLexer

public void testCharPlusInLexer()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testCharOptional

public void testCharOptional()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testCharOptionalInLexer

public void testCharOptionalInLexer()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testCharRangePlus

public void testCharRangePlus()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testLabel

public void testLabel()
               throws java.lang.Exception
Throws:
java.lang.Exception

testLabelOfOptional

public void testLabelOfOptional()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testLabelOfClosure

public void testLabelOfClosure()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testRuleLabel

public void testRuleLabel()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testSetLabel

public void testSetLabel()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testNotSetLabel

public void testNotSetLabel()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testNotSetListLabel

public void testNotSetListLabel()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testNotSetListLabelInLoop

public void testNotSetListLabelInLoop()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testRuleLabelOfPositiveClosure

public void testRuleLabelOfPositiveClosure()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testListLabelOfClosure

public void testListLabelOfClosure()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testListLabelOfClosure2

public void testListLabelOfClosure2()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testRuleListLabelOfPositiveClosure

public void testRuleListLabelOfPositiveClosure()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testRootTokenInStarLoop

public void testRootTokenInStarLoop()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testActionInStarLoop

public void testActionInStarLoop()
                          throws java.lang.Exception
Throws:
java.lang.Exception