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
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate final ContainerConfigurationconfig()context()protected voidcustomizeContainerConfiguration(ContainerConfiguration configuration) protected voidcustomizeContext(Context context) static Stringprotected final ClassLoaderprotected final StringgetConfigurationName(String name) protected PlexusContainerprotected Stringprotected final InputStreamgetResourceAsStream(String name) final Stringstatic StringgetTestConfiguration(Class<?> clazz) static FilegetTestFile(String path) static FilegetTestFile(String basedir, String path) static StringgetTestPath(String path) static StringgetTestPath(String basedir, String path) protected final <T> Tprotected final <T> Tprotected final Objectprotected final Objectprivate static Stringprotected final voidprotected voidsetUp()protected voidprotected voidtearDown()protected voidMethods 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
-
Field Details
-
PLEXUS_HOME
- See Also:
-
container
-
-
Constructor Details
-
PlexusTestCase
public PlexusTestCase()
-
-
Method Details
-
getBasedir
-
getTestFile
-
getTestFile
-
getTestPath
-
getTestPath
-
getTestConfiguration
-
getTestConfiguration
-
customizeContext
-
getCustomConfigurationName
-
customizeContainerConfiguration
-
setUp
- Overrides:
setUpin classjunit.framework.TestCase- Throws:
Exception
-
getContainer
-
setupContainer
protected void setupContainer() -
teardownContainer
protected void teardownContainer() -
tearDown
- Overrides:
tearDownin classjunit.framework.TestCase- Throws:
Exception
-
getConfigurationName
-
getClassLoader
-
getResourceAsStream
-
lookup
- Throws:
ComponentLookupException
-
lookup
- Throws:
ComponentLookupException
-
lookup
- Throws:
ComponentLookupException
-
lookup
- Throws:
ComponentLookupException
-
release
- Throws:
ComponentLifecycleException
-
config
-
context
-
plexusHome
-