example
Class ArrowButtonTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
junit.extensions.abbot.ComponentTestFixture
example.ArrowButtonTest
- All Implemented Interfaces:
- Test
public class ArrowButtonTest
- extends ComponentTestFixture
Source code for Tutorial 1.
Simple unit tests for example.ArrowButton. Also demonstrates the use of
ComponentTestFixture.
Methods inherited from class junit.extensions.abbot.ComponentTestFixture |
createHierarchy, disposeAll, disposeWindow, fixtureSetUp, fixtureTearDown, getFinder, getHierarchy, getRobot, getWindowTracker, hideWindow, installPopup, invokeAndWait, invokeLater, isShowing, runBare, setModifiers, showFrame, showFrame, showModalDialog, showModalDialog, showPopup, showPopup, showWindow, showWindow, showWindow, sleep, waitForWindow |
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 |
ArrowButtonTest
public ArrowButtonTest(String name)
setUp
protected void setUp()
- Overrides:
setUp
in class TestCase
testClick
public void testClick()
testRepeatedFire
public void testRepeatedFire()
main
public static void main(String[] args)
Copyright © 2002-2008 Timothy Wall. All Rights Reserved.
Abbot is hosted on