Package | Description |
---|---|
org.assertj.core.api | |
org.assertj.core.internal |
Modifier and Type | Field and Description |
---|---|
protected WritableAssertionInfo |
AbstractAssert.info |
Modifier and Type | Method and Description |
---|---|
protected WritableAssertionInfo |
AbstractAssert.getWritableAssertionInfo()
Exposes the
WritableAssertionInfo used in the current assertion for better extensibility. When writing
your own assertion class, you can use the returned WritableAssertionInfo to change the error message and
still keep the description set by the assertion user. |
Modifier and Type | Method and Description |
---|---|
void |
Doubles.assertIsCloseTo(WritableAssertionInfo info,
Double actual,
double other,
Offset<Double> offset) |
void |
Dates.hasSameTimeAs(WritableAssertionInfo info,
Date actual,
Date date)
Verifies that the actual
Date is equal to the given date by comparing their time. |
Copyright © 2013-2015 AssertJ. All Rights Reserved.