public class ReflectionUtilsTest extends AbstractDozerTest
Modifier and Type | Class and Description |
---|---|
static class |
ReflectionUtilsTest.BaseBean |
static class |
ReflectionUtilsTest.ChildBean |
class |
ReflectionUtilsTest.ClassInheritsClassX |
class |
ReflectionUtilsTest.ClassX |
static class |
ReflectionUtilsTest.GrandChild |
static interface |
ReflectionUtilsTest.HasX<X extends ReflectionUtilsTest.ClassX> |
class |
ReflectionUtilsTest.Y |
Constructor and Description |
---|
ReflectionUtilsTest() |
Modifier and Type | Method and Description |
---|---|
void |
shouldFailWhenFieldMissing() |
void |
shouldGetField() |
void |
shouldGoToSuperclass() |
void |
shouldHandleBeanWithGenericInterface() |
void |
shouldModifyAccessor() |
void |
shouldReturnBestMatch_ambigousIgonreCase() |
void |
shouldThrowNoSuchMethodFound_Missing() |
void |
shouldThrowNoSuchMethodFound_MissingNoBrackets() |
void |
shouldThrowNoSuchMethodFound_NoBrackets() |
void |
shouldThrowNoSuchMethodFound() |
void |
testFindPropertyDescriptor_InterfaceInheritance() |
void |
testGetDeepFieldHierarchy_NonDeepField() |
void |
testGetDeepFieldHierarchy_NotExists() |
void |
testGetInterfacePropertyDescriptors() |
void |
testGetMethod_NotFound() |
void |
testGetNonVoidSetterMethod() |
void |
testGetPropertyDescriptors_InterfaceInheritance() |
void |
testIllegalMethodType() |
getRandomString, setUp
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail
public void testGetDeepFieldHierarchy_NonDeepField() throws Exception
Exception
public void testGetDeepFieldHierarchy_NotExists() throws Exception
Exception
public void testGetPropertyDescriptors_InterfaceInheritance() throws Exception
Exception
public void testFindPropertyDescriptor_InterfaceInheritance() throws Exception
Exception
public void shouldReturnBestMatch_ambigousIgonreCase()
public void testGetInterfacePropertyDescriptors()
public void testIllegalMethodType()
public void testGetNonVoidSetterMethod()
public void shouldGetField()
public void shouldGoToSuperclass()
public void shouldModifyAccessor()
public void shouldFailWhenFieldMissing()
public void shouldThrowNoSuchMethodFound() throws NoSuchMethodException
NoSuchMethodException
public void shouldThrowNoSuchMethodFound_NoBrackets() throws NoSuchMethodException
NoSuchMethodException
public void shouldThrowNoSuchMethodFound_Missing() throws Exception
Exception
public void shouldThrowNoSuchMethodFound_MissingNoBrackets() throws Exception
Exception
Copyright © 2005-2014 dozer. All Rights Reserved.