org.apache.velocity.test

Class ContextSafetyTestCase

public class ContextSafetyTestCase extends BaseTestCase implements TemplateTestBase

Tests if we are context safe : can we switch objects in the context and re-merge the template safely. NOTE: This class should not extend RuntimeTestCase because this test is run from the VelocityTestSuite which in effect a runtime test suite and the test suite initializes the Runtime. Extending RuntimeTestCase causes the Runtime to be initialized twice.

Version: $Id: ContextSafetyTestCase.java,v 1.10.4.1 2004/03/03 23:23:04 geirm Exp $

Author: Geir Magnusson Jr.

Constructor Summary
ContextSafetyTestCase()
Method Summary
voidrunTest()
Runs the test.
static Testsuite()

Constructor Detail

ContextSafetyTestCase

public ContextSafetyTestCase()

Method Detail

runTest

public void runTest()
Runs the test.

suite

public static Test suite()
Copyright B) 2002 Apache Software Foundation. All Rights Reserved.