Package org.assertj.db.api
Class ChangeRowValueAssert
java.lang.Object
org.assertj.db.global.AbstractElement<ChangeRowValueAssert>
org.assertj.db.api.AbstractAssert<ChangeRowValueAssert>
org.assertj.db.api.AbstractAssertWithOrigin<ChangeRowValueAssert,ChangeRowAssert>
org.assertj.db.api.AbstractAssertWithOriginWithChanges<ChangeRowValueAssert,ChangeRowAssert>
org.assertj.db.api.AbstractAssertWithOriginWithColumnsAndRowsFromChange<ChangeRowValueAssert,ChangeRowAssert>
org.assertj.db.api.AbstractAssertWithValues<ChangeRowValueAssert,ChangeRowAssert>
org.assertj.db.api.ChangeRowValueAssert
- All Implemented Interfaces:
org.assertj.core.api.Descriptable<ChangeRowValueAssert>
,AssertOnColumnName<ChangeRowValueAssert>
,AssertOnValueChronology<ChangeRowValueAssert>
,AssertOnValueClass<ChangeRowValueAssert>
,AssertOnValueCloseness<ChangeRowValueAssert>
,AssertOnValueComparison<ChangeRowValueAssert>
,AssertOnValueCondition<ChangeRowValueAssert>
,AssertOnValueEquality<ChangeRowValueAssert>
,AssertOnValueInequality<ChangeRowValueAssert>
,AssertOnValueNullity<ChangeRowValueAssert>
,AssertOnValueType<ChangeRowValueAssert>
,Element
,ValueElement
,Navigation
,ToChange<ChangeAssert>
,ToChanges<ChangesAssert>
,ToColumn<ChangeColumnAssert>
,ToColumnFromChange<ChangeColumnAssert>
,ToRowFromChange<ChangeRowAssert>
,ToValue<ChangeRowValueAssert>
,ToValueFromRow<ChangeRowValueAssert>
public class ChangeRowValueAssert
extends AbstractAssertWithValues<ChangeRowValueAssert,ChangeRowAssert>
implements ToValue<ChangeRowValueAssert>, ToValueFromRow<ChangeRowValueAssert>, AssertOnColumnName<ChangeRowValueAssert>
Assertion methods for a value of a
Row
of a Change
.- Author:
- Régis Pouiller
-
Field Summary
Fields inherited from class org.assertj.db.api.AbstractAssertWithValues
value
Fields inherited from class org.assertj.db.api.AbstractAssertWithOrigin
origin
Fields inherited from class org.assertj.db.global.AbstractElement
info, myself
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhasColumnName
(String columnName) Verifies that the name of a column is equal to the parameter.Returns to level of assertion methods on aRow
.value()
Returns assertion methods on the next value in the list of values.value
(int index) Returns assertion methods on the value at theindex
in parameter.Returns assertion methods on the value corresponding to the column name in parameter.Methods inherited from class org.assertj.db.api.AbstractAssertWithValues
doesNotHave, has, is, isAfter, isAfter, isAfter, isAfter, isAfter, isAfter, isAfter, isAfterOrEqualTo, isAfterOrEqualTo, isAfterOrEqualTo, isAfterOrEqualTo, isAfterOrEqualTo, isAfterOrEqualTo, isAfterOrEqualTo, isBefore, isBefore, isBefore, isBefore, isBefore, isBefore, isBefore, isBeforeOrEqualTo, isBeforeOrEqualTo, isBeforeOrEqualTo, isBeforeOrEqualTo, isBeforeOrEqualTo, isBeforeOrEqualTo, isBeforeOrEqualTo, isBoolean, isBytes, isCloseTo, isCloseTo, isCloseTo, isCloseTo, isCloseTo, isCloseTo, isCloseTo, isCloseTo, isDate, isDateTime, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isFalse, isGreaterThan, isGreaterThanOrEqualTo, isLessThan, isLessThanOrEqualTo, isNot, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNotZero, isNull, isNumber, isOfAnyTypeIn, isOfClass, isOfType, isText, isTime, isTrue, isUUID, isZero, satisfies
Methods inherited from class org.assertj.db.api.AbstractAssertWithOriginWithColumnsAndRowsFromChange
column, column, column, columnAmongTheModifiedOnes, columnAmongTheModifiedOnes, columnAmongTheModifiedOnes, rowAtEndPoint, rowAtStartPoint
Methods inherited from class org.assertj.db.api.AbstractAssertWithOriginWithChanges
change, change, changeOfCreation, changeOfCreation, changeOfCreationOnTable, changeOfCreationOnTable, changeOfDeletion, changeOfDeletion, changeOfDeletionOnTable, changeOfDeletionOnTable, changeOfModification, changeOfModification, changeOfModificationOnTable, changeOfModificationOnTable, changeOnTable, changeOnTable, changeOnTableWithPks, ofAll, ofCreation, ofCreationOnTable, ofDeletion, ofDeletionOnTable, ofModification, ofModificationOnTable, onTable
Methods inherited from class org.assertj.db.api.AbstractAssertWithOrigin
returnToOrigin
Methods inherited from class org.assertj.db.global.AbstractElement
as, as, describedAs, describedAs, getInfo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.assertj.core.api.Descriptable
as
-
Constructor Details
-
ChangeRowValueAssert
Constructor.- Parameters:
origin
- The assertion ofOrigin
.value
- The value on which are the assertions.
-
-
Method Details
-
value
Returns assertion methods on the next value in the list of values.- Specified by:
value
in interfaceToValue<ChangeRowValueAssert>
- Returns:
- An object to make assertions on the next value.
- See Also:
-
value
Returns assertion methods on the value at theindex
in parameter.- Specified by:
value
in interfaceToValue<ChangeRowValueAssert>
- Parameters:
index
- The index corresponding to the value.- Returns:
- An object to make assertions on the value.
- See Also:
-
value
Returns assertion methods on the value corresponding to the column name in parameter.- Specified by:
value
in interfaceToValueFromRow<ChangeRowValueAssert>
- Parameters:
columnName
- The column name.- Returns:
- An object to make assertions on the value.
- See Also:
-
hasColumnName
Verifies that the name of a column is equal to the parameter.Example where the assertion verifies that the column name of the first
Column
of theTable
is equal to "title" :assertThat(table).column().hasColumnName("title");
Example where the assertion verifies that the first value of the first
Row
of theTable
is equal to "title" :assertThat(table).row().value().hasColumnName("title");
Example where the assertion verifies that the column name of the first
Column
of theTable
is equal to "title" :assertThat(changes).change(1).column().hasColumnName("title");
Example where the assertion verifies that the first value of the first
Row
of theTable
is equal to "title" :assertThat(changes).change(1).row().value().hasColumnName("title");
- Specified by:
hasColumnName
in interfaceAssertOnColumnName<ChangeRowValueAssert>
- Parameters:
columnName
- The expected column name.- Returns:
this
assertion object.- See Also:
-
returnToRow
Returns to level of assertion methods on aRow
.- Returns:
- a object of assertion methods on a
Row
.
-