Package | Description |
---|---|
org.assertj.core.api | |
org.assertj.core.internal |
Modifier and Type | Method | Description |
---|---|---|
static TypeComparators |
AbstractObjectAssert.defaultTypeComparators() |
Modifier and Type | Field | Description |
---|---|---|
protected TypeComparators |
FieldByFieldComparator.comparatorByType |
Modifier and Type | Method | 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 | Description |
---|---|
FieldByFieldComparator(Map<String,Comparator<?>> comparatorByPropertyOrField,
TypeComparators comparatorByType) |
|
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. All rights reserved.