Package | Description |
---|---|
org.assertj.core.api | |
org.assertj.core.api.recursive.comparison | |
org.assertj.core.internal |
Modifier and Type | Method and Description |
---|---|
protected TypeComparators |
AtomicReferenceArrayAssert.getComparatorsByType() |
protected TypeComparators |
AbstractIterableAssert.getComparatorsByType() |
protected TypeComparators |
AbstractObjectAssert.getComparatorsByType() |
protected TypeComparators |
AbstractObjectArrayAssert.getComparatorsByType() |
protected TypeComparators |
AtomicReferenceArrayAssert.getComparatorsForElementPropertyOrFieldTypes() |
protected TypeComparators |
AbstractIterableAssert.getComparatorsForElementPropertyOrFieldTypes() |
protected TypeComparators |
AbstractObjectArrayAssert.getComparatorsForElementPropertyOrFieldTypes() |
Modifier and Type | Method and Description |
---|---|
TypeComparators |
RecursiveComparisonConfiguration.getTypeComparators() |
Modifier and Type | Field and Description |
---|---|
protected TypeComparators |
FieldByFieldComparator.comparatorsByType |
Modifier and Type | Method and Description |
---|---|
static TypeComparators |
TypeComparators.defaultTypeComparators() |
Modifier and Type | Method and Description |
---|---|
boolean |
Objects.areEqualToComparingOnlyGivenFields(Object actual,
Object other,
Map<String,Comparator<?>> comparatorByPropertyOrField,
TypeComparators comparatorByType,
String... fields) |
boolean |
Objects.areEqualToIgnoringGivenFields(Object actual,
Object other,
Map<String,Comparator<?>> comparatorByPropertyOrField,
TypeComparators comparatorByType,
String... fields) |
<A> void |
Objects.assertIsEqualToComparingFieldByFieldRecursively(AssertionInfo info,
Object actual,
Object other,
Map<String,Comparator<?>> comparatorByPropertyOrField,
TypeComparators comparatorByType)
Assert that the given object is "deeply" equals to other by comparing all fields recursively.
|
<A> void |
Objects.assertIsEqualToComparingOnlyGivenFields(AssertionInfo info,
A actual,
A other,
Map<String,Comparator<?>> comparatorByPropertyOrField,
TypeComparators comparatorByType,
String... fields)
Assert that the given object is lenient equals to other object by comparing given fields value only.
|
<A> void |
Objects.assertIsEqualToIgnoringGivenFields(AssertionInfo info,
A actual,
A other,
Map<String,Comparator<?>> comparatorByPropertyOrField,
TypeComparators comparatorByType,
String... fields)
Assert that the given object is lenient equals to the other by comparing all fields (including inherited fields)
unless given ignored ones.
|
<A> void |
Objects.assertIsEqualToIgnoringNullFields(AssertionInfo info,
A actual,
A other,
Map<String,Comparator<?>> comparatorByPropertyOrField,
TypeComparators comparatorByType)
Assert that the given object is lenient equals by ignoring null fields value on other object (including inherited
fields).
|
static List<DeepDifference.Difference> |
DeepDifference.determineDifferences(Object a,
Object b,
Map<String,Comparator<?>> comparatorByPropertyOrField,
TypeComparators comparatorByType)
Compare two objects for differences by doing a 'deep' comparison.
|
Constructor and Description |
---|
ExtendedByTypesComparator(Comparator<Object> comparator,
TypeComparators comparatorsByType) |
ExtendedByTypesComparator(TypeComparators comparatorsByType) |
FieldByFieldComparator(Map<String,Comparator<?>> comparatorsByPropertyOrField,
TypeComparators typeComparators) |
IgnoringFieldsComparator(Map<String,Comparator<?>> comparatorByPropertyOrField,
TypeComparators comparatorByType,
String... fields) |
OnFieldsComparator(Map<String,Comparator<?>> comparatorByPropertyOrField,
TypeComparators comparatorByType,
String... fields) |
RecursiveFieldByFieldComparator(Map<String,Comparator<?>> comparatorByPropertyOrField,
TypeComparators comparatorByType) |
Copyright © 2014–2019 AssertJ. All rights reserved.