org.antlr.test
Class TestLexer

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

public class TestLexer
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
TestLexer()
          Public default constructor used by TestRig
 
Method Summary
 void testCharLabelInLexer()
           
 void testDupListRefInLexer()
           
 void testIsolatedEOTEdge()
           
 void testLabelInSubrule()
           
 void testListLabelInLexer()
           
 void testMultipleRefToFragment()
           
 void testRefToFragment()
           
 void testRefToRuleDoesNotSetTokenNorEmitAnother()
           
 void testRefToTokenInLexer()
           
 void testRepeatedLabelInLexer()
           
 void testRepeatedRuleLabelInLexer()
           
 void testSetText()
           
 void testWeCanSetType()
           
 
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

TestLexer

public TestLexer()
Public default constructor used by TestRig

Method Detail

testSetText

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

testRefToRuleDoesNotSetTokenNorEmitAnother

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

testWeCanSetType

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

testRefToFragment

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

testMultipleRefToFragment

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

testLabelInSubrule

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

testRefToTokenInLexer

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

testListLabelInLexer

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

testDupListRefInLexer

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

testCharLabelInLexer

public void testCharLabelInLexer()

testRepeatedLabelInLexer

public void testRepeatedLabelInLexer()

testRepeatedRuleLabelInLexer

public void testRepeatedRuleLabelInLexer()

testIsolatedEOTEdge

public void testIsolatedEOTEdge()