org.codehaus.plexus
public abstract class PlexusTestCase extends TestCase
Version: $Id: PlexusTestCase.java 1708 2005-04-15 04:47:38Z brett $
Field Summary | |
---|---|
protected String | basedir |
static String | basedirPath |
protected PlexusContainer | container |
Constructor Summary | |
---|---|
PlexusTestCase() | |
PlexusTestCase(String testName) |
Method Summary | |
---|---|
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() |
Context | getContext() |
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() |
Deprecated: Use getBasedir(); instead of accessing this variable directly. When removing this variable rename basedirPath to basedir. Trygve.
Deprecated: Use the no arg contstructor.