edu.rice.cs.util.swing
Class ScrollableListSelectionDialogTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.rice.cs.util.swing.ScrollableListSelectionDialogTest
All Implemented Interfaces:
junit.framework.Test

public class ScrollableListSelectionDialogTest
extends junit.framework.TestCase

A JUnit test case class that tests ScrollableListSelectionDialog.

Since:
2007-03-06
Version:
$Id: ScrollableListSelectionDialogTest.java 5175 2010-01-20 08:46:32Z mgricken $
Author:
Chris Warrington

Nested Class Summary
 
Nested classes/interfaces inherited from class junit.framework.TestCase
junit.framework.TestCase.WrappedException
 
Field Summary
private static List<String> DATA
           
private static String DESC
           
private static String LEADER
           
private static String TITLE
           
 
Constructor Summary
ScrollableListSelectionDialogTest()
           
 
Method Summary
 void testDefaultSelection()
           
 void testNullData()
           
 void testValidMessageTypes()
          Tests that all the valid message types are accepted and that they are the only message types accepted.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TITLE

private static final String TITLE
See Also:
Constant Field Values

LEADER

private static final String LEADER
See Also:
Constant Field Values

DATA

private static final List<String> DATA

DESC

private static final String DESC
See Also:
Constant Field Values
Constructor Detail

ScrollableListSelectionDialogTest

public ScrollableListSelectionDialogTest()
Method Detail

testValidMessageTypes

public void testValidMessageTypes()
Tests that all the valid message types are accepted and that they are the only message types accepted.


testNullData

public void testNullData()

testDefaultSelection

public void testDefaultSelection()