org.antlr.test
Class TestSemanticPredicateEvaluation

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

public class TestSemanticPredicateEvaluation
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
TestSemanticPredicateEvaluation()
           
 
Method Summary
 void _test()
           
 void testGatedPred()
           
 void testGatedPred2()
           
 void testLexerPredInExitBranch()
           
 void testLexerPredInExitBranch2()
           
 void testLexerPredInExitBranch3()
           
 void testLexerPredInExitBranch4()
           
 void testLexerPreds()
           
 void testLexerPreds2()
           
 void testLexerPredsInCyclicDFA()
           
 void testLexerPredsInCyclicDFA2()
           
 void testPredicatesOnEOTTarget()
           
 void testPredicateValidation()
           
 void testPredWithActionTranslation()
           
 void testSimpleCyclicDFAWithInstanceVarPredicate()
           
 void testSimpleCyclicDFAWithPredicate()
           
 
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
 

Constructor Detail

TestSemanticPredicateEvaluation

public TestSemanticPredicateEvaluation()
Method Detail

testSimpleCyclicDFAWithPredicate

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

testSimpleCyclicDFAWithInstanceVarPredicate

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

testPredicateValidation

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

testLexerPreds

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

testLexerPreds2

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

testLexerPredInExitBranch

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

testLexerPredInExitBranch2

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

testLexerPredInExitBranch3

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

testLexerPredInExitBranch4

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

testLexerPredsInCyclicDFA

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

testLexerPredsInCyclicDFA2

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

testGatedPred

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

testGatedPred2

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

testPredWithActionTranslation

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

testPredicatesOnEOTTarget

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

_test

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