org.antlr.test
Class TestSets
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.antlr.test.BaseTest
org.antlr.test.TestSets
- All Implemented Interfaces:
- junit.framework.Test
public class TestSets
- extends BaseTest
Test the set stuff in lexer and parser
Field Summary |
protected boolean |
debug
|
Constructor Summary |
TestSets()
Public default constructor used by TestRig |
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
TestSets
public TestSets()
- Public default constructor used by TestRig
testSeqDoesNotBecomeSet
public void testSeqDoesNotBecomeSet()
throws java.lang.Exception
- Throws:
java.lang.Exception
testParserSet
public void testParserSet()
throws java.lang.Exception
- Throws:
java.lang.Exception
testParserNotSet
public void testParserNotSet()
throws java.lang.Exception
- Throws:
java.lang.Exception
testParserNotToken
public void testParserNotToken()
throws java.lang.Exception
- Throws:
java.lang.Exception
testParserNotTokenWithLabel
public void testParserNotTokenWithLabel()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRuleAsSet
public void testRuleAsSet()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRuleAsSetAST
public void testRuleAsSetAST()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotChar
public void testNotChar()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOptionalSingleElement
public void testOptionalSingleElement()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOptionalLexerSingleElement
public void testOptionalLexerSingleElement()
throws java.lang.Exception
- Throws:
java.lang.Exception
testStarLexerSingleElement
public void testStarLexerSingleElement()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPlusLexerSingleElement
public void testPlusLexerSingleElement()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOptionalSet
public void testOptionalSet()
throws java.lang.Exception
- Throws:
java.lang.Exception
testStarSet
public void testStarSet()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPlusSet
public void testPlusSet()
throws java.lang.Exception
- Throws:
java.lang.Exception
testLexerOptionalSet
public void testLexerOptionalSet()
throws java.lang.Exception
- Throws:
java.lang.Exception
testLexerStarSet
public void testLexerStarSet()
throws java.lang.Exception
- Throws:
java.lang.Exception
testLexerPlusSet
public void testLexerPlusSet()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotCharSet
public void testNotCharSet()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotCharSetWithLabel
public void testNotCharSetWithLabel()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotCharSetWithRuleRef
public void testNotCharSetWithRuleRef()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotCharSetWithRuleRef2
public void testNotCharSetWithRuleRef2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotCharSetWithRuleRef3
public void testNotCharSetWithRuleRef3()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotCharSetWithRuleRef4
public void testNotCharSetWithRuleRef4()
throws java.lang.Exception
- Throws:
java.lang.Exception