|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.antlr.test.BaseTest
org.antlr.test.TestTemplates
public class TestTemplates
Test templates in actions; %... shorthands
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.antlr.test.BaseTest |
---|
BaseTest.StreamVacuum |
Field Summary |
---|
Fields inherited from class org.antlr.test.BaseTest |
---|
CLASSPATH, jikes, pathSep, stderr, tmpdir |
Constructor Summary | |
---|---|
TestTemplates()
|
Method Summary | |
---|---|
protected void |
checkError(ErrorQueue equeue,
GrammarSemanticsMessage expectedMessage)
|
void |
testCannotHaveSpaceAfterDot()
|
void |
testCannotHaveSpaceBeforeDot()
|
void |
testIndirectTemplateConstructor()
|
void |
testSetAttr()
|
void |
testSetAttrOfExpr()
|
void |
testSetAttrOfExprInMembers()
|
void |
testStringConstructor()
|
void |
testTemplateConstructor()
|
void |
testTemplateConstructorNoArgs()
|
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 |
Constructor Detail |
---|
public TestTemplates()
Method Detail |
---|
public void testTemplateConstructor() throws java.lang.Exception
java.lang.Exception
public void testTemplateConstructorNoArgs() throws java.lang.Exception
java.lang.Exception
public void testIndirectTemplateConstructor() throws java.lang.Exception
java.lang.Exception
public void testStringConstructor() throws java.lang.Exception
java.lang.Exception
public void testSetAttr() throws java.lang.Exception
java.lang.Exception
public void testSetAttrOfExpr() throws java.lang.Exception
java.lang.Exception
public void testSetAttrOfExprInMembers() throws java.lang.Exception
java.lang.Exception
public void testCannotHaveSpaceBeforeDot() throws java.lang.Exception
java.lang.Exception
public void testCannotHaveSpaceAfterDot() throws java.lang.Exception
java.lang.Exception
protected void checkError(ErrorQueue equeue, GrammarSemanticsMessage expectedMessage) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |