public abstract class PlexusTestCase
extends junit.framework.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() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toStringassertEquals, 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, failNotEquals, failNotSame, failSame, formatprotected PlexusContainer container
protected String basedir
public PlexusTestCase()
public PlexusTestCase(String testName)
protected void setUp()
throws Exception
setUp in class junit.framework.TestCaseExceptionprotected PlexusContainer createContainerInstance()
protected void customizeContext(Context context) throws Exception
Exceptionprotected InputStream getCustomConfiguration() throws Exception
Exceptionprotected void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseExceptionprotected 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()
Copyright © 2001-2012 Codehaus. All Rights Reserved.