org.antlr.test
Class TestCompositeGrammars
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.antlr.test.BaseTest
org.antlr.test.TestCompositeGrammars
- All Implemented Interfaces:
- junit.framework.Test
- Direct Known Subclasses:
- DebugTestCompositeGrammars
public class TestCompositeGrammars
- extends BaseTest
Field Summary |
protected boolean |
debug
|
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 |
debug
protected boolean debug
TestCompositeGrammars
public TestCompositeGrammars()
testWildcardStillWorks
public void testWildcardStillWorks()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDelegatorInvokesDelegateRule
public void testDelegatorInvokesDelegateRule()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDelegatorInvokesDelegateRuleWithArgs
public void testDelegatorInvokesDelegateRuleWithArgs()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDelegatorInvokesDelegateRuleWithReturnStruct
public void testDelegatorInvokesDelegateRuleWithReturnStruct()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDelegatorAccessesDelegateMembers
public void testDelegatorAccessesDelegateMembers()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDelegatorInvokesFirstVersionOfDelegateRule
public void testDelegatorInvokesFirstVersionOfDelegateRule()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDelegatesSeeSameTokenType
public void testDelegatesSeeSameTokenType()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDelegatesSeeSameTokenType2
public void testDelegatesSeeSameTokenType2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCombinedImportsCombined
public void testCombinedImportsCombined()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSameStringTwoNames
public void testSameStringTwoNames()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSameNameTwoStrings
public void testSameNameTwoStrings()
throws java.lang.Exception
- Throws:
java.lang.Exception
testImportedTokenVocabIgnoredWithWarning
public void testImportedTokenVocabIgnoredWithWarning()
throws java.lang.Exception
- Throws:
java.lang.Exception
testImportedTokenVocabWorksInRoot
public void testImportedTokenVocabWorksInRoot()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSyntaxErrorsInImportsNotThrownOut
public void testSyntaxErrorsInImportsNotThrownOut()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSyntaxErrorsInImportsNotThrownOut2
public void testSyntaxErrorsInImportsNotThrownOut2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDelegatorRuleOverridesDelegate
public void testDelegatorRuleOverridesDelegate()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDelegatorRuleOverridesLookaheadInDelegate
public void testDelegatorRuleOverridesLookaheadInDelegate()
throws java.lang.Exception
- Throws:
java.lang.Exception
testLexerDelegatorInvokesDelegateRule
public void testLexerDelegatorInvokesDelegateRule()
throws java.lang.Exception
- Throws:
java.lang.Exception
testLexerDelegatorRuleOverridesDelegate
public void testLexerDelegatorRuleOverridesDelegate()
throws java.lang.Exception
- Throws:
java.lang.Exception
testLexerDelegatorRuleOverridesDelegateLeavingNoRules
public void testLexerDelegatorRuleOverridesDelegateLeavingNoRules()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvalidImportMechanism
public void testInvalidImportMechanism()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSyntacticPredicateRulesAreNotInherited
public void testSyntacticPredicateRulesAreNotInherited()
throws java.lang.Exception
- Throws:
java.lang.Exception
testKeywordVSIDGivesNoWarning
public void testKeywordVSIDGivesNoWarning()
throws java.lang.Exception
- Throws:
java.lang.Exception
testWarningForUndefinedToken
public void testWarningForUndefinedToken()
throws java.lang.Exception
- Throws:
java.lang.Exception
test3LevelImport
public void test3LevelImport()
throws java.lang.Exception
- Make sure that M can import S that imports T.
- Throws:
java.lang.Exception
testBigTreeOfImports
public void testBigTreeOfImports()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRulesVisibleThroughMultilevelImport
public void testRulesVisibleThroughMultilevelImport()
throws java.lang.Exception
- Throws:
java.lang.Exception