| junit.extensions.abbot.ComponentTestFixture example.CelsiusConverterTest
CelsiusConverterTest | public class CelsiusConverterTest extends ComponentTestFixture (Code) | | Demonstrates testing a simple Swing UI (
CelsiusConverter ) with
Abbot.
author: Satadip Dutta (original) author: Tom Roche (ported to new-style Abbot, added more tests) version: $Id: CelsiusConverterTest.java 1597 2005-05-06 23:27:16Z tlroche $ |
DEFAULT_PRECISION | final static int DEFAULT_PRECISION(Code) | | |
PRECISION2 | final static int PRECISION2(Code) | | |
PRECISION3 | final static int PRECISION3(Code) | | |
CelsiusConverterTest | public CelsiusConverterTest(String name)(Code) | | For older versions of JUnit.
|
testChangePrecision | public void testChangePrecision() throws Exception(Code) | | |
Methods inherited from junit.extensions.abbot.ComponentTestFixture | protected Hierarchy createHierarchy()(Code)(Java Doc) protected void disposeAll()(Code)(Java Doc) protected void disposeWindow(Window w)(Code)(Java Doc) protected void fixtureSetUp() throws Throwable(Code)(Java Doc) protected void fixtureTearDown() throws Throwable(Code)(Java Doc) protected ComponentFinder getFinder()(Code)(Java Doc) protected Hierarchy getHierarchy()(Code)(Java Doc) protected Robot getRobot()(Code)(Java Doc) protected WindowTracker getWindowTracker()(Code)(Java Doc) protected void hideWindow(Window w)(Code)(Java Doc) protected void installPopup(Component invoker, JPopupMenu popup)(Code)(Java Doc) protected void invokeAndWait(Runnable runnable)(Code)(Java Doc) protected void invokeLater(Runnable runnable)(Code)(Java Doc) protected boolean isShowing(String id)(Code)(Java Doc) public void runBare() throws Throwable(Code)(Java Doc) protected void setModifiers(int modifiers, boolean pressed)(Code)(Java Doc) protected Frame showFrame(Component comp)(Code)(Java Doc) protected Frame showFrame(Component comp, Dimension size)(Code)(Java Doc) protected Dialog showModalDialog(Runnable showAction) throws ComponentSearchException(Code)(Java Doc) protected Dialog showModalDialog(Runnable showAction, Component contents) throws Exception(Code)(Java Doc) protected void showPopup(JPopupMenu popup, Component invoker)(Code)(Java Doc) protected void showPopup(JPopupMenu popup, Component invoker, int x, int y)(Code)(Java Doc) protected void showWindow(Window w)(Code)(Java Doc) protected void showWindow(Window w, Dimension size)(Code)(Java Doc) protected void showWindow(Window w, Dimension size, boolean pack)(Code)(Java Doc) protected void sleep()(Code)(Java Doc) protected void waitForWindow(Window w, boolean visible)(Code)(Java Doc)
|
|
|