Class AssertionsOnColumnOfChangeEquality
java.lang.Object
org.assertj.db.api.assertions.impl.AssertionsOnColumnOfChangeEquality
Implements the assertion methods on the equality of a column of a change.
- Author:
- Régis Pouiller, Otoniel Isidoro
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic <A extends AbstractAssert<?>>
AhasValues
(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, byte[] expected) Verifies that the values at the start point and the end point are equal to bytes.static <A extends AbstractAssert<?>>
AhasValues
(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, byte[] expectedAtStartPoint, byte[] expectedAtEndPoint) Verifies that the values at the start point and the end point are equal to bytes for start point and other bytes for end point.static <A extends AbstractAssert<?>>
AhasValues
(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, Boolean expected) Verifies that the values at the start point and the end point are equal to a boolean.static <A extends AbstractAssert<?>>
AhasValues
(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, Boolean expectedAtStartPoint, Boolean expectedAtEndPoint) Verifies that the values at the start point and the end point are equal to a boolean for start point and another boolean for end point.static <A extends AbstractAssert<?>>
AhasValues
(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, Character expected) Verifies that the values at the start point and the end point are equal to a character.static <A extends AbstractAssert<?>>
AhasValues
(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, Character expectedAtStartPoint, Character expectedAtEndPoint) Verifies that the values at the start point and the end point are equal to a character for start point and another character for end point.static <A extends AbstractAssert<?>>
AhasValues
(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, Number expected) Verifies that the values at the start point and the end point are equal to a number.static <A extends AbstractAssert<?>>
AhasValues
(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, Number expectedAtStartPoint, Number expectedAtEndPoint) Verifies that the values at the start point and the end point are equal to a number for start point and another number for end point.static <A extends AbstractAssert<?>>
AhasValues
(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, Object expected) Verifies that the values at the start point and the end point are equal to a object.static <A extends AbstractAssert<?>>
AhasValues
(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, Object expectedAtStartPoint, Object expectedAtEndPoint) Verifies that the values at the start point and the end point are equal to a boolean for start point and another object for end point.static <A extends AbstractAssert<?>>
AhasValues
(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, String expected) Verifies that the values at the start point and the end point are equal to a text.static <A extends AbstractAssert<?>>
AhasValues
(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, String expectedAtStartPoint, String expectedAtEndPoint) Verifies that the values at the start point and the end point are equal to a text for start point and another text for end point.static <A extends AbstractAssert<?>>
AhasValues
(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, UUID expected) Verifies that the values at the start point and the end point are equal to an UUID.static <A extends AbstractAssert<?>>
AhasValues
(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, UUID expectedAtStartPoint, UUID expectedAtEndPoint) Verifies that the values at the start point and the end point are equal to an UUID for start point and another UUID for end point.static <A extends AbstractAssert<?>>
AhasValues
(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<?>>
AhasValues
(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<?>>
AhasValues
(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, DateValue expected) Verifies that the values at the start point and the end point are equal to a date.static <A extends AbstractAssert<?>>
AhasValues
(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, DateValue expectedAtStartPoint, DateValue expectedAtEndPoint) Verifies that the values at the start point and the end point are equal to a date for start point and another date for end point.static <A extends AbstractAssert<?>>
AhasValues
(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<?>>
AhasValues
(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.
-
Method Details
-
hasValues
public static <A extends AbstractAssert<?>> A hasValues(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, Object expected) Verifies that the values at the start point and the end point are equal to a object.- Type Parameters:
A
- The type of the assertion which call this method.- Parameters:
assertion
- The assertion which call this method.info
- Writable information about an assertion.valueAtStartPoint
- The value at start point.valueAtEndPoint
- The value at end point.expected
- The object value.- Returns:
this
assertion object.- Throws:
AssertionError
- If the values at start point and at end point are not equal to the object.
-
hasValues
public static <A extends AbstractAssert<?>> A hasValues(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, Object expectedAtStartPoint, Object expectedAtEndPoint) Verifies that the values at the start point and the end point are equal to a boolean for start point and another object for end point.- Type Parameters:
A
- The type of the assertion which call this method.- Parameters:
assertion
- The assertion which call this method.info
- Writable information about an assertion.valueAtStartPoint
- The value at start point.valueAtEndPoint
- The value at end point.expectedAtStartPoint
- The expected object at start point.expectedAtEndPoint
- The expected object at end point.- Returns:
this
assertion object.- Throws:
AssertionError
- If the values at start point and at end point are not equal to the corresponding objects.
-
hasValues
public static <A extends AbstractAssert<?>> A hasValues(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, Boolean expected) Verifies that the values at the start point and the end point are equal to a boolean.- Type Parameters:
A
- The type of the assertion which call this method.- Parameters:
assertion
- The assertion which call this method.info
- Writable information about an assertion.valueAtStartPoint
- The value at start point.valueAtEndPoint
- The value at end point.expected
- The boolean value.- Returns:
this
assertion object.- Throws:
AssertionError
- If the values at start point and at end point are not equal to the boolean.
-
hasValues
public static <A extends AbstractAssert<?>> A hasValues(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, Boolean expectedAtStartPoint, Boolean expectedAtEndPoint) Verifies that the values at the start point and the end point are equal to a boolean for start point and another boolean for end point.- Type Parameters:
A
- The type of the assertion which call this method.- Parameters:
assertion
- The assertion which call this method.info
- Writable information about an assertion.valueAtStartPoint
- The value at start point.valueAtEndPoint
- The value at end point.expectedAtStartPoint
- The expected boolean at start point.expectedAtEndPoint
- The expected boolean at end point.- Returns:
this
assertion object.- Throws:
AssertionError
- If the values at start point and at end point are not equal to the corresponding booleans.
-
hasValues
public static <A extends AbstractAssert<?>> A hasValues(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, Number expected) Verifies that the values at the start point and the end point are equal to a number.- Type Parameters:
A
- The type of the assertion which call this method.- Parameters:
assertion
- The assertion which call this method.info
- Writable information about an assertion.valueAtStartPoint
- The value at start point.valueAtEndPoint
- The value at end point.expected
- The number value.- Returns:
this
assertion object.- Throws:
AssertionError
- If the values at start point and at end point are not equal to the number.
-
hasValues
public static <A extends AbstractAssert<?>> A hasValues(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, Number expectedAtStartPoint, Number expectedAtEndPoint) Verifies that the values at the start point and the end point are equal to a number for start point and another number for end point.- Type Parameters:
A
- The type of the assertion which call this method.- Parameters:
assertion
- The assertion which call this method.info
- Writable information about an assertion.valueAtStartPoint
- The value at start point.valueAtEndPoint
- The value at end point.expectedAtStartPoint
- The expected number at start point.expectedAtEndPoint
- The expected number at end point.- Returns:
this
assertion object.- Throws:
AssertionError
- If the values at start point and at end point are not equal to the corresponding numbers.
-
hasValues
public static <A extends AbstractAssert<?>> A hasValues(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, byte[] expected) Verifies that the values at the start point and the end point are equal to bytes.- Type Parameters:
A
- The type of the assertion which call this method.- Parameters:
assertion
- The assertion which call this method.info
- Writable information about an assertion.valueAtStartPoint
- The value at start point.valueAtEndPoint
- The value at end point.expected
- The bytes value.- Returns:
this
assertion object.- Throws:
AssertionError
- If the values at start point and at end point are not equal to the bytes.
-
hasValues
public static <A extends AbstractAssert<?>> A hasValues(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, byte[] expectedAtStartPoint, byte[] expectedAtEndPoint) Verifies that the values at the start point and the end point are equal to bytes for start point and other bytes for end point.- Type Parameters:
A
- The type of the assertion which call this method.- Parameters:
assertion
- The assertion which call this method.info
- Writable information about an assertion.valueAtStartPoint
- The value at start point.valueAtEndPoint
- The value at end point.expectedAtStartPoint
- The expected bytes at start point.expectedAtEndPoint
- The expected bytes at end point.- Returns:
this
assertion object.- Throws:
AssertionError
- If the values at start point and at end point are not equal to the corresponding bytes.
-
hasValues
public static <A extends AbstractAssert<?>> A hasValues(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, String expected) Verifies that the values at the start point and the end point are equal to a text.- Type Parameters:
A
- The type of the assertion which call this method.- Parameters:
assertion
- The assertion which call this method.info
- Writable information about an assertion.valueAtStartPoint
- The value at start point.valueAtEndPoint
- The value at end point.expected
- The text value.- Returns:
this
assertion object.- Throws:
AssertionError
- If the values at start point and at end point are not equal to the text.
-
hasValues
public static <A extends AbstractAssert<?>> A hasValues(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, String expectedAtStartPoint, String expectedAtEndPoint) Verifies that the values at the start point and the end point are equal to a text for start point and another text for end point.- Type Parameters:
A
- The type of the assertion which call this method.- Parameters:
assertion
- The assertion which call this method.info
- Writable information about an assertion.valueAtStartPoint
- The value at start point.valueAtEndPoint
- The value at end point.expectedAtStartPoint
- The expected text at start point.expectedAtEndPoint
- The expected text at end point.- Returns:
this
assertion object.- Throws:
AssertionError
- If the values at start point and at end point are not equal to the corresponding texts.
-
hasValues
public static <A extends AbstractAssert<?>> A hasValues(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, Character expected) Verifies that the values at the start point and the end point are equal to a character.- Type Parameters:
A
- The type of the assertion which call this method.- Parameters:
assertion
- The assertion which call this method.info
- Writable information about an assertion.valueAtStartPoint
- The value at start point.valueAtEndPoint
- The value at end point.expected
- The character value.- Returns:
this
assertion object.- Throws:
AssertionError
- If the values at start point and at end point are not equal to the character.- Since:
- 1.2.0
-
hasValues
public static <A extends AbstractAssert<?>> A hasValues(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, Character expectedAtStartPoint, Character expectedAtEndPoint) Verifies that the values at the start point and the end point are equal to a character for start point and another character for end point.- Type Parameters:
A
- The type of the assertion which call this method.- Parameters:
assertion
- The assertion which call this method.info
- Writable information about an assertion.valueAtStartPoint
- The value at start point.valueAtEndPoint
- The value at end point.expectedAtStartPoint
- The expected character at start point.expectedAtEndPoint
- The expected character at end point.- Returns:
this
assertion object.- Throws:
AssertionError
- If the values at start point and at end point are not equal to the corresponding characters.- Since:
- 1.2.0
-
hasValues
public static <A extends AbstractAssert<?>> A hasValues(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, DateValue expected) Verifies that the values at the start point and the end point are equal to a date.- Type Parameters:
A
- The type of the assertion which call this method.- Parameters:
assertion
- The assertion which call this method.info
- Writable information about an assertion.valueAtStartPoint
- The value at start point.valueAtEndPoint
- The value at end point.expected
- The date value.- Returns:
this
assertion object.- Throws:
AssertionError
- If the values at start point and at end point are not equal to the date.
-
hasValues
public static <A extends AbstractAssert<?>> A hasValues(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, DateValue expectedAtStartPoint, DateValue expectedAtEndPoint) Verifies that the values at the start point and the end point are equal to a date for start point and another date for end point.- Type Parameters:
A
- The type of the assertion which call this method.- Parameters:
assertion
- The assertion which call this method.info
- Writable information about an assertion.valueAtStartPoint
- The value at start point.valueAtEndPoint
- The value at end point.expectedAtStartPoint
- The expected date at start point.expectedAtEndPoint
- The expected date at end point.- Returns:
this
assertion object.- Throws:
AssertionError
- If the values at start point and at end point are not equal to the corresponding dates.
-
hasValues
public static <A extends AbstractAssert<?>> A 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.- Type Parameters:
A
- The type of the assertion which call this method.- Parameters:
assertion
- The assertion which call this method.info
- Writable information about an assertion.valueAtStartPoint
- The value at start point.valueAtEndPoint
- The value at end point.expected
- The time value.- Returns:
this
assertion object.- Throws:
AssertionError
- If the values at start point and at end point are not equal to the time.
-
hasValues
public static <A extends AbstractAssert<?>> A 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.- Type Parameters:
A
- The type of the assertion which call this method.- Parameters:
assertion
- The assertion which call this method.info
- Writable information about an assertion.valueAtStartPoint
- The value at start point.valueAtEndPoint
- The value at end point.expectedAtStartPoint
- The expected time at start point.expectedAtEndPoint
- The expected time at end point.- Returns:
this
assertion object.- Throws:
AssertionError
- If the values at start point and at end point are not equal to the corresponding times.
-
hasValues
public static <A extends AbstractAssert<?>> A 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.- Type Parameters:
A
- The type of the assertion which call this method.- Parameters:
assertion
- The assertion which call this method.info
- Writable information about an assertion.valueAtStartPoint
- The value at start point.valueAtEndPoint
- The value at end point.expected
- The date/time value.- Returns:
this
assertion object.- Throws:
AssertionError
- If the values at start point and at end point are not equal to the date/time.
-
hasValues
public static <A extends AbstractAssert<?>> A 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.- Type Parameters:
A
- The type of the assertion which call this method.- Parameters:
assertion
- The assertion which call this method.info
- Writable information about an assertion.valueAtStartPoint
- The value at start point.valueAtEndPoint
- The value at end point.expectedAtStartPoint
- The expected date/time at start point.expectedAtEndPoint
- The expected date/time at end point.- Returns:
this
assertion object.- Throws:
AssertionError
- If the values at start point and at end point are not equal to the corresponding dates/times.
-
hasValues
public static <A extends AbstractAssert<?>> A hasValues(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, UUID expected) Verifies that the values at the start point and the end point are equal to an UUID.- Type Parameters:
A
- The type of the assertion which call this method.- Parameters:
assertion
- The assertion which call this method.info
- Writable information about an assertion.valueAtStartPoint
- The value at start point.valueAtEndPoint
- The value at end point.expected
- The UUID value.- Returns:
this
assertion object.- Throws:
AssertionError
- If the values at start point and at end point are not equal to the UUID.- Since:
- 1.1.0
-
hasValues
public static <A extends AbstractAssert<?>> A hasValues(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value valueAtStartPoint, Value valueAtEndPoint, UUID expectedAtStartPoint, UUID expectedAtEndPoint) Verifies that the values at the start point and the end point are equal to an UUID for start point and another UUID for end point.- Type Parameters:
A
- The type of the assertion which call this method.- Parameters:
assertion
- The assertion which call this method.info
- Writable information about an assertion.valueAtStartPoint
- The value at start point.valueAtEndPoint
- The value at end point.expectedAtStartPoint
- The expected UUID at start point.expectedAtEndPoint
- The expected UUID at end point.- Returns:
this
assertion object.- Throws:
AssertionError
- If the values at start point and at end point are not equal to the corresponding UUIDs.- Since:
- 1.1.0
-