Class ManagedTestCase
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.apache.axis2.transport.testkit.tests.ManagedTestCase
-
- All Implemented Interfaces:
junit.framework.Test
- Direct Known Subclasses:
MessageTestCase
,MinConcurrencyTest
public abstract class ManagedTestCase extends junit.framework.TestCase
-
-
Constructor Summary
Constructors Constructor Description ManagedTestCase(Object... resources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addResource(Object resource)
String
getId()
String
getName()
Map<String,String>
getNameComponents()
TestResourceSet
getResourceSet()
Class<?>
getTestClass()
void
init(String id, boolean managed, Class<?> testClass)
protected void
setUp()
protected void
tearDown()
String
toString()
-
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, run, run, runBare, runTest, setName
-
-
-
-
Constructor Detail
-
ManagedTestCase
public ManagedTestCase(Object... resources)
-
-
Method Detail
-
addResource
protected void addResource(Object resource)
-
getId
public String getId()
-
getTestClass
public Class<?> getTestClass()
-
getName
public String getName()
- Overrides:
getName
in classjunit.framework.TestCase
-
getResourceSet
public TestResourceSet getResourceSet()
-
setUp
protected void setUp() throws Exception
- Overrides:
setUp
in classjunit.framework.TestCase
- Throws:
Exception
-
tearDown
protected void tearDown() throws Exception
- Overrides:
tearDown
in classjunit.framework.TestCase
- Throws:
Exception
-
toString
public String toString()
- Overrides:
toString
in classjunit.framework.TestCase
-
-