| java.lang.ClassTestForName
ClassTestForName | public class ClassTestForName extends TestCase (Code) | | tested class: java.lang.Class
tested method: forName
|
Method Summary | |
public void | test1() This test case checks two cases. | public void | test2() This test case checks two cases. | public void | test3() This test case checks two cases. | public void | test4() This test case checks whether a class loaded by forName() method is the
same as a class loaded by loadClass() method through the same class
loader. | public void | test5() Simple reference type and array type must be loaded by the same class
loader. | public void | test6() class names must be delimited by dotes not by any over delimiter. | public void | test7() primitive types can not be loaded by forName() method. | public void | test8() primitive types can not be loaded by forName() method. | public void | testHARMONY887() |
test1 | public void test1()(Code) | | This test case checks two cases. First, a class must be sucessfully
loaded by bootstrup class loader. Second, this class instance must be the
same as previously loaded.
|
test2 | public void test2()(Code) | | This test case checks two cases. First, a class must be sucessfully
loaded by user-defined class loader. Second, this class instance must be
the same as previously loaded.
|
test3 | public void test3()(Code) | | This test case checks two cases. First, an array class must be
sucessfully loaded by bootstrup class loader. Second, this class instance
must be the same as previously loaded.
|
test4 | public void test4()(Code) | | This test case checks whether a class loaded by forName() method is the
same as a class loaded by loadClass() method through the same class
loader.
|
test5 | public void test5()(Code) | | Simple reference type and array type must be loaded by the same class
loader.
|
test6 | public void test6()(Code) | | class names must be delimited by dotes not by any over delimiter.
|
test7 | public void test7()(Code) | | primitive types can not be loaded by forName() method.
|
test8 | public void test8()(Code) | | primitive types can not be loaded by forName() method.
|
|
|