org.antlr.test
Class TestSyntacticPredicateEvaluation

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

public class TestSyntacticPredicateEvaluation
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
TestSyntacticPredicateEvaluation()
           
 
Method Summary
 void tesTLexerPred()
           
 void tesTLexerPredCyclicPrediction()
           
 void tesTLexerPredCyclicPrediction2()
           
 void tesTLexerWithPredLongerThanAlt()
           
 void testOptionalBlockWithSynPred()
           
 void testSimpleNestedPred()
           
 void testSynPredK2()
           
 void testSynPredKStar()
           
 void testSynPredWithOutputAST()
           
 void testSynPredWithOutputTemplate()
           
 void testTreeParserWithNestedSynPred()
           
 void testTreeParserWithSynPred()
           
 void testTripleNestedPredInLexer()
           
 void testTwoPredsWithNakedAlt()
           
 void testTwoPredsWithNakedAltNotLast()
           
 
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

TestSyntacticPredicateEvaluation

public TestSyntacticPredicateEvaluation()
Method Detail

testTwoPredsWithNakedAlt

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

testTwoPredsWithNakedAltNotLast

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

tesTLexerPred

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

tesTLexerWithPredLongerThanAlt

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

tesTLexerPredCyclicPrediction

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

tesTLexerPredCyclicPrediction2

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

testSimpleNestedPred

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

testTripleNestedPredInLexer

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

testTreeParserWithSynPred

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

testTreeParserWithNestedSynPred

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

testSynPredWithOutputTemplate

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

testSynPredWithOutputAST

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

testOptionalBlockWithSynPred

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

testSynPredK2

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

testSynPredKStar

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