org.jcoderz.commons.types.samples
Class BaseClassTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jcoderz.commons.types.samples.BaseClassTest
All Implemented Interfaces:
Test

public class BaseClassTest
extends TestCase

Test use of base class in the value objects.

Author:
Andreas Mandel

Constructor Summary
BaseClassTest()
           
 
Method Summary
 void testInheritanceEquals()
          Test the inheritance should call super.equals().
 void testInheritanceHashCode()
          Test the inheritance should call super.hashCode().
 void testInheritanceToString()
          Test the inheritance should call super.toString().
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, 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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseClassTest

public BaseClassTest()
Method Detail

testInheritanceEquals

public void testInheritanceEquals()
Test the inheritance should call super.equals().


testInheritanceHashCode

public void testInheritanceHashCode()
Test the inheritance should call super.hashCode().


testInheritanceToString

public void testInheritanceToString()
Test the inheritance should call super.toString().



Copyright 2007 The jCoderZ Project.