Save This Page
Home » jcommon-1.0.13 » org.jfree » data » category » junit » [javadoc | source]
org.jfree.data.category.junit
public class: KeyToGroupMapTests [javadoc | source]
java.lang.Object
   junit.framework.TestCase
      org.jfree.data.category.junit.KeyToGroupMapTests
Tests for the KeyToGroupMap class.
Constructor:
 public KeyToGroupMapTests(String name) 
    Constructs a new set of tests.
    Parameters:
    name - the name of the tests.
Method from org.jfree.data.category.junit.KeyToGroupMapTests Summary:
suite,   testCloning,   testEquals,   testGetGroup,   testGetGroupIndex,   testGroupCount,   testKeyCount,   testMapKeyToGroup,   testSerialization
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.data.category.junit.KeyToGroupMapTests Detail:
 public static Test suite() 
    Returns the tests as a test suite.
 public  void testCloning() 
    Confirm that cloning works.
 public  void testEquals() 
    Confirm that the equals method can distinguish all the required fields.
 public  void testGetGroup() 
    Tests the getGroup() method.
 public  void testGetGroupIndex() 
    Tests the getGroupIndex() method.
 public  void testGroupCount() 
    Tests that the getGroupCount() method returns the correct values under various circumstances.
 public  void testKeyCount() 
    Tests that the getKeyCount() method returns the correct values under various circumstances.
 public  void testMapKeyToGroup() 
    Tests the mapKeyToGroup() method.
 public  void testSerialization() 
    Serialize an instance, restore it, and check for equality.