org.antlr.test
Class TestTokenRewriteStream
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.antlr.test.BaseTest
org.antlr.test.TestTokenRewriteStream
- All Implemented Interfaces:
- junit.framework.Test
public class TestTokenRewriteStream
- extends BaseTest
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 |
TestTokenRewriteStream
public TestTokenRewriteStream()
- Public default constructor used by TestRig
testInsertBeforeIndex0
public void testInsertBeforeIndex0()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInsertAfterLastIndex
public void testInsertAfterLastIndex()
throws java.lang.Exception
- Throws:
java.lang.Exception
test2InsertBeforeAfterMiddleIndex
public void test2InsertBeforeAfterMiddleIndex()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReplaceIndex0
public void testReplaceIndex0()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReplaceLastIndex
public void testReplaceLastIndex()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReplaceMiddleIndex
public void testReplaceMiddleIndex()
throws java.lang.Exception
- Throws:
java.lang.Exception
testToStringStartStop
public void testToStringStartStop()
throws java.lang.Exception
- Throws:
java.lang.Exception
testToStringStartStop2
public void testToStringStartStop2()
throws java.lang.Exception
- Throws:
java.lang.Exception
test2ReplaceMiddleIndex
public void test2ReplaceMiddleIndex()
throws java.lang.Exception
- Throws:
java.lang.Exception
test2ReplaceMiddleIndex1InsertBefore
public void test2ReplaceMiddleIndex1InsertBefore()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReplaceThenDeleteMiddleIndex
public void testReplaceThenDeleteMiddleIndex()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInsertInPriorReplace
public void testInsertInPriorReplace()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInsertThenReplaceSameIndex
public void testInsertThenReplaceSameIndex()
throws java.lang.Exception
- Throws:
java.lang.Exception
test2InsertMiddleIndex
public void test2InsertMiddleIndex()
throws java.lang.Exception
- Throws:
java.lang.Exception
test2InsertThenReplaceIndex0
public void test2InsertThenReplaceIndex0()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReplaceThenInsertBeforeLastIndex
public void testReplaceThenInsertBeforeLastIndex()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInsertThenReplaceLastIndex
public void testInsertThenReplaceLastIndex()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReplaceThenInsertAfterLastIndex
public void testReplaceThenInsertAfterLastIndex()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReplaceRangeThenInsertAtLeftEdge
public void testReplaceRangeThenInsertAtLeftEdge()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReplaceRangeThenInsertAtRightEdge
public void testReplaceRangeThenInsertAtRightEdge()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReplaceRangeThenInsertAfterRightEdge
public void testReplaceRangeThenInsertAfterRightEdge()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReplaceAll
public void testReplaceAll()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReplaceSubsetThenFetch
public void testReplaceSubsetThenFetch()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReplaceThenReplaceSuperset
public void testReplaceThenReplaceSuperset()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReplaceThenReplaceLowerIndexedSuperset
public void testReplaceThenReplaceLowerIndexedSuperset()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReplaceSingleMiddleThenOverlappingSuperset
public void testReplaceSingleMiddleThenOverlappingSuperset()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCombineInserts
public void testCombineInserts()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCombine3Inserts
public void testCombine3Inserts()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCombineInsertOnLeftWithReplace
public void testCombineInsertOnLeftWithReplace()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCombineInsertOnLeftWithDelete
public void testCombineInsertOnLeftWithDelete()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDisjointInserts
public void testDisjointInserts()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOverlappingReplace
public void testOverlappingReplace()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOverlappingReplace2
public void testOverlappingReplace2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOverlappingReplace3
public void testOverlappingReplace3()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOverlappingReplace4
public void testOverlappingReplace4()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDropIdenticalReplace
public void testDropIdenticalReplace()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDropPrevCoveredInsert
public void testDropPrevCoveredInsert()
throws java.lang.Exception
- Throws:
java.lang.Exception
testLeaveAloneDisjointInsert
public void testLeaveAloneDisjointInsert()
throws java.lang.Exception
- Throws:
java.lang.Exception
testLeaveAloneDisjointInsert2
public void testLeaveAloneDisjointInsert2()
throws java.lang.Exception
- Throws:
java.lang.Exception