public class ChangeRowValueAssert extends AbstractAssertWithValues<ChangeRowValueAssert,ChangeRowAssert> implements ToValue<ChangeRowValueAssert>, ToValueFromRow<ChangeRowValueAssert>, AssertOnColumnName<ChangeRowValueAssert>
Row
of a Change
.value
origin
info, myself
Constructor and Description |
---|
ChangeRowValueAssert(ChangeRowAssert origin,
Value value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ChangeRowValueAssert |
hasColumnName(String columnName)
Verifies that the name of a column is equal to the parameter.
|
ChangeRowAssert |
returnToRow()
Returns to level of assertion methods on a
Row . |
ChangeRowValueAssert |
value()
Returns assertion methods on the next value in the list of values.
|
ChangeRowValueAssert |
value(int index)
Returns assertion methods on the value at the
index in parameter. |
ChangeRowValueAssert |
value(String columnName)
Returns assertion methods on the value corresponding to the column name in parameter.
|
doesNotHave, has, is, isAfter, isAfter, isAfter, isAfter, isAfterOrEqualTo, isAfterOrEqualTo, isAfterOrEqualTo, isAfterOrEqualTo, isBefore, isBefore, isBefore, isBefore, 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, isFalse, isGreaterThan, isGreaterThanOrEqualTo, isLessThan, isLessThanOrEqualTo, isNot, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNotZero, isNull, isNumber, isOfAnyTypeIn, isOfClass, isOfType, isText, isTime, isTrue, isUUID, isZero, satisfies
column, column, column, columnAmongTheModifiedOnes, columnAmongTheModifiedOnes, columnAmongTheModifiedOnes, rowAtEndPoint, rowAtStartPoint
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
returnToOrigin
as, as, describedAs, describedAs, getInfo
public ChangeRowValueAssert(ChangeRowAssert origin, Value value)
origin
- The assertion of Origin
.value
- The value on which are the assertions.public ChangeRowValueAssert value()
value
in interface ToValue<ChangeRowValueAssert>
AbstractSubAssert.value()
,
AbstractValueAssert.value()
,
AbstractSubAssert.value()
,
AbstractValueAssert.value()
,
ChangeRowAssert.value()
,
value()
public ChangeRowValueAssert value(int index)
index
in parameter.value
in interface ToValue<ChangeRowValueAssert>
index
- The index corresponding to the value.AbstractSubAssert.value(int)
,
AbstractValueAssert.value(int)
,
AbstractSubAssert.value(int)
,
AbstractValueAssert.value(int)
,
ChangeRowAssert.value(int)
,
value(int)
public ChangeRowValueAssert value(String columnName)
value
in interface ToValueFromRow<ChangeRowValueAssert>
columnName
- The column name.AbstractRowAssert.value(String)
,
AbstractRowValueAssert.value(String)
,
ChangeRowAssert.value(String)
,
value(String)
public ChangeRowValueAssert hasColumnName(String columnName)
Example where the assertion verifies that the column name of the first Column
of the Table
is equal to
"title" :
assertThat(table).column().hasColumnName("title");
Example where the assertion verifies that the first value of the first Row
of the Table
is equal to
"title" :
assertThat(table).row().value().hasColumnName("title");
Example where the assertion verifies that the column name of the first Column
of the Table
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 the Table
is equal to
"title" :
assertThat(changes).change(1).row().value().hasColumnName("title");
hasColumnName
in interface AssertOnColumnName<ChangeRowValueAssert>
columnName
- The expected column name.this
assertion object.AbstractColumnAssert.hasColumnName(String)
,
AbstractRowValueAssert.hasColumnName(String)
,
ChangeColumnAssert.hasColumnName(String)
,
hasColumnName(String)
public ChangeRowAssert returnToRow()
Row
.Row
.Copyright © 2020 AssertJ. All rights reserved.