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(TimeValue... expected)
Verifies that the values of a column contains time values.
|
C |
AbstractColumnAssert.hasValues(TimeValue... expected)
Verifies that the values of a column are equal to time values.
|
ChangeColumnAssert |
ChangeColumnAssert.hasValues(TimeValue expected)
Verifies that the values at the start point and the end point are equal to a time.
|
ChangeColumnAssert |
ChangeColumnAssert.hasValues(TimeValue expectedAtStartPoint,
TimeValue expectedAtEndPoint)
Verifies that the values at the start point and the end point are equal to a time for start point and another time for end point.
|
V |
AbstractValueAssert.isAfter(TimeValue time)
Verifies that the value is after a time value.
|
E |
AbstractAssertWithValues.isAfter(TimeValue time)
Verifies that the value is after a time value.
|
V |
AbstractValueAssert.isAfterOrEqualTo(TimeValue time)
Verifies that the value is after or equal to a time value.
|
E |
AbstractAssertWithValues.isAfterOrEqualTo(TimeValue time)
Verifies that the value is after or equal to a time value.
|
V |
AbstractValueAssert.isBefore(TimeValue time)
Verifies that the value is before a time value.
|
E |
AbstractAssertWithValues.isBefore(TimeValue time)
Verifies that the value is before a time value.
|
V |
AbstractValueAssert.isBeforeOrEqualTo(TimeValue time)
Verifies that the value is before or equal to a time value.
|
E |
AbstractAssertWithValues.isBeforeOrEqualTo(TimeValue time)
Verifies that the value is before or equal to a time value.
|
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,
TimeValue tolerance)
Verifies that the value is close to a date.
|
E |
AbstractAssertWithValues.isCloseTo(DateValue expected,
TimeValue tolerance)
Verifies that the value is close to a date.
|
V |
AbstractValueAssert.isCloseTo(TimeValue expected,
TimeValue tolerance)
Verifies that the value is close to a time.
|
E |
AbstractAssertWithValues.isCloseTo(TimeValue expected,
TimeValue tolerance)
Verifies that the value is close to a time.
|
V |
AbstractValueAssert.isEqualTo(TimeValue expected)
Verifies that the value is equal to a time value.
|
E |
AbstractAssertWithValues.isEqualTo(TimeValue expected)
Verifies that the value is equal to a time value.
|
V |
AbstractValueAssert.isNotEqualTo(TimeValue expected)
Verifies that the value is not equal to a time value.
|
E |
AbstractAssertWithValues.isNotEqualTo(TimeValue expected)
Verifies that the value is not equal to a time value.
|
Modifier and Type | Method and Description |
---|---|
T |
AssertOnColumnContent.containsValues(TimeValue... expected)
Verifies that the values of a column contains time values.
|
T |
AssertOnColumnEquality.hasValues(TimeValue... expected)
Verifies that the values of a column are equal to time values.
|
T |
AssertOnColumnOfChangeEquality.hasValues(TimeValue expected)
Verifies that the values at the start point and the end point are equal to a time.
|
T |
AssertOnColumnOfChangeEquality.hasValues(TimeValue expectedAtStartPoint,
TimeValue expectedAtEndPoint)
Verifies that the values at the start point and the end point are equal to a time for start point and another time for end point.
|
T |
AssertOnValueChronology.isAfter(TimeValue time)
Verifies that the value is after a time value.
|
T |
AssertOnValueChronology.isAfterOrEqualTo(TimeValue time)
Verifies that the value is after or equal to a time value.
|
T |
AssertOnValueChronology.isBefore(TimeValue time)
Verifies that the value is before a time value.
|
T |
AssertOnValueChronology.isBeforeOrEqualTo(TimeValue time)
Verifies that the value is before or equal to a time value.
|
T |
AssertOnValueCloseness.isCloseTo(DateTimeValue expected,
TimeValue tolerance)
Verifies that the value is close to a date/time.
|
T |
AssertOnValueCloseness.isCloseTo(DateValue expected,
TimeValue tolerance)
Verifies that the value is close to a date.
|
T |
AssertOnValueCloseness.isCloseTo(TimeValue expected,
TimeValue tolerance)
Verifies that the value is close to a time.
|
T |
AssertOnValueEquality.isEqualTo(TimeValue expected)
Verifies that the value is equal to a time value.
|
T |
AssertOnValueInequality.isNotEqualTo(TimeValue expected)
Verifies that the value is not equal to a 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,
TimeValue... expected)
Verifies that the column contains time values.
|
static <A extends AbstractAssert<?>> |
AssertionsOnColumnEquality.hasValues(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
List<Value> valuesList,
TimeValue... expected)
Verifies that the values of a column are equal to time values.
|
static <A extends AbstractAssert<?>> |
AssertionsOnColumnOfChangeEquality.hasValues(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value valueAtStartPoint,
Value valueAtEndPoint,
TimeValue expected)
Verifies that the values at the start point and the end point are equal to a time.
|
static <A extends AbstractAssert<?>> |
AssertionsOnColumnOfChangeEquality.hasValues(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value valueAtStartPoint,
Value valueAtEndPoint,
TimeValue expectedAtStartPoint,
TimeValue expectedAtEndPoint)
Verifies that the values at the start point and the end point are equal to a time for start point and another time for end point.
|
static <A extends AbstractAssert<?>> |
AssertionsOnValueChronology.isAfter(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
TimeValue time)
Verifies that the value is after a time value.
|
static <A extends AbstractAssert<?>> |
AssertionsOnValueChronology.isAfterOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
TimeValue time)
Verifies that the value is after or equal to a time value.
|
static <A extends AbstractAssert<?>> |
AssertionsOnValueChronology.isBefore(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
TimeValue time)
Verifies that the value is before a time value.
|
static <A extends AbstractAssert<?>> |
AssertionsOnValueChronology.isBeforeOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
TimeValue time)
Verifies that the value is before or equal to a time value.
|
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,
TimeValue tolerance)
Verifies that the value is close to a date.
|
static <A extends AbstractAssert<?>> |
AssertionsOnValueCloseness.isCloseTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
TimeValue expected,
TimeValue tolerance)
Verifies that the value is close to a time.
|
static <A extends AbstractAssert<?>> |
AssertionsOnValueEquality.isEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
TimeValue expected)
Verifies that the value is equal to a time value.
|
static <A extends AbstractAssert<?>> |
AssertionsOnValueInequality.isNotEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
TimeValue expected)
Verifies that the value is not equal to a time value.
|
Modifier and Type | Method and Description |
---|---|
static TimeValue |
TimeValue.from(Calendar calendar)
Makes an instance of time value from a
Calendar . |
static TimeValue |
TimeValue.from(LocalTime localTime)
Makes an instance of time value from a
LocalTime . |
static TimeValue |
TimeValue.from(Time time)
Makes an instance of time value from a
Time . |
TimeValue |
DateTimeValue.getTime()
Returns the time.
|
TimeValue |
TimeValue.move(TimeValue time)
Moves the time with the value in parameter.
|
static TimeValue |
TimeValue.now()
Makes an instance of the time value corresponding to now.
|
static TimeValue |
TimeValue.of(int hours,
int minutes)
Makes an instance of time value from a hours and minutes.
|
static TimeValue |
TimeValue.of(int hours,
int minutes,
int seconds)
Makes an instance of time value from a hours, minutes and seconds.
|
static TimeValue |
TimeValue.of(int hours,
int minutes,
int seconds,
int nanoSeconds)
Makes an instance of time value from a hours, minutes, seconds and nanoseconds.
|
static TimeValue |
TimeValue.parse(String time)
Makes an instance of time value from a
String in hh:mm , hh:mm:ss or
hh:mm:ss.nnnnnnnnn format. |
TimeValue |
TimeValue.reverse()
Returns the reverse of the time.
|
Modifier and Type | Method and Description |
---|---|
int |
TimeValue.compareTo(TimeValue other) |
boolean |
TimeValue.isAfter(TimeValue time)
Returns if this time value is after the time value in parameter.
|
boolean |
TimeValue.isBefore(TimeValue time)
Returns if this time value is before the time value in parameter.
|
DateTimeValue |
DateValue.move(TimeValue time)
Moves the date with the value in parameter.
|
TimeValue |
TimeValue.move(TimeValue time)
Moves the time with the value in parameter.
|
DateTimeValue |
DateTimeValue.move(TimeValue time)
Moves the date/time with the value in parameter.
|
static DateTimeValue |
DateTimeValue.of(DateValue date,
TimeValue time)
Makes an instance of date/time value from a date and a time.
|
Constructor and Description |
---|
DateTimeValue(DateValue date,
TimeValue time)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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,
TimeValue tolerance)
Returns if the value is close to the
DateValue in parameter with the tolerance in parameter. |
static boolean |
Values.areClose(Value value,
TimeValue expected,
TimeValue tolerance)
Returns if the value is close to the
TimeValue in parameter with the tolerance in parameter. |
static boolean |
Values.areEqual(Value value,
TimeValue expected)
Returns if the value is equal to the
TimeValue in parameter. |
Copyright © 2020 AssertJ. All rights reserved.