org.antlr.test
Class TestTreeWizard
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.antlr.test.BaseTest
org.antlr.test.TestTreeWizard
- All Implemented Interfaces:
- junit.framework.Test
public class TestTreeWizard
- extends BaseTest
Field Summary |
protected static TreeAdaptor |
adaptor
|
protected static java.lang.String[] |
tokens
|
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 |
tokens
protected static final java.lang.String[] tokens
adaptor
protected static final TreeAdaptor adaptor
TestTreeWizard
public TestTreeWizard()
testSingleNode
public void testSingleNode()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSingleNodeWithArg
public void testSingleNodeWithArg()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSingleNodeTree
public void testSingleNodeTree()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSingleLevelTree
public void testSingleLevelTree()
throws java.lang.Exception
- Throws:
java.lang.Exception
testListTree
public void testListTree()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvalidListTree
public void testInvalidListTree()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDoubleLevelTree
public void testDoubleLevelTree()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSingleNodeIndex
public void testSingleNodeIndex()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNoRepeatsIndex
public void testNoRepeatsIndex()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRepeatsIndex
public void testRepeatsIndex()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNoRepeatsVisit
public void testNoRepeatsVisit()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNoRepeatsVisit2
public void testNoRepeatsVisit2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRepeatsVisit
public void testRepeatsVisit()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRepeatsVisit2
public void testRepeatsVisit2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRepeatsVisitWithContext
public void testRepeatsVisitWithContext()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRepeatsVisitWithNullParentAndContext
public void testRepeatsVisitWithNullParentAndContext()
throws java.lang.Exception
- Throws:
java.lang.Exception
testVisitPattern
public void testVisitPattern()
throws java.lang.Exception
- Throws:
java.lang.Exception
testVisitPatternMultiple
public void testVisitPatternMultiple()
throws java.lang.Exception
- Throws:
java.lang.Exception
testVisitPatternMultipleWithLabels
public void testVisitPatternMultipleWithLabels()
throws java.lang.Exception
- Throws:
java.lang.Exception
testParse
public void testParse()
throws java.lang.Exception
- Throws:
java.lang.Exception
testParseSingleNode
public void testParseSingleNode()
throws java.lang.Exception
- Throws:
java.lang.Exception
testParseFlatTree
public void testParseFlatTree()
throws java.lang.Exception
- Throws:
java.lang.Exception
testWildcard
public void testWildcard()
throws java.lang.Exception
- Throws:
java.lang.Exception
testParseWithText
public void testParseWithText()
throws java.lang.Exception
- Throws:
java.lang.Exception
testParseWithTextFails
public void testParseWithTextFails()
throws java.lang.Exception
- Throws:
java.lang.Exception
testParseLabels
public void testParseLabels()
throws java.lang.Exception
- Throws:
java.lang.Exception
testParseWithWildcardLabels
public void testParseWithWildcardLabels()
throws java.lang.Exception
- Throws:
java.lang.Exception
testParseLabelsAndTestText
public void testParseLabelsAndTestText()
throws java.lang.Exception
- Throws:
java.lang.Exception
testParseLabelsInNestedTree
public void testParseLabelsInNestedTree()
throws java.lang.Exception
- Throws:
java.lang.Exception
testEquals
public void testEquals()
throws java.lang.Exception
- Throws:
java.lang.Exception
testEqualsWithText
public void testEqualsWithText()
throws java.lang.Exception
- Throws:
java.lang.Exception
testEqualsWithMismatchedText
public void testEqualsWithMismatchedText()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFindPattern
public void testFindPattern()
throws java.lang.Exception
- Throws:
java.lang.Exception