Package | Description |
---|---|
org.assertj.db.api |
This package contains the API of assertj-db (and especially the entry point class
Assertions ). |
org.assertj.db.api.assertions |
This package contains interfaces that defines the different assertions methods.
|
org.assertj.db.api.assertions.impl |
This package contains utility classes that implements the different assertions methods.
|
org.assertj.db.type |
This package contains the classes that defines the different types used in assertj-db.
|
org.assertj.db.util |
This package contains the utility classes of assertj-db.
|
Modifier and Type | Method and Description |
---|---|
C |
AbstractColumnAssert.containsValues(DateTimeValue... expected)
Verifies that the values of a column contains date/time values.
|
C |
AbstractColumnAssert.hasValues(DateTimeValue... expected)
Verifies that the values of a column are equal to date/time values.
|
ChangeColumnAssert |
ChangeColumnAssert.hasValues(DateTimeValue expected)
Verifies that the values at the start point and the end point are equal to a date/time.
|
ChangeColumnAssert |
ChangeColumnAssert.hasValues(DateTimeValue expectedAtStartPoint,
DateTimeValue expectedAtEndPoint)
Verifies that the values at the start point and the end point are equal to a date/time for start point and another date/time for end point.
|
V |
AbstractValueAssert.isAfter(DateTimeValue dateTime)
Verifies that the value is after a date/time value.
|
E |
AbstractAssertWithValues.isAfter(DateTimeValue dateTime)
Verifies that the value is after a date/time value.
|
V |
AbstractValueAssert.isAfterOrEqualTo(DateTimeValue dateTime)
Verifies that the value is after or equal to a date/time value.
|
E |
AbstractAssertWithValues.isAfterOrEqualTo(DateTimeValue dateTime)
Verifies that the value is after or equal to a date/time value.
|
V |
AbstractValueAssert.isBefore(DateTimeValue dateTime)
Verifies that the value is before a date/time value.
|
E |
AbstractAssertWithValues.isBefore(DateTimeValue dateTime)
Verifies that the value is before a date/time value.
|
V |
AbstractValueAssert.isBeforeOrEqualTo(DateTimeValue dateTime)
Verifies that the value is before or equal to a date/time value.
|
E |
AbstractAssertWithValues.isBeforeOrEqualTo(DateTimeValue dateTime)
Verifies that the value is before or equal to a date/time value.
|
V |
AbstractValueAssert.isCloseTo(DateTimeValue expected,
DateTimeValue tolerance)
Verifies that the value is close to a date/time.
|
E |
AbstractAssertWithValues.isCloseTo(DateTimeValue expected,
DateTimeValue tolerance)
Verifies that the value is close to a date/time.
|
V |
AbstractValueAssert.isCloseTo(DateTimeValue expected,
DateValue tolerance)
Verifies that the value is close to a date/time.
|
E |
AbstractAssertWithValues.isCloseTo(DateTimeValue expected,
DateValue tolerance)
Verifies that the value is close to a date/time.
|
V |
AbstractValueAssert.isCloseTo(DateTimeValue expected,
TimeValue tolerance)
Verifies that the value is close to a date/time.
|
E |
AbstractAssertWithValues.isCloseTo(DateTimeValue expected,
TimeValue tolerance)
Verifies that the value is close to a date/time.
|
V |
AbstractValueAssert.isCloseTo(DateValue expected,
DateTimeValue tolerance)
Verifies that the value is close to a date.
|
E |
AbstractAssertWithValues.isCloseTo(DateValue expected,
DateTimeValue tolerance)
Verifies that the value is close to a date.
|
V |
AbstractValueAssert.isEqualTo(DateTimeValue expected)
Verifies that the value is equal to a date/time value.
|
E |
AbstractAssertWithValues.isEqualTo(DateTimeValue expected)
Verifies that the value is equal to a date/time value.
|
V |
AbstractValueAssert.isNotEqualTo(DateTimeValue expected)
Verifies that the value is not equal to a date/time value.
|
E |
AbstractAssertWithValues.isNotEqualTo(DateTimeValue expected)
Verifies that the value is not equal to a date/time value.
|
Modifier and Type | Method and Description |
---|---|
T |
AssertOnColumnContent.containsValues(DateTimeValue... expected)
Verifies that the values of a column contains date/time values.
|
T |
AssertOnColumnEquality.hasValues(DateTimeValue... expected)
Verifies that the values of a column are equal to date/time values.
|
T |
AssertOnColumnOfChangeEquality.hasValues(DateTimeValue expected)
Verifies that the values at the start point and the end point are equal to a date/time.
|
T |
AssertOnColumnOfChangeEquality.hasValues(DateTimeValue expectedAtStartPoint,
DateTimeValue expectedAtEndPoint)
Verifies that the values at the start point and the end point are equal to a date/time for start point and another date/time for end point.
|
T |
AssertOnValueChronology.isAfter(DateTimeValue dateTime)
Verifies that the value is after a date/time value.
|
T |
AssertOnValueChronology.isAfterOrEqualTo(DateTimeValue dateTime)
Verifies that the value is after or equal to a date/time value.
|
T |
AssertOnValueChronology.isBefore(DateTimeValue dateTime)
Verifies that the value is before a date/time value.
|
T |
AssertOnValueChronology.isBeforeOrEqualTo(DateTimeValue dateTime)
Verifies that the value is before or equal to a date/time value.
|
T |
AssertOnValueCloseness.isCloseTo(DateTimeValue expected,
DateTimeValue tolerance)
Verifies that the value is close to a date/time.
|
T |
AssertOnValueCloseness.isCloseTo(DateTimeValue expected,
DateValue tolerance)
Verifies that the value is close to a date/time.
|
T |
AssertOnValueCloseness.isCloseTo(DateTimeValue expected,
TimeValue tolerance)
Verifies that the value is close to a date/time.
|
T |
AssertOnValueCloseness.isCloseTo(DateValue expected,
DateTimeValue tolerance)
Verifies that the value is close to a date.
|
T |
AssertOnValueEquality.isEqualTo(DateTimeValue expected)
Verifies that the value is equal to a date/time value.
|
T |
AssertOnValueInequality.isNotEqualTo(DateTimeValue expected)
Verifies that the value is not equal to a date/time value.
|
Modifier and Type | Method and Description |
---|---|
static <A extends AbstractAssert<?>> |
AssertionsOnColumnContent.containsValues(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
List<Value> valuesList,
DateTimeValue... expected)
Verifies that the column contains date/time values.
|
static <A extends AbstractAssert<?>> |
AssertionsOnColumnEquality.hasValues(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
List<Value> valuesList,
DateTimeValue... expected)
Verifies that the values of a column are equal to date/time values.
|
static <A extends AbstractAssert<?>> |
AssertionsOnColumnOfChangeEquality.hasValues(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value valueAtStartPoint,
Value valueAtEndPoint,
DateTimeValue expected)
Verifies that the values at the start point and the end point are equal to a date/time.
|
static <A extends AbstractAssert<?>> |
AssertionsOnColumnOfChangeEquality.hasValues(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value valueAtStartPoint,
Value valueAtEndPoint,
DateTimeValue expectedAtStartPoint,
DateTimeValue expectedAtEndPoint)
Verifies that the values at the start point and the end point are equal to a date/time for start point and another date/time for end point.
|
static <A extends AbstractAssert<?>> |
AssertionsOnValueChronology.isAfter(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
DateTimeValue dateTime)
Verifies that the value is after a date/time value.
|
static <A extends AbstractAssert<?>> |
AssertionsOnValueChronology.isAfterOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
DateTimeValue dateTime)
Verifies that the value is after or equal to a date/time value.
|
static <A extends AbstractAssert<?>> |
AssertionsOnValueChronology.isBefore(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
DateTimeValue dateTime)
Verifies that the value is before a date/time value.
|
static <A extends AbstractAssert<?>> |
AssertionsOnValueChronology.isBeforeOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
DateTimeValue dateTime)
Verifies that the value is before or equal to a date/time value.
|
static <A extends AbstractAssert<?>> |
AssertionsOnValueCloseness.isCloseTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
DateTimeValue expected,
DateTimeValue tolerance)
Verifies that the value is close to a date/time.
|
static <A extends AbstractAssert<?>> |
AssertionsOnValueCloseness.isCloseTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
DateTimeValue expected,
DateValue tolerance)
Verifies that the value is close to a date/time.
|
static <A extends AbstractAssert<?>> |
AssertionsOnValueCloseness.isCloseTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
DateTimeValue expected,
TimeValue tolerance)
Verifies that the value is close to a date/time.
|
static <A extends AbstractAssert<?>> |
AssertionsOnValueCloseness.isCloseTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
DateValue expected,
DateTimeValue tolerance)
Verifies that the value is close to a date.
|
static <A extends AbstractAssert<?>> |
AssertionsOnValueEquality.isEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
DateTimeValue expected)
Verifies that the value is equal to a date/time value.
|
static <A extends AbstractAssert<?>> |
AssertionsOnValueInequality.isNotEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
DateTimeValue expected)
Verifies that the value is not equal to a date/time value.
|
Modifier and Type | Method and Description |
---|---|
static DateTimeValue |
DateTimeValue.from(Calendar calendar)
Makes an instance of date/time value from a
Calendar . |
static DateTimeValue |
DateTimeValue.from(LocalDateTime localDateTime)
Makes an instance of date/time value from a
LocalDateTime . |
static DateTimeValue |
DateTimeValue.from(Timestamp timestamp)
Makes an instance of date/time value from a
Timestamp . |
DateTimeValue |
DateValue.move(DateTimeValue dateTime)
Moves the date with the value in parameter.
|
DateTimeValue |
DateTimeValue.move(DateTimeValue dateTime)
Moves the date/time with the value in parameter.
|
DateTimeValue |
DateTimeValue.move(DateValue date)
Moves the date/time with the value in parameter.
|
DateTimeValue |
DateValue.move(TimeValue time)
Moves the date with the value in parameter.
|
DateTimeValue |
DateTimeValue.move(TimeValue time)
Moves the date/time with the value in parameter.
|
static DateTimeValue |
DateTimeValue.now()
Makes an instance of the date/time value corresponding to now.
|
static DateTimeValue |
DateTimeValue.of(DateValue date)
Makes an instance of date/time value from a date with time at 00:00AM.
|
static DateTimeValue |
DateTimeValue.of(DateValue date,
TimeValue time)
Makes an instance of date/time value from a date and a time.
|
static DateTimeValue |
DateTimeValue.parse(String dateTime)
Makes an instance of date/time value from a
String in yyyy-mm-dd , yyyy-mm-ddThh:mm ,
yyyy-mm-ddThh:mm:ss or yyyy-mm-ddThh:mm:ss.nnnnnnnnn format. |
DateTimeValue |
DateTimeValue.reverse()
Returns the reverse of the date/time.
|
Modifier and Type | Method and Description |
---|---|
int |
DateTimeValue.compareTo(DateTimeValue other) |
boolean |
DateTimeValue.isAfter(DateTimeValue dateTime)
Returns if this date/time value is after the date/time value in parameter.
|
boolean |
DateTimeValue.isBefore(DateTimeValue dateTime)
Returns if this date/time value is before the date/time value in parameter.
|
DateTimeValue |
DateValue.move(DateTimeValue dateTime)
Moves the date with the value in parameter.
|
DateTimeValue |
DateTimeValue.move(DateTimeValue dateTime)
Moves the date/time with the value in parameter.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Values.areClose(Value value,
DateTimeValue expected,
DateTimeValue tolerance)
Returns if the value is close to the
DateTimeValue in parameter with the tolerance in parameter. |
static boolean |
Values.areClose(Value value,
DateTimeValue expected,
DateValue tolerance)
Returns if the value is close to the
DateTimeValue in parameter with the tolerance in parameter. |
static boolean |
Values.areClose(Value value,
DateTimeValue expected,
TimeValue tolerance)
Returns if the value is close to the
DateTimeValue in parameter with the tolerance in parameter. |
static boolean |
Values.areClose(Value value,
DateValue expected,
DateTimeValue tolerance)
Returns if the value is close to the
DateValue in parameter with the tolerance in parameter. |
static boolean |
Values.areEqual(Value value,
DateTimeValue expected)
Returns if the value is equal to the
DateTimeValue in parameter. |
Copyright © 2020 AssertJ. All rights reserved.