|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
junit.extensions.abbot.ResolverFixture
Simple wrapper for testing objects which require a Resolver.
| Nested Class Summary | |
protected class |
ResolverFixture.ComponentMatcher
Simple matcher that may be used to verify that a specific component is found by a given ComponentFinder. |
| Constructor Summary | |
ResolverFixture()
Default Constructor. |
|
ResolverFixture(String name)
Construct a test case with the given name. |
|
| Method Summary | |
protected Hierarchy |
createHierarchy()
Provide for derived classes to provide their own Hierarchy. |
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 ComponentFinder |
getFinder()
Obtain a component finder to look up components. |
protected Hierarchy |
getHierarchy()
Obtain a consistent hierarchy. |
protected Resolver |
getResolver()
Obtain a consistent resolver. |
void |
runBare()
Override the default junit.framework.TestCase#RunBare()
to ensure proper test harness setup and teardown that won't
likely be accidentally overridden by a derived class. |
| 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 |
public ResolverFixture(String name)
public ResolverFixture()
| Method Detail |
protected Hierarchy getHierarchy()
protected Hierarchy createHierarchy()
protected ComponentFinder getFinder()
protected Resolver getResolver()
protected void fixtureSetUp()
throws Throwable
Throwable
protected void fixtureTearDown()
throws Throwable
Throwable
public void runBare()
throws Throwable
junit.framework.TestCase#RunBare()
to ensure proper test harness setup and teardown that won't
likely be accidentally overridden by a derived class.
Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||