public abstract class

PlexusTestCase

extends TestCase
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ org.codehaus.plexus.PlexusTestCase

Summary

Public Constructors
PlexusTestCase()
Public Methods
static String getBasedir()
final String getTestConfiguration()
static String getTestConfiguration(Class<?> clazz)
static File getTestFile(String path)
static File getTestFile(String basedir, String path)
static String getTestPath(String basedir, String path)
static String getTestPath(String path)
Protected Methods
void customizeContainerConfiguration(ContainerConfiguration configuration)
void customizeContext(Context context)
final ClassLoader getClassLoader()
final String getConfigurationName(String name)
PlexusContainer getContainer()
String getCustomConfigurationName()
final InputStream getResourceAsStream(String name)
final Object lookup(String role, String hint)
final Object lookup(String role)
final <T> T lookup(Class<T> role)
final <T> T lookup(Class<T> role, String hint)
final void release(Object component)
void setUp()
synchronized void setupContainer()
void tearDown()
synchronized void teardownContainer()
[Expand]
Inherited Methods
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public PlexusTestCase ()

Public Methods

public static String getBasedir ()

public final String getTestConfiguration ()

public static String getTestConfiguration (Class<?> clazz)

public static File getTestFile (String path)

public static File getTestFile (String basedir, String path)

public static String getTestPath (String basedir, String path)

public static String getTestPath (String path)

Protected Methods

protected void customizeContainerConfiguration (ContainerConfiguration configuration)

protected void customizeContext (Context context)

protected final ClassLoader getClassLoader ()

protected final String getConfigurationName (String name)

protected PlexusContainer getContainer ()

protected String getCustomConfigurationName ()

protected final InputStream getResourceAsStream (String name)

protected final Object lookup (String role, String hint)

protected final Object lookup (String role)

protected final T lookup (Class<T> role)

protected final T lookup (Class<T> role, String hint)

protected final void release (Object component)

protected void setUp ()

Throws
Exception

protected synchronized void setupContainer ()

protected void tearDown ()

Throws
Exception

protected synchronized void teardownContainer ()