public class ChangeRowValueAssert extends AbstractAssertWithValues<ChangeRowValueAssert,ChangeRowAssert> implements ToValue<ChangeRowValueAssert>, ToValueFromRow<ChangeRowValueAssert>, AssertOnColumnName<ChangeRowValueAssert>
Row of a Change.origininfo, myself| 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.
|
isAfter, isAfter, isAfter, isAfter, isAfterOrEqualTo, isAfterOrEqualTo, isAfterOrEqualTo, isAfterOrEqualTo, isBefore, isBefore, isBefore, isBefore, isBeforeOrEqualTo, isBeforeOrEqualTo, isBeforeOrEqualTo, isBeforeOrEqualTo, isBoolean, isBytes, isDate, isDateTime, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isFalse, isGreaterThan, isGreaterThanOrEqualTo, isLessThan, isLessThanOrEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNotZero, isNull, isNumber, isOfAnyTypeIn, isOfType, isText, isTime, isTrue, isZerocolumn, column, column, columnAmongTheModifiedOnes, columnAmongTheModifiedOnes, columnAmongTheModifiedOnes, rowAtEndPoint, rowAtStartPointchange, change, changeOfCreation, changeOfCreation, changeOfCreationOnTable, changeOfCreationOnTable, changeOfDeletion, changeOfDeletion, changeOfDeletionOnTable, changeOfDeletionOnTable, changeOfModification, changeOfModification, changeOfModificationOnTable, changeOfModificationOnTable, changeOnTable, changeOnTable, changeOnTableWithPks, ofAll, ofCreation, ofCreationOnTable, ofDeletion, ofDeletionOnTable, ofModification, ofModificationOnTable, onTablereturnToOriginas, as, describedAs, describedAspublic 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 © 2015 AssertJ. All Rights Reserved.