|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
net.sourceforge.sqlunit.test.ClassLoaderTest
public class ClassLoaderTest
Testing loading with custom classloader and custom DriverManager.
Constructor Summary | |
---|---|
ClassLoaderTest(java.lang.String name)
Boilerplate constructor. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] argv)
Boilerplate main method. |
static junit.framework.Test |
suite()
Boilerplate suite() method. |
void |
testClassLoadingOverFileUrl()
Provides a use case for loading a Class from a URLClassLoader. |
void |
testGetConnectionWithSQLUnitDriverManager()
Provides a use case for loading the driver from a JAR file which is not in the classpath and whose location is specified. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClassLoaderTest(java.lang.String name)
name
- the name of this test class.Method Detail |
---|
public static void main(java.lang.String[] argv)
argv
- the arguments (none).public static junit.framework.Test suite()
public final void testClassLoadingOverFileUrl() throws java.lang.Exception
java.lang.Exception
- if the test failed.public final void testGetConnectionWithSQLUnitDriverManager() throws java.lang.Exception
java.lang.Exception
- if the test failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |