|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.extensions.TestDecorator
junit.extensions.TestSetup
org.jboss.test.AbstractTestSetup
public class AbstractTestSetup
An AbstractTestSetup.
| Field Summary | |
|---|---|
protected Class |
clazz
The test class |
protected static AbstractTestDelegate |
delegate
The last delegate |
| Fields inherited from class junit.extensions.TestDecorator |
|---|
fTest |
| Constructor Summary | |
|---|---|
AbstractTestSetup(Class clazz,
junit.framework.Test test)
Create a new TestSetup. |
|
| Method Summary | |
|---|---|
protected void |
setUp()
Create a delegate by calling AbstractTestDelegate.getDelegate(clazz) to allow for a test specific delegate. |
protected void |
tearDown()
This method then delegates to the AbstractTestDelegate.tearDown method. |
| Methods inherited from class junit.extensions.TestSetup |
|---|
run |
| Methods inherited from class junit.extensions.TestDecorator |
|---|
basicRun, countTestCases, getTest, 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 |
| Field Detail |
|---|
protected Class clazz
protected static AbstractTestDelegate delegate
| Constructor Detail |
|---|
public AbstractTestSetup(Class clazz,
junit.framework.Test test)
clazz - the test classtest - the test wrapper| Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class junit.extensions.TestSetupException
protected void tearDown()
throws Exception
tearDown in class junit.extensions.TestSetupException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||