|
||||||||||
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.apache.velocity.test.ParserTestCase
public class ParserTestCase
More specific parser tests where just templating isn't enough.
Constructor Summary | |
---|---|
ParserTestCase(java.lang.String testName)
|
Method Summary | |
---|---|
static junit.framework.Test |
suite()
|
void |
testArgs()
Test to see if don't tolerage passing word tokens in anything but the 0th arg to #macro() and the 1th arg to foreach() |
void |
testEquals()
Test to make sure that using '=' in #if() throws a PEE |
void |
testEscape()
Test to make sure that using '=' in #if() throws a PEE |
void |
testIgnore()
|
void |
testMacro()
Test to see if we force the first arg to #macro() to be a word |
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 |
Constructor Detail |
---|
public ParserTestCase(java.lang.String testName)
Method Detail |
---|
public static junit.framework.Test suite()
public void testEquals() throws java.lang.Exception
java.lang.Exception
public void testEscape() throws java.lang.Exception
java.lang.Exception
public void testIgnore() throws java.lang.Exception
java.lang.Exception
public void testMacro() throws java.lang.Exception
java.lang.Exception
public void testArgs() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |