public class PolygonPropertiesTester
extends java.lang.Object
Tests the methods of the PolygonProperties class.
Constructor and Description |
---|
PolygonPropertiesTester() |
Modifier and Type | Method and Description |
---|---|
void |
checkConstruction()
This operation tests the construction of PolygonProperties instances.
|
void |
checkCopying()
This operation checks the Polygon to ensure that its copy() and clone()
operations work as specified.
|
void |
checkEquality()
This operation tests the equals method for PolygonProperties.
|
void |
checkLoadingFromXML()
This operation checks the ability of a PolygonProperties instance to
persist itself to XML and to load itself from an XML input stream.
|
public void checkConstruction()
This operation tests the construction of PolygonProperties instances.
public void checkLoadingFromXML() throws java.lang.NullPointerException, javax.xml.bind.JAXBException, java.io.IOException
This operation checks the ability of a PolygonProperties instance to persist itself to XML and to load itself from an XML input stream.
java.io.IOException
javax.xml.bind.JAXBException
java.lang.NullPointerException
public void checkEquality()
This operation tests the equals method for PolygonProperties.
public void checkCopying()
This operation checks the Polygon to ensure that its copy() and clone() operations work as specified.