Package | Description |
---|---|
org.assertj.core.internal |
Modifier and Type | Field and Description |
---|---|
protected TypeComparators |
FieldByFieldComparator.comparatorByType |
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<?>> comparatorByPropertyOrField,
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 © 2013–2018 AssertJ. All rights reserved.