freemarker.testcase
Class TestSerialModels

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--freemarker.testcase.TestSerialModels
All Implemented Interfaces:
junit.framework.Test

public final class TestSerialModels
extends junit.framework.TestCase

A simple test case for serializing and deserializing template models. In addition, it performs tests of equality using the equals and hashCode methods.

Version:
$Id: TestSerialModels.java,v 1.9 2003/11/09 03:18:26 run2000 Exp $
Author:
Nicholas Cull

Constructor Summary
TestSerialModels(java.lang.String aTestname)
          Constructor that passes the name of the test up to the JUnit constructor.
 
Method Summary
protected  void runTest()
          Performs the serialization test.
 
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
 

Constructor Detail

TestSerialModels

public TestSerialModels(java.lang.String aTestname)
Constructor that passes the name of the test up to the JUnit constructor.
Parameters:
aTestname - the name of the test
Method Detail

runTest

protected void runTest()
                throws java.lang.Exception
Performs the serialization test.
Overrides:
runTest in class junit.framework.TestCase