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
valueFields inherited from class org.assertj.db.api.AbstractAssertWithOrigin
originFields 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 theindexin 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, satisfiesMethods inherited from class org.assertj.db.api.AbstractAssertWithOriginWithColumnsAndRowsFromChange
column, column, column, columnAmongTheModifiedOnes, columnAmongTheModifiedOnes, columnAmongTheModifiedOnes, rowAtEndPoint, rowAtStartPointMethods 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, onTableMethods inherited from class org.assertj.db.api.AbstractAssertWithOrigin
returnToOriginMethods inherited from class org.assertj.db.global.AbstractElement
as, as, describedAs, describedAs, getInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
valuein interfaceToValue<ChangeRowValueAssert>- Returns:
- An object to make assertions on the next value.
- See Also:
-
value
Returns assertion methods on the value at theindexin parameter.- Specified by:
valuein 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:
valuein 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
Columnof theTableis equal to "title" :assertThat(table).column().hasColumnName("title");Example where the assertion verifies that the first value of the first
Rowof theTableis equal to "title" :assertThat(table).row().value().hasColumnName("title");Example where the assertion verifies that the column name of the first
Columnof theTableis equal to "title" :assertThat(changes).change(1).column().hasColumnName("title");Example where the assertion verifies that the first value of the first
Rowof theTableis equal to "title" :assertThat(changes).change(1).row().value().hasColumnName("title");- Specified by:
hasColumnNamein interfaceAssertOnColumnName<ChangeRowValueAssert>- Parameters:
columnName- The expected column name.- Returns:
thisassertion object.- See Also:
-
returnToRow
Returns to level of assertion methods on aRow.- Returns:
- a object of assertion methods on a
Row.
-