FileDocCategorySizeDatePackage
JUnitClassLoaderTest.javaAPI DocApache Ant 1.701361Wed Dec 13 06:16:18 GMT 2006org.apache.tools.ant.taskdefs.optional.junit

JUnitClassLoaderTest

public class JUnitClassLoaderTest extends TestCase
Test to ensure that the classloader loading JUnit testcase is also the context classloader.

Fields Summary
Constructors Summary
public JUnitClassLoaderTest(String s)

        super(s);
    
Methods Summary
public voidtestContextClassLoader()

        ClassLoader context = Thread.currentThread().getContextClassLoader();
        ClassLoader caller = getClass().getClassLoader();
        assertSame(context, caller);