Save This Page
Home » jcommon-1.0.13 » org.jfree.util.junit » [javadoc | source]
org.jfree.util.junit
public class: ObjectUtilitiesTests [javadoc | source]
java.lang.Object
   junit.framework.TestCase
      org.jfree.util.junit.ObjectUtilitiesTests
Some tests for the ObjectUtilities class.
Constructor:
 public ObjectUtilitiesTests(String name) 
    Constructs a new set of tests.
    Parameters:
    name - the name of the tests.
Method from org.jfree.util.junit.ObjectUtilitiesTests Summary:
suite,   testCloneObject,   testDeepClone
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.util.junit.ObjectUtilitiesTests Detail:
 public static Test suite() 
    Returns the tests as a test suite.
 public  void testCloneObject() throws CloneNotSupportedException 
    Some checks for the clone(Object) method. The method should have these properties: (1) Return a clone for any object that can be cloned; (2) Throw a NullPointerException for any object that cannot be cloned; (3) Throw an IllegalArgumentException for null.
 public  void testDeepClone() 
    Some checks for the deepClone(Collection) method.