|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--gate.util.TestJdk
Tests for the Jdk class and for GateClassLoader. The testReloading method reads a class from a .jar that is reached via a URL. This is called TestJdk.jar; to build it, do "make TestJdk.jar" in the build directory (the source for the class lives there, under "testpkg").
Field Summary | |
private static boolean |
DEBUG
Debug flag |
private Jdk |
jdk
Instance of the Jdk class |
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
TestJdk(String name)
Construction |
Method Summary | |
static void |
main(String[] args)
|
void |
setUp()
Fixture set up |
static junit.framework.Test |
suite()
Test suite routine for the test runner |
void |
testCompiler()
Jdk compiler |
void |
testCompiler2()
Jdk compiler test 2. |
void |
testFinder()
Jdk tool directory finder |
void |
testReloading()
Test reloading of classes. |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, 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 |
Field Detail |
private static final boolean DEBUG
private Jdk jdk
Constructor Detail |
public TestJdk(String name)
Method Detail |
public void setUp()
setUp
in class junit.framework.TestCase
public void testFinder() throws Exception
Exception
public void testCompiler() throws GateException
GateException
public void testCompiler2() throws GateException
GateException
public void testReloading() throws Exception
Exception
public static junit.framework.Test suite()
public static void main(String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |