|
|||||||||
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 | +--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").
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, name, run, run, runBare, 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, fail, fail |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TestJdk(String name)
Method Detail |
public void setUp()
public void testFinder() throws Exception
public void testCompiler() throws GateException
public void testCompiler2() throws GateException
public void testReloading() throws Exception
public static junit.framework.Test suite()
public static void main(String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |