org.apache.velocity.test
Class ParserTestCase
TestCase
org.apache.velocity.test.ParserTestCase
public class ParserTestCase
extends TestCase
More specific parser tests where just templating
isn't enough.
$Id: ParserTestCase.java,v 1.1.4.1 2004/03/03 23:23:04 geirm Exp $
static 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
|
ParserTestCase
public ParserTestCase(String testName)
suite
public static Test suite()
testArgs
public void testArgs()
throws Exception
Test to see if don't tolerage passing word tokens in anything but the
0th arg to #macro() and the 1th arg to foreach()
testEquals
public void testEquals()
throws Exception
Test to make sure that using '=' in #if() throws a PEE
testMacro
public void testMacro()
throws Exception
Test to see if we force the first arg to #macro() to be a word
Copyright B) 2002 Apache Software Foundation. All Rights Reserved.