org.apache.velocity.test
Class NumberMethodCallsTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.velocity.test.NumberMethodCallsTestCase
All Implemented Interfaces:
junit.framework.Test

public class NumberMethodCallsTestCase
extends junit.framework.TestCase

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

Author:
Peter Romianowski, Will Glass-Husain

Constructor Summary
NumberMethodCallsTestCase(String name)
          Default constructor.
 
Method Summary
 void init(org.apache.velocity.runtime.RuntimeServices rs)
           
 void setUp()
           
static junit.framework.Test suite()
           
 void testNumberMethodCalls()
          Runs the test.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 

Constructor Detail

NumberMethodCallsTestCase

public NumberMethodCallsTestCase(String name)
Default constructor.

Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

init

public void init(org.apache.velocity.runtime.RuntimeServices rs)

suite

public static junit.framework.Test suite()

testNumberMethodCalls

public void testNumberMethodCalls()
                           throws Exception
Runs the test.

Throws:
Exception


Copyright © 2000-2010 The Apache Software Foundation. All Rights Reserved.