public abstract class PlexusTestCase
extends TestCase
| Modifier and Type | Field and Description |
|---|---|
protected String |
basedir
Deprecated.
Use getBasedir(); instead of accessing this variable directly.
When removing this variable rename basedirPath to basedir. Trygve.
|
protected PlexusContainer |
container |
| Constructor and Description |
|---|
PlexusTestCase() |
PlexusTestCase(String testName)
Deprecated.
Use the no arg contstructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected PlexusContainer |
createContainerInstance() |
protected void |
customizeContext() |
protected void |
customizeContext(Context context) |
static String |
getBasedir() |
protected ClassLoader |
getClassLoader() |
protected InputStream |
getConfiguration() |
protected InputStream |
getConfiguration(String subname) |
protected PlexusContainer |
getContainer() |
protected InputStream |
getCustomConfiguration() |
protected InputStream |
getResourceAsStream(String resource) |
static File |
getTestFile(String path) |
static File |
getTestFile(String basedir,
String path) |
static String |
getTestPath(String path) |
static String |
getTestPath(String basedir,
String path) |
protected Object |
lookup(String componentKey) |
protected Object |
lookup(String role,
String id) |
protected void |
release(Object component) |
protected void |
setUp() |
protected void |
tearDown() |
protected PlexusContainer container
protected String basedir
public PlexusTestCase()
public PlexusTestCase(String testName)
protected PlexusContainer createContainerInstance()
protected void customizeContext(Context context) throws Exception
Exceptionprotected InputStream getCustomConfiguration() throws Exception
Exceptionprotected PlexusContainer getContainer()
protected InputStream getConfiguration() throws Exception
Exceptionprotected InputStream getConfiguration(String subname) throws Exception
Exceptionprotected InputStream getResourceAsStream(String resource)
protected ClassLoader getClassLoader()
public static String getBasedir()