| org.jfree.util.junit.ObjectListTests
ObjectListTests | public class ObjectListTests extends TestCase (Code) | | Tests for the
ObjectList class.
|
Method Summary | |
public static Test | suite() Returns the tests as a test suite. | public void | testCloning() Confirm that cloning works. | public void | testEquals() Tests the equals() method. | public void | testEquals2() Another test of the equals method. | public void | testExpand() Tests the expand method. | public void | testSerialization() Serialize an instance, restore it, and check for equality. |
ObjectListTests | public ObjectListTests(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) | | Confirm that cloning works.
|
testEquals | public void testEquals()(Code) | | Tests the equals() method.
|
testEquals2 | public void testEquals2()(Code) | | Another test of the equals method. The capacity of the internal list shouldn't
be a factor.
|
testExpand | public void testExpand()(Code) | | Tests the expand method. This test reproduces a bug where the list was not expanded beyond
the initial default size of 8. This bug is now fixed.
|
testSerialization | public void testSerialization()(Code) | | Serialize an instance, restore it, and check for equality.
|
|
|