junit.extensions.abbot
Class ResolverFixture

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by junit.extensions.abbot.ComponentTestFixture
              extended by junit.extensions.abbot.ResolverFixture
All Implemented Interfaces:
Test

public abstract class ResolverFixture
extends ComponentTestFixture

Simple wrapper for testing objects which require a Resolver.


Nested Class Summary
 
Nested classes/interfaces inherited from class junit.extensions.abbot.ComponentTestFixture
ComponentTestFixture.ComponentMatcher, ComponentTestFixture.EventDispatchException
 
Field Summary
 
Fields inherited from class junit.extensions.abbot.ComponentTestFixture
DISPOSE_CLASSES, EVENT_GENERATION_DELAY, POPUP_DELAY, WINDOW_DELAY
 
Constructor Summary
ResolverFixture()
          Default Constructor.
ResolverFixture(String name)
          Construct a test case with the given name.
 
Method Summary
protected  void fixtureSetUp()
          Fixture setup is performed here, to avoid problems should a derived class define its own setUp and neglect to invoke the superclass method.
protected  void fixtureTearDown()
          Fixture teardown is performed here, to avoid problems should a derived class define its own tearDown and neglect to invoke the superclass method.
protected  Resolver getResolver()
          Obtain a consistent resolver.
 
Methods inherited from class junit.extensions.abbot.ComponentTestFixture
createHierarchy, disposeAll, disposeWindow, 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.TestCase
countTestCases, createResult, getName, run, run, runTest, setName, setUp, tearDown, 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
 

Constructor Detail

ResolverFixture

public ResolverFixture(String name)
Construct a test case with the given name.


ResolverFixture

public ResolverFixture()
Default Constructor. The name will be automatically set from the selected test method.

Method Detail

getResolver

protected Resolver getResolver()
Obtain a consistent resolver.


fixtureSetUp

protected void fixtureSetUp()
                     throws Throwable
Fixture setup is performed here, to avoid problems should a derived class define its own setUp and neglect to invoke the superclass method.

Overrides:
fixtureSetUp in class ComponentTestFixture
Throws:
Throwable

fixtureTearDown

protected void fixtureTearDown()
                        throws Throwable
Fixture teardown is performed here, to avoid problems should a derived class define its own tearDown and neglect to invoke the superclass method.

Overrides:
fixtureTearDown in class ComponentTestFixture
Throws:
Throwable


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

SourceForge