public class ReflectionUtilTest extends Object
| Constructor and Description |
|---|
ReflectionUtilTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
shouldFindAllMethodsWithMyAnnotation() |
void |
testAllAnnotatedFields() |
void |
testCanInjectIntoPrivateFieldFromSuperclass() |
void |
testCanLookupPrivateFieldFromSuperclass() |
void |
testCreateInstance_Exception() |
void |
testCreateInstance() |
void |
testGetAllFields() |
void |
testGetAllFieldsAssinableFrom() |
void |
testGetField_DerivedClass() |
void |
testGetField_NoSuchField() |
void |
testGetFieldValue_ByField_Exception() |
void |
testGetFieldValue_Exception() |
void |
testGetFieldValue() |
void |
testGetMethod() |
void |
testGetMethodAndInvoke() |
void |
testInvokeMethod_checkArgumentsWithObjects() |
void |
testInvokeMethod_checkArgumentsWithPrimitives() |
void |
testInvokeMethod_Exception() |
void |
testInvokeMethod_NoSuchMethod() |
void |
testInvokeMethod_WithWrongParameter() |
void |
testInvokeMethod() |
public void testCanLookupPrivateFieldFromSuperclass()
public void testCanInjectIntoPrivateFieldFromSuperclass()
public void testGetFieldValue_Exception()
throws Exception
Exceptionpublic void testGetFieldValue_ByField_Exception()
throws Exception
Exceptionpublic void testGetField_DerivedClass()
throws Exception
Exceptionpublic void testInvokeMethod_Exception()
throws Exception
Exceptionpublic void testGetAllFieldsAssinableFrom()
throws Exception
Exceptionpublic void testCreateInstance_Exception()
throws Exception
Exceptionpublic void testInvokeMethod_checkArgumentsWithPrimitives()
throws Exception
Exceptionpublic void testInvokeMethod_checkArgumentsWithObjects()
throws Exception
Exceptionpublic void testInvokeMethod_NoSuchMethod()
throws Exception
Exceptionpublic void testInvokeMethod_WithWrongParameter()
throws Exception
ExceptionCopyright © 2014. All rights reserved.