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 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 Objectprotected 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
-
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
-