Save This Page
Home » commons-lang-2.4-src » org.apache.commons » lang » builder » [javadoc | source]
org.apache.commons.lang.builder
public class: HashCodeBuilderAndEqualsBuilderTest [javadoc | source]
java.lang.Object
   junit.framework.TestCase
      org.apache.commons.lang.builder.HashCodeBuilderAndEqualsBuilderTest
Tests org.apache.commons.lang.builder.HashCodeBuilder and org.apache.commons.lang.builder.EqualsBuilderTest to insure that equal objects must have equal hash codes.
Nested Class Summary:
static class  HashCodeBuilderAndEqualsBuilderTest.TestFixture   
static class  HashCodeBuilderAndEqualsBuilderTest.SubTestFixture   
static class  HashCodeBuilderAndEqualsBuilderTest.AllTransientFixture   
static class  HashCodeBuilderAndEqualsBuilderTest.SubAllTransientFixture   
Constructor:
 public HashCodeBuilderAndEqualsBuilderTest(String name) 
    Constructor for HashCodeBuilderAndEqualsBuilderTest.
    Parameters:
    name -
Method from org.apache.commons.lang.builder.HashCodeBuilderAndEqualsBuilderTest Summary:
assertEqualsAndHashCodeContract,   main,   setUp,   suite,   tearDown,   testFixture,   testFixture,   testFixtureWithTransients,   testInteger,   testInteger,   testIntegerWithTransients
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.lang.builder.HashCodeBuilderAndEqualsBuilderTest Detail:
 public  void assertEqualsAndHashCodeContract(Object lhs,
    Object rhs,
    boolean testTransients) 
    Asserts that if lhs equals rhs then their hash codes MUST be identical.
 public static  void main(String[] args) 
 protected  void setUp() throws Exception 
 public static Test suite() 
 protected  void tearDown() throws Exception 
 public  void testFixture() 
 public  void testFixture(boolean testTransients) 
 public  void testFixtureWithTransients() 
 public  void testInteger() 
 public  void testInteger(boolean testTransients) 
 public  void testIntegerWithTransients()