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, 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 |
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
test2ReplaceMiddleIndex
public void test2ReplaceMiddleIndex()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReplaceThenDeleteMiddleIndex
public void testReplaceThenDeleteMiddleIndex()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReplaceThenInsertSameIndex
public void testReplaceThenInsertSameIndex()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReplaceThen2InsertSameIndex
public void testReplaceThen2InsertSameIndex()
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
testReplaceRangeThenInsertInMiddle
public void testReplaceRangeThenInsertInMiddle()
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