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

Quick Search    Search Deep

abbot.tester
Class JComponentTesterTest  view JComponentTesterTest download JComponentTesterTest.java

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

public class JComponentTesterTest
extends junit.framework.TestCase

Unit test to verify the base ComponentTester class.


Field Summary
private  test.AbbotHelper helper
           
private  JComponentTester tester
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
JComponentTesterTest(java.lang.String name)
          Create a new test case with the given name.
 
Method Summary
static void main(java.lang.String[] args)
           
private  void scrollAndAssertVisible(javax.swing.JList list, int row)
           
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testActionMap()
           
 void testScroll()
          Test scrolling for JComponents within a scroll pane.
 
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 JComponentTester tester
Constructor Detail

JComponentTesterTest

public JComponentTesterTest(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.


scrollAndAssertVisible

private void scrollAndAssertVisible(javax.swing.JList list,
                                    int row)

testScroll

public void testScroll()
Test scrolling for JComponents within a scroll pane.


testActionMap

public void testActionMap()

main

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