Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

abbot.tester
Class JComboBoxTesterTest  view JComboBoxTesterTest download JComboBoxTesterTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byabbot.tester.JComboBoxTesterTest
All Implemented Interfaces:
junit.framework.Test

public class JComboBoxTesterTest
extends junit.framework.TestCase

Unit test to verify the base ComponentTester class.


Field Summary
private  javax.swing.JComboBox box
           
private  test.AbbotHelper helper
           
private  java.util.Vector list
           
private static int MAX_ENTRIES
           
(package private)  int selectedIndex
           
(package private)  java.lang.String selectedItem
           
private  JComboBoxTester tester
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
JComboBoxTesterTest(java.lang.String name)
          Create a new test case with the given name.
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
static junit.framework.Test suite()
          Return the default test suite.
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testSelectIndex()
           
 void testSelectItem()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

helper

private test.AbbotHelper helper

tester

private JComboBoxTester tester

box

private javax.swing.JComboBox box

list

private java.util.Vector list

MAX_ENTRIES

private static final int MAX_ENTRIES
See Also:
Constant Field Values

selectedItem

java.lang.String selectedItem

selectedIndex

int selectedIndex
Constructor Detail

JComboBoxTesterTest

public JComboBoxTesterTest(java.lang.String name)
Create a new test case with the given name.

Method Detail

setUp

protected void setUp()
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


tearDown

protected void tearDown()
Description copied from class: junit.framework.TestCase
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.


testSelectIndex

public void testSelectIndex()

testSelectItem

public void testSelectItem()

suite

public static junit.framework.Test suite()
Return the default test suite.


main

public static void main(java.lang.String[] args)