org.antlr.test
Class TestCharDFAConversion
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.antlr.test.BaseTest
org.antlr.test.TestCharDFAConversion
- All Implemented Interfaces:
- junit.framework.Test
public class TestCharDFAConversion
- extends BaseTest
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 |
TestCharDFAConversion
public TestCharDFAConversion()
- Public default constructor used by TestRig
testSimpleRangeVersusChar
public void testSimpleRangeVersusChar()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRangeWithDisjointSet
public void testRangeWithDisjointSet()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDisjointSetCollidingWithTwoRanges
public void testDisjointSetCollidingWithTwoRanges()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDisjointSetCollidingWithTwoRangesCharsFirst
public void testDisjointSetCollidingWithTwoRangesCharsFirst()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDisjointSetCollidingWithTwoRangesAsSeparateAlts
public void testDisjointSetCollidingWithTwoRangesAsSeparateAlts()
throws java.lang.Exception
- Throws:
java.lang.Exception
testKeywordVersusID
public void testKeywordVersusID()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIdenticalRules
public void testIdenticalRules()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAdjacentNotCharLoops
public void testAdjacentNotCharLoops()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNonAdjacentNotCharLoops
public void testNonAdjacentNotCharLoops()
throws java.lang.Exception
- Throws:
java.lang.Exception
testLoopsWithOptimizedOutExitBranches
public void testLoopsWithOptimizedOutExitBranches()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNonGreedy
public void testNonGreedy()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNonGreedyWildcardStar
public void testNonGreedyWildcardStar()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNonGreedyByDefaultWildcardStar
public void testNonGreedyByDefaultWildcardStar()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNonGreedyWildcardPlus
public void testNonGreedyWildcardPlus()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNonGreedyByDefaultWildcardPlus
public void testNonGreedyByDefaultWildcardPlus()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNonGreedyByDefaultWildcardPlusWithParens
public void testNonGreedyByDefaultWildcardPlusWithParens()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNonWildcardNonGreedy
public void testNonWildcardNonGreedy()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNonWildcardEOTMakesItWorkWithoutNonGreedyOption
public void testNonWildcardEOTMakesItWorkWithoutNonGreedyOption()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAltConflictsWithLoopThenExit
public void testAltConflictsWithLoopThenExit()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNonGreedyLoopThatNeverLoops
public void testNonGreedyLoopThatNeverLoops()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRecursive
public void testRecursive()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRecursive2
public void testRecursive2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotFragmentInLexer
public void testNotFragmentInLexer()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotSetFragmentInLexer
public void testNotSetFragmentInLexer()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotTokenInLexer
public void testNotTokenInLexer()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotComplicatedSetRuleInLexer
public void testNotComplicatedSetRuleInLexer()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotSetWithRuleInLexer
public void testNotSetWithRuleInLexer()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSetCallsRuleWithNot
public void testSetCallsRuleWithNot()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSynPredInLexer
public void testSynPredInLexer()
throws java.lang.Exception
- Throws:
java.lang.Exception
_template
public void _template()
throws java.lang.Exception
- Throws:
java.lang.Exception
checkDecision
protected void checkDecision(Grammar g,
int decision,
java.lang.String expecting,
int[] expectingUnreachableAlts)
throws java.lang.Exception
- Throws:
java.lang.Exception