| Package | Description |
|---|---|
| org.assertj.db.api |
This package contains the API of assertj-db (and especially the entry point class
Assertions). |
| org.assertj.db.api.assertions.impl |
This package contains utility classes that implements the different assertions methods.
|
| org.assertj.db.navigation |
This package contains interfaces that defines the different navigation methods.
|
| org.assertj.db.output |
This package contains classes that allows to output the informations about table, request or changes.
|
| org.assertj.db.output.impl |
This package contains utility classes about the output.
|
| org.assertj.db.type |
This package contains the classes that defines the different types used in assertj-db.
|
| org.assertj.db.util |
This package contains the utility classes of assertj-db.
|
| Constructor and Description |
|---|
ChangeAssert(ChangesAssert origin,
Change change)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static <A extends AbstractAssert<?>> |
AssertionsOnModifiedColumns.hasModifiedColumns(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Change change,
Integer... indexes)
Verifies that the indexes of columns with a modification in the values between the start point and the end point
is equals to the parameters.
|
static <A extends AbstractAssert<?>> |
AssertionsOnModifiedColumns.hasModifiedColumns(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Change change,
LetterCase columnLetterCase,
String... names)
Verifies that the names of columns with a modification in the values between the start point and the end point
is equals to the parameters.
|
static <A extends AbstractAssert<?>> |
AssertionsOnModifiedColumns.hasNumberOfModifiedColumns(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Change change,
int number)
Verifies that the number of columns with a modification in the values between the start point and the end point
is equals to the number in parameter.
|
static <A extends AbstractAssert<?>> |
AssertionsOnModifiedColumns.hasNumberOfModifiedColumnsGreaterThan(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Change change,
int number)
Verifies that the number of columns with a modification in the values between the start point and the end point
is greater than the number in parameter.
|
static <A extends AbstractAssert<?>> |
AssertionsOnModifiedColumns.hasNumberOfModifiedColumnsGreaterThanOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Change change,
int number)
Verifies that the number of columns with a modification in the values between the start point and the end point
is greater than or equal to the number in parameter.
|
static <A extends AbstractAssert<?>> |
AssertionsOnModifiedColumns.hasNumberOfModifiedColumnsLessThan(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Change change,
int number)
Verifies that the number of columns with a modification in the values between the start point and the end point
is less than the number in parameter.
|
static <A extends AbstractAssert<?>> |
AssertionsOnModifiedColumns.hasNumberOfModifiedColumnsLessThanOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Change change,
int number)
Verifies that the number of columns with a modification in the values between the start point and the end point
is less than or equal to the number in parameter.
|
static <A extends AbstractAssert<?>> |
AssertionsOnPrimaryKey.hasPksNames(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Change change,
LetterCase primaryKeyLetterCase,
String... names)
Verifies that the columns og the primary key of the rows of the change is the same as the parameters.
|
static <A extends AbstractAssert<?>> |
AssertionsOnPrimaryKey.hasPksValues(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Change change,
Object... values)
Verifies that the values of the primary key of the rows of the change are the same as the parameters.
|
static <A extends AbstractAssert<?>> |
AssertionsOnChangeType.isCreation(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Change change)
Verifies that the type of the change is a creation.
|
static <A extends AbstractAssert<?>> |
AssertionsOnChangeType.isDeletion(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Change change)
Verifies that the type of the change is a deletion.
|
static <A extends AbstractAssert<?>> |
AssertionsOnChangeType.isModification(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Change change)
Verifies that the type of the change is a modification.
|
static <A extends AbstractAssert<?>> |
AssertionsOnChangeType.isOfType(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Change change,
ChangeType expected)
Verifies that the type of the change is equal to the type in parameter.
|
static <A extends AbstractAssert<?>> |
AssertionsOnDataType.isOnDataType(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Change change,
DataType expected)
Verifies that the data type on which is the change is equal to the type in parameter.
|
static <A extends AbstractAssert<?>> |
AssertionsOnDataType.isOnRequest(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Change change)
Verifies that the data type on which is the change is a request.
|
static <A extends AbstractAssert<?>> |
AssertionsOnDataType.isOnTable(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Change change)
Verifies that the data type on which is the change is a table.
|
static <A extends AbstractAssert<?>> |
AssertionsOnDataType.isOnTable(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Change change,
LetterCase tableLetterCase,
String name)
Verifies that the change is on a table with the name in parameter.
|
| Modifier and Type | Method and Description |
|---|---|
N |
PositionWithColumnsChange.getChangeColumnInstance(Change change)
Gets an instance of element corresponding to the index.
|
N |
PositionWithColumnsChange.getChangeColumnInstance(Change change,
int index)
Gets an instance of element corresponding to the index.
|
N |
PositionWithColumnsChange.getChangeColumnInstance(Change change,
String columnName,
CaseComparison comparison)
Gets an instance of element corresponding to the column name in parameter.
|
protected abstract String |
PositionWithChanges.getChangeDescription(Changes changes,
Change change,
int index,
ChangeType changeType,
String tableName)
Returns the description.
|
N |
PositionWithColumnsChange.getModifiedChangeColumnInstance(Change change)
Gets an instance of next modified element.
|
N |
PositionWithColumnsChange.getModifiedChangeColumnInstance(Change change,
int index)
Gets an instance of modified element corresponding to the index.
|
N |
PositionWithColumnsChange.getModifiedChangeColumnInstance(Change change,
String columnName,
CaseComparison comparison)
Gets an instance of modified element corresponding to the column name in parameter.
|
| Constructor and Description |
|---|
ChangeOutputter(ChangesOutputter origin,
Change change)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
OutputType.getChangeOutput(org.assertj.core.api.WritableAssertionInfo info,
Change change)
Returns the output of a
Change. |
String |
Output.getChangeOutput(org.assertj.core.api.WritableAssertionInfo info,
Change change)
Returns the output of a
Change. |
| Modifier and Type | Method and Description |
|---|---|
List<Change> |
Changes.getChangesList()
Returns the list of the changes.
|
| Modifier and Type | Method and Description |
|---|---|
int |
ChangeComparator.compare(Change change1,
Change change2) |
static String |
Descriptions.getChangeDescription(org.assertj.core.api.WritableAssertionInfo info,
Changes changes,
Change change,
int index,
ChangeType changeType,
String tableName)
Returns the description of the
changes. |
static Integer[] |
Changes.getIndexesOfModifiedColumns(Change change)
Returns the indexes of the modified columns.
|
Copyright © 2015–2017 AssertJ. All rights reserved.