| java.lang.ClassTestGetDeclaresClasses
ClassTestGetDeclaresClasses | public class ClassTestGetDeclaresClasses extends TestCase (Code) | | tested class: java.lang.Class
tested method: getDeclaredClasses
|
Inner Class :public class Helper1 | |
Inner Class :protected interface Helper2 | |
Inner Class :class Helper3 extends Helper1 | |
Method Summary | |
public void | test1() The getDeclaredClasses() method must return all inner classes and
interfaces including protected, package private and private members. | public void | test2() The members declared in the super class must not be reflected by
getDeclaredClasses() method. | public void | test3() An empty array must be returned for the classes that represent
primitive types. | public void | test4() An empty array must be returned for classes that represent arrays. |
test1 | public void test1()(Code) | | The getDeclaredClasses() method must return all inner classes and
interfaces including protected, package private and private members.
|
test2 | public void test2()(Code) | | The members declared in the super class must not be reflected by
getDeclaredClasses() method.
|
test3 | public void test3()(Code) | | An empty array must be returned for the classes that represent
primitive types.
|
test4 | public void test4()(Code) | | An empty array must be returned for classes that represent arrays.
|
|
|