org.apache.commons.lang.builder
Class CompareToBuilderTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.commons.lang.builder.CompareToBuilderTest
- All Implemented Interfaces:
- junit.framework.Test
- public class CompareToBuilderTest
- extends junit.framework.TestCase
Unit tests CompareToBuilder.
- Version:
- $Id: CompareToBuilderTest.java 437554 2006-08-28 06:21:41Z bayard $
- Author:
- Steve Downey, Stephen Colebourne
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
CompareToBuilderTest
public CompareToBuilderTest(java.lang.String name)
main
public static void main(java.lang.String[] args)
suite
public static junit.framework.Test suite()
setUp
protected void setUp()
throws java.lang.Exception
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReflectionCompare
public void testReflectionCompare()
testReflectionCompareEx1
public void testReflectionCompareEx1()
testReflectionCompareEx2
public void testReflectionCompareEx2()
testReflectionHierarchyCompare
public void testReflectionHierarchyCompare()
testReflectionHierarchyCompareExcludeFields
public void testReflectionHierarchyCompareExcludeFields()
testReflectionHierarchyCompareTransients
public void testReflectionHierarchyCompareTransients()
testReflectionHierarchyCompare
public void testReflectionHierarchyCompare(boolean testTransients,
java.lang.String[] excludeFields)
assertReflectionCompareContract
public void assertReflectionCompareContract(java.lang.Object x,
java.lang.Object y,
java.lang.Object z,
boolean testTransients,
java.lang.String[] excludeFields)
- See "Effective Java" under "Consider Implementing Comparable".
- Parameters:
x - an object to comparey - an object to comparez - an object to comparetestTransients - Whether to include transients in the comparisonexcludeFields - fields to exclude
testAppendSuper
public void testAppendSuper()
testObject
public void testObject()
testObjectEx2
public void testObjectEx2()
testObjectComparator
public void testObjectComparator()
testObjectComparatorNull
public void testObjectComparatorNull()
testLong
public void testLong()
testInt
public void testInt()
testShort
public void testShort()
testChar
public void testChar()
testByte
public void testByte()
testDouble
public void testDouble()
testFloat
public void testFloat()
testBoolean
public void testBoolean()
testObjectArray
public void testObjectArray()
testLongArray
public void testLongArray()
testIntArray
public void testIntArray()
testShortArray
public void testShortArray()
testCharArray
public void testCharArray()
testByteArray
public void testByteArray()
testDoubleArray
public void testDoubleArray()
testFloatArray
public void testFloatArray()
testBooleanArray
public void testBooleanArray()
testMultiLongArray
public void testMultiLongArray()
testMultiIntArray
public void testMultiIntArray()
testMultiShortArray
public void testMultiShortArray()
testMultiCharArray
public void testMultiCharArray()
testMultiByteArray
public void testMultiByteArray()
testMultiFloatArray
public void testMultiFloatArray()
testMultiDoubleArray
public void testMultiDoubleArray()
testMultiBooleanArray
public void testMultiBooleanArray()
testRaggedArray
public void testRaggedArray()
testMixedArray
public void testMixedArray()
testObjectArrayHiddenByObject
public void testObjectArrayHiddenByObject()
testLongArrayHiddenByObject
public void testLongArrayHiddenByObject()
testIntArrayHiddenByObject
public void testIntArrayHiddenByObject()
testShortArrayHiddenByObject
public void testShortArrayHiddenByObject()
testCharArrayHiddenByObject
public void testCharArrayHiddenByObject()
testByteArrayHiddenByObject
public void testByteArrayHiddenByObject()
testDoubleArrayHiddenByObject
public void testDoubleArrayHiddenByObject()
testFloatArrayHiddenByObject
public void testFloatArrayHiddenByObject()
testBooleanArrayHiddenByObject
public void testBooleanArrayHiddenByObject()
Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.