|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--net.groboclown.util.classes.v1.tests.BaseUrlClassLoaderTester
Just like util.http.tests, this uses the Sourceforge account to ensure that the URLs work correctly. It loads the sample applet "BeliefOfTheDay" to make sure that this is able to load classes remotely. As insurance, this also tests to make sure that the same applet is not in the current classpath.
| Inner Class Summary | |
static class |
BaseUrlClassLoaderTester.InnerClass
|
| Field Summary | |
protected static String |
BELIEF_CLASS
|
protected static String |
BELIEF_JAR
|
private Class |
THIS_CLASS
|
private String |
THIS_CLASS_NAME
|
| Fields inherited from class junit.framework.TestCase |
fName |
| Constructor Summary | |
BaseUrlClassLoaderTester(String name)
|
|
| Method Summary | |
protected abstract IUrlClassLoader |
createLoader()
|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testFlush()
|
void |
testGetClass1()
|
void |
testGetClass2()
|
void |
testInstantiate()
|
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString |
| Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private Class THIS_CLASS
private String THIS_CLASS_NAME
protected static final String BELIEF_CLASS
protected static final String BELIEF_JAR
| Constructor Detail |
public BaseUrlClassLoaderTester(String name)
| Method Detail |
protected void setUp()
throws Exception
setUp in class junit.framework.TestCase
protected void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseprotected abstract IUrlClassLoader createLoader()
public void testInstantiate()
public void testGetClass1()
public void testGetClass2()
public void testFlush()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||