org.apache.velocity.test
Class TestNumberMethodCalls

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.velocity.test.TestNumberMethodCalls
All Implemented Interfaces:
junit.framework.Test

public class TestNumberMethodCalls
extends junit.framework.TestCase

Used to check that method calls with number parameters are executed correctly.

Author:
Peter Romianowski, Will Glass-Husain

Field Summary
private static boolean PRINT_RESULTS
           
private  VelocityEngine ve
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestNumberMethodCalls()
          Default constructor.
 
Method Summary
private  void checkResults(Context vc, java.lang.String template, java.lang.String compare)
           
 void init(RuntimeServices rs)
           
 void runTest()
          Runs the test.
static junit.framework.Test suite()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ve

private VelocityEngine ve

PRINT_RESULTS

private static final boolean PRINT_RESULTS
See Also:
Constant Field Values
Constructor Detail

TestNumberMethodCalls

public TestNumberMethodCalls()
Default constructor.

Method Detail

init

public void init(RuntimeServices rs)

suite

public static junit.framework.Test suite()

runTest

public void runTest()
Runs the test.


checkResults

private void checkResults(Context vc,
                          java.lang.String template,
                          java.lang.String compare)
                   throws java.lang.Exception
Throws:
java.lang.Exception


Copyright ? 2002 Apache Software Foundation. All Rights Reserved.