org.springframework.batch.core
Class EntityTests

java.lang.Object
  extended by TestCase
      extended by org.springframework.batch.core.EntityTests

public class EntityTests
extends TestCase

Author:
Dave Syer

Constructor Summary
EntityTests()
           
 
Method Summary
 void testEqualsEntity()
          Test method for Entity.equals(java.lang.Object).
 void testEqualsEntityWithNullId()
          Test method for Entity.equals(java.lang.Object).
 void testEqualsEntityWrongId()
          Test method for Entity.equals(java.lang.Object).
 void testEqualsNull()
          Test method for Entity.equals(java.lang.Object).
 void testEqualsObject()
          Test method for Entity.equals(java.lang.Object).
 void testEqualsSelf()
          Test method for Entity.equals(java.lang.Object).
 void testEqualsSelfWithNullId()
          Test method for Entity.equals(java.lang.Object).
 void testGetVersion()
          Test method for Entity.getVersion().
 void testHashCode()
          Test method for Entity.hashCode().
 void testHashCodeNullId()
          Test method for Entity.hashCode().
 void testIncrementVersion()
          Test method for Entity.getVersion().
 void testIncrementVersionTwice()
          Test method for Entity.getVersion().
 void testToString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityTests

public EntityTests()
Method Detail

testHashCode

public void testHashCode()
Test method for Entity.hashCode().


testHashCodeNullId

public void testHashCodeNullId()
Test method for Entity.hashCode().


testGetVersion

public void testGetVersion()
Test method for Entity.getVersion().


testIncrementVersion

public void testIncrementVersion()
Test method for Entity.getVersion().


testIncrementVersionTwice

public void testIncrementVersionTwice()
Test method for Entity.getVersion().


testToString

public void testToString()
                  throws Exception
Throws:
Exception

testEqualsSelf

public void testEqualsSelf()
Test method for Entity.equals(java.lang.Object).


testEqualsSelfWithNullId

public void testEqualsSelfWithNullId()
Test method for Entity.equals(java.lang.Object).


testEqualsEntityWithNullId

public void testEqualsEntityWithNullId()
Test method for Entity.equals(java.lang.Object).


testEqualsEntity

public void testEqualsEntity()
Test method for Entity.equals(java.lang.Object).


testEqualsEntityWrongId

public void testEqualsEntityWrongId()
Test method for Entity.equals(java.lang.Object).


testEqualsObject

public void testEqualsObject()
Test method for Entity.equals(java.lang.Object).


testEqualsNull

public void testEqualsNull()
Test method for Entity.equals(java.lang.Object).



Copyright © 2008 SpringSource. All Rights Reserved.