| Package | Description |
|---|---|
| org.unitils.reflectionassert |
| Modifier and Type | Method and Description |
|---|---|
static ReflectionComparatorMode |
ReflectionComparatorMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReflectionComparatorMode[] |
ReflectionComparatorMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ReflectionAssert.assertPropertyReflectionEquals(String propertyName,
Collection<?> expectedPropertyValues,
Collection<?> actualObjects,
ReflectionComparatorMode... modes)
Asserts that a property of all objects in the collection are equal to the given values.
|
static void |
ReflectionAssert.assertPropertyReflectionEquals(String propertyName,
Object expectedPropertyValue,
Object actualObject,
ReflectionComparatorMode... modes)
Asserts that the value of a property of an object is equal to the given value.
|
static void |
ReflectionAssert.assertPropertyReflectionEquals(String message,
String propertyName,
Collection<?> expectedPropertyValues,
Collection<?> actualObjects,
ReflectionComparatorMode... modes)
Asserts that a property of all objects in the collection are equal to the given values.
|
static void |
ReflectionAssert.assertPropertyReflectionEquals(String message,
String propertyName,
Object expectedPropertyValue,
Object actualObject,
ReflectionComparatorMode... modes)
Asserts that the value of a property of an object is equal to the given value.
|
static void |
ReflectionAssert.assertReflectionEquals(Object expected,
Object actual,
ReflectionComparatorMode... modes)
Asserts that two objects are equal.
|
static void |
ReflectionAssert.assertReflectionEquals(String message,
Object expected,
Object actual,
ReflectionComparatorMode... modes)
Asserts that two objects are equal.
|
static ReflectionComparator |
ReflectionComparatorFactory.createRefectionComparator(ReflectionComparatorMode... modes)
Creates a reflection comparator for the given modes.
|
| Modifier and Type | Method and Description |
|---|---|
protected static List<Comparator> |
ReflectionComparatorFactory.getComparatorChain(Set<ReflectionComparatorMode> modes)
Creates a comparator chain for the given modes.
|
Copyright © 2016. All Rights Reserved.