| 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.
|
| Modifier and Type | Method and Description |
|---|---|
static ChangesAssert |
Assertions.assertThat(Changes changes)
Creates a new instance of
ChangesAssert. |
static ChangesAssert |
BDDAssertions.then(Changes changes)
Creates a new instance of
ChangesAssert. |
| Constructor and Description |
|---|
ChangesAssert(ChangesAssert origin,
Changes changes)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static <A extends AbstractAssert<?>> |
AssertionsOnNumberOfChanges.hasNumberOfChanges(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Changes changes,
int expected)
Verifies that the number of changes is equal to the number in parameter.
|
static <A extends AbstractAssert<?>> |
AssertionsOnNumberOfChanges.hasNumberOfChangesGreaterThan(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Changes changes,
int expected)
Verifies that the number of changes is greater than the number in parameter.
|
static <A extends AbstractAssert<?>> |
AssertionsOnNumberOfChanges.hasNumberOfChangesGreaterThanOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Changes changes,
int expected)
Verifies that the number of changes is greater than or equal to the number in parameter.
|
static <A extends AbstractAssert<?>> |
AssertionsOnNumberOfChanges.hasNumberOfChangesLessThan(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Changes changes,
int expected)
Verifies that the number of changes is less to the number in parameter.
|
static <A extends AbstractAssert<?>> |
AssertionsOnNumberOfChanges.hasNumberOfChangesLessThanOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Changes changes,
int expected)
Verifies that the number of changes is less than or equal to the number in parameter.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
PositionWithChanges.getChangeDescription(Changes changes,
Change change,
int index,
ChangeType changeType,
String tableName)
Returns the description.
|
N |
PositionWithChanges.getChangeInstance(Changes changes,
ChangeType changeType,
String tableName)
Gets an instance of change assert corresponding to the index and the type of change.
|
N |
PositionWithChanges.getChangeInstance(Changes changes,
ChangeType changeType,
String tableName,
int index)
Gets an instance of change assert corresponding to the index and the type of change.
|
N |
PositionWithChanges.getChangeInstanceWithPK(Changes changes,
String tableName,
Object... pksValues)
Gets an instance of change assert corresponding to the table and the primary keys.
|
E |
PositionWithChanges.getChangesInstance(Changes changes,
ChangeType changeType,
String tableName)
Gets an instance of changes corresponding to the index and the type of change.
|
| Modifier and Type | Method and Description |
|---|---|
static ChangesOutputter |
Outputs.output(Changes changes)
Creates a new instance of
ChangesOutputter. |
| Constructor and Description |
|---|
ChangesOutputter(ChangesOutputter origin,
Changes changes)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
OutputType.getChangesOutput(org.assertj.core.api.WritableAssertionInfo info,
Changes changes)
Returns the output of
Changes. |
String |
Output.getChangesOutput(org.assertj.core.api.WritableAssertionInfo info,
Changes changes)
Returns the output of
Changes. |
| Modifier and Type | Method and Description |
|---|---|
Changes |
Changes.getChangesOfTable(String tableName)
Returns
Changes only on the table name in parameter. |
Changes |
Changes.getChangesOfType(ChangeType changeType)
Returns
Changes only on the change type in parameter. |
Changes |
Changes.setEndPointNow()
Sets the end point for comparison.
|
Changes |
Changes.setRequest(Request request)
Sets the
Request. |
Changes |
Changes.setStartPointNow()
Sets the start point for comparison.
|
Changes |
Changes.setTables(Table... tables)
Sets the table on which are the comparison.
|
| Modifier and Type | Method and Description |
|---|---|
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 String |
Descriptions.getDescription(Changes changes)
Returns the description of the
changes. |
Copyright © 2015–2017 AssertJ. All rights reserved.