Save This Page
Home » jcommon-1.0.13 » org.jfree.text.junit » [javadoc | source]
org.jfree.text.junit
public class: TextFragmentTests [javadoc | source]
java.lang.Object
   junit.framework.TestCase
      org.jfree.text.junit.TextFragmentTests
Tests for the TextFragment class.
Constructor:
 public TextFragmentTests(String name) 
    Constructs a new set of tests.
    Parameters:
    name - the name of the tests.
Method from org.jfree.text.junit.TextFragmentTests Summary:
suite,   testEquals,   testSerialization
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.text.junit.TextFragmentTests Detail:
 public static Test suite() 
    Returns the tests as a test suite.
 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.