|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--org.apache.velocity.test.ParserTestCase
More specific parser tests where just templating isn't enough.
Fields inherited from class junit.framework.TestCase |
fName |
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 |
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, name, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public ParserTestCase(java.lang.String testName)
Method Detail |
public static junit.framework.Test suite()
public void testEquals() throws java.lang.Exception
public void testMacro() throws java.lang.Exception
public void testArgs() throws java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |