example
Class FontChooserTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--junit.extensions.abbot.ComponentTestFixture
                    |
                    +--junit.extensions.abbot.ScriptFixture
                          |
                          +--example.FontChooserTest
All Implemented Interfaces:
Test

public class FontChooserTest
extends ScriptFixture

JUnit test case for the FontChooser GUI component. Provides a setup method to instantate a gui for scripts to test.


Inner classes inherited from class junit.extensions.abbot.ComponentTestFixture
ComponentTestFixture.ExceptionCatcher
 
Fields inherited from class junit.extensions.abbot.ComponentTestFixture
EVENT_GENERATION_DELAY, POPUP_DELAY, WINDOW_DELAY
 
Constructor Summary
FontChooserTest(String name)
          Construct a test case with the given name.
 
Method Summary
static void main(String[] args)
          Assumes each argument is an Abbot script.
static Test suite()
          Provide a default test suite for this test case.
 
Methods inherited from class junit.extensions.abbot.ScriptFixture
runTest
 
Methods inherited from class junit.extensions.abbot.ComponentTestFixture
getFinder, getResolver, getRobot, getWindowTracker, hideWindow, installPopup, runBare, showFrame, showFrame, showPopup, showWindow, showWindow, showWindow
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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
 

Constructor Detail

FontChooserTest

public FontChooserTest(String name)
Construct a test case with the given name.
Method Detail

suite

public static Test suite()
Provide a default test suite for this test case.

main

public static void main(String[] args)
Description copied from class: ScriptFixture
Assumes each argument is an Abbot script. Runs each one.


Copyright © 2002-2003 Timothy Wall. All Rights Reserved.
Abbot is hosted on

SourceForge