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
Exception
public void testGetFieldValue_ByField_Exception() throws Exception
Exception
public void testGetField_DerivedClass() throws Exception
Exception
public void testInvokeMethod_Exception() throws Exception
Exception
public void testGetAllFieldsAssinableFrom() throws Exception
Exception
public void testCreateInstance_Exception() throws Exception
Exception
public void testInvokeMethod_checkArgumentsWithPrimitives() throws Exception
Exception
public void testInvokeMethod_checkArgumentsWithObjects() throws Exception
Exception
public void testInvokeMethod_NoSuchMethod() throws Exception
Exception
public void testInvokeMethod_WithWrongParameter() throws Exception
Exception
Copyright © 2014. All rights reserved.