| org.jfree.data.junit.ComparableObjectItemTests
Method Summary | |
public static Test | suite() Returns the tests as a test suite. | public void | testCloning() Some checks for the clone() method. | public void | testCompareTo() Some checks for the compareTo() method. | public void | testConstructor() Some checks for the constructor. | public void | testEquals() Confirm that the equals method can distinguish all the required fields. | public void | testSerialization() Serialize an instance, restore it, and check for equality. |
ComparableObjectItemTests | public ComparableObjectItemTests(String name)(Code) | | Constructs a new set of tests.
Parameters: name - the name of the tests. |
suite | public static Test suite()(Code) | | Returns the tests as a test suite.
The test suite. |
testCloning | public void testCloning()(Code) | | Some checks for the clone() method.
|
testCompareTo | public void testCompareTo()(Code) | | Some checks for the compareTo() method.
|
testConstructor | public void testConstructor()(Code) | | Some checks for the constructor.
|
testEquals | public void testEquals()(Code) | | Confirm that the equals method can distinguish all the required fields.
|
testSerialization | public void testSerialization()(Code) | | Serialize an instance, restore it, and check for equality.
|
|
|