| org.jfree.chart.junit.LegendItemTests
LegendItemTests | public class LegendItemTests extends TestCase (Code) | | Tests for the
LegendItem class.
|
Method Summary | |
public static Test | suite() Returns the tests as a test suite. | public void | testCloning() Cloning is not required for this class as it is designed to be
immutable. | 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. | public void | testSerialization2() Serialize an instance, restore it, and check for equality. |
LegendItemTests | public LegendItemTests(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) | | Cloning is not required for this class as it is designed to be
immutable.
|
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.
|
testSerialization2 | public void testSerialization2()(Code) | | Serialize an instance, restore it, and check for equality.
|
|
|