Package org.codehaus.plexus
Class PlexusTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.codehaus.plexus.PlexusTestCase
- All Implemented Interfaces:
junit.framework.Test
public abstract class PlexusTestCase
extends junit.framework.TestCase
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
customizeContainerConfiguration
(ContainerConfiguration configuration) protected void
customizeContext
(Context context) static String
protected final ClassLoader
protected final String
getConfigurationName
(String name) protected PlexusContainer
protected String
protected final InputStream
getResourceAsStream
(String name) final String
static String
getTestConfiguration
(Class<?> clazz) 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 final <T> T
protected final <T> T
protected final Object
protected final Object
protected final void
protected void
setUp()
protected void
protected void
tearDown()
protected void
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, getName, run, run, runBare, runTest, setName, toString
-
Constructor Details
-
PlexusTestCase
public PlexusTestCase()
-
-
Method Details
-
getBasedir
-
getTestFile
-
getTestFile
-
getTestPath
-
getTestPath
-
getTestConfiguration
-
getTestConfiguration
-
customizeContext
-
getCustomConfigurationName
-
customizeContainerConfiguration
-
setUp
- Overrides:
setUp
in classjunit.framework.TestCase
- Throws:
Exception
-
getContainer
-
setupContainer
protected void setupContainer() -
teardownContainer
protected void teardownContainer() -
tearDown
- Overrides:
tearDown
in classjunit.framework.TestCase
- Throws:
Exception
-
getConfigurationName
-
getClassLoader
-
getResourceAsStream
-
lookup
- Throws:
ComponentLookupException
-
lookup
- Throws:
ComponentLookupException
-
lookup
- Throws:
ComponentLookupException
-
lookup
- Throws:
ComponentLookupException
-
release
- Throws:
ComponentLifecycleException
-