final public class SerializationTest extends TestCase (Code)
Tests the serialization and deserialization of instances of
FormLayout and JPanel.
author: Karsten Lentzsch version: $Revision: 1.5 $ See Also:java.io.Serializable
testSerializeEmptyLayout() Tests the serialization of an empty FormLayout that has computed
a layout immediately after its construction.
public void
testSerializePanel() Tests the serialization of a panel that is layed out using
a FormLayout.
Method Detail
testDeserializeConstructedLayout
public void testDeserializeConstructedLayout()(Code)
Tests the deserialization of a FormLayout that has just been constructed.
The layout contains no components and the layout algorithm has not
been performed.
Tests the deserialization of a panel that is layed out using
a FormLayout. The panel consists some sample components that in turn
uses some sample CellConstraints.
testLayoutDeserializedEmptyLayout
public void testLayoutDeserializedEmptyLayout()(Code)
Tests that the a layout can be computed with a deserialized
empty FormLayout.
Tests that the a panel can be layed out with a deserialized
FormLayout.
testSerializeConstructedLayout
public void testSerializeConstructedLayout()(Code)
Tests the serialization of a FormLayout that has just been constructed.
The layout contains no components and the layout algorithm has not
been performed.
Tests the serialization of a panel that is layed out using
a FormLayout. The panel consists some sample components that in turn
uses some sample CellConstraints.