Save This Page
Home » jcommon-1.0.13 » org.jfree » data » xy » junit » [javadoc | source]
org.jfree.data.xy.junit
public class: XYSeriesTests [javadoc | source]
java.lang.Object
   junit.framework.TestCase
      org.jfree.data.xy.junit.XYSeriesTests
Tests for the XYSeries class.
Constructor:
 public XYSeriesTests(String name) 
    Constructs a new set of tests.
    Parameters:
    name - the name of the tests.
Method from org.jfree.data.xy.junit.XYSeriesTests Summary:
suite,   testAdd,   testAddOrUpdate,   testAddOrUpdate2,   testAdditionOfDuplicateXValues,   testCloning,   testEquals,   testIndexOf,   testIndexOf2,   testRemove,   testSerialization,   testSetMaximumItemCount,   testSetMaximumItemCount2,   testUpdate,   testUpdate2
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.data.xy.junit.XYSeriesTests Detail:
 public static Test suite() 
    Returns the tests as a test suite.
 public  void testAdd() 
    Some checks for the add() method for an UNSORTED series.
 public  void testAddOrUpdate() 
    Some checks for the addOrUpdate() method.
 public  void testAddOrUpdate2() 
    Some checks for the addOrUpdate() method for an UNSORTED series.
 public  void testAdditionOfDuplicateXValues() 
    When items are added with duplicate x-values, we expect them to remain in the order they were added.
 public  void testCloning() 
    Confirm that cloning works.
 public  void testEquals() 
    Confirm that the equals method can distinguish all the required fields.
 public  void testIndexOf() 
    Simple test for the indexOf() method.
 public  void testIndexOf2() 
    A check for the indexOf() method for an unsorted series.
 public  void testRemove() 
    Simple test for the remove() method.
 public  void testSerialization() 
    Serialize an instance, restore it, and check for equality.
 public  void testSetMaximumItemCount() 
    A simple check that the maximumItemCount attribute is working.
 public  void testSetMaximumItemCount2() 
    Check that the maximum item count can be applied retrospectively.
 public  void testUpdate() 
    Some checks for the update(Number, Number) method.
 public  void testUpdate2() 
    Some checks for the update() method for an unsorted series.