|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.commons.logging.pathable.ChildFirstTestCase
public class ChildFirstTestCase
Tests for the PathableTestSuite and PathableClassLoader functionality, where lookup order for the PathableClassLoader is child-first.
These tests assume:
Constructor Summary | |
---|---|
ChildFirstTestCase()
|
Method Summary | |
---|---|
static junit.framework.Test |
suite()
Set up a custom classloader hierarchy for this test case. |
void |
testPaths()
Test that the classloader hierarchy is as expected, and that calling loadClass() on various classloaders works as expected. |
void |
testResource()
Test that the various flavours of ClassLoader.getResource work as expected. |
void |
testResourceAsStream()
Test that getResourceAsStream works. |
void |
testResources()
Test that the various flavours of ClassLoader.getResources work as expected. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
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, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChildFirstTestCase()
Method Detail |
---|
public static junit.framework.Test suite() throws Exception
Exception
public void testPaths() throws Exception
Exception
public void testResource()
public void testResources() throws Exception
Exception
public void testResourceAsStream() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |