Package org.assertj.db.util
Class Descriptions
java.lang.Object
org.assertj.db.util.Descriptions
Utility methods related to descriptions.
- Since:
- 1.0.0
- Author:
- Régis Pouiller
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getChangeDescription
(org.assertj.core.api.WritableAssertionInfo info, Changes changes, Change change, int index, ChangeType changeType, String tableName) Returns the description of thechanges
.static String
getChangesDescription
(org.assertj.core.api.WritableAssertionInfo info, ChangeType changeType, String tableName) Returns the description of thechanges
.static String
getColumnDescription
(org.assertj.core.api.WritableAssertionInfo info, int index, String columnName) Returns the description of thecolumn
.static String
getColumnValueAtEndPointDescription
(org.assertj.core.api.WritableAssertionInfo info) Returns the description of thevalue
of thecolumn
.static String
getColumnValueAtStartPointDescription
(org.assertj.core.api.WritableAssertionInfo info) Returns the description of thevalue
of thecolumn
.static String
getColumnValueDescription
(org.assertj.core.api.WritableAssertionInfo info, int index) Returns the description of thevalue
of thecolumn
.static String
getDescription
(Changes changes) Returns the description of thechanges
.static String
getDescription
(Request request) Returns the description of therequest
.static String
getDescription
(Table table) Returns the description of thetable
.static String
getRowAtEndPointDescription
(org.assertj.core.api.WritableAssertionInfo info) Returns the description of therow
.static String
getRowAtStartPointDescription
(org.assertj.core.api.WritableAssertionInfo info) Returns the description of therow
.static String
getRowDescription
(org.assertj.core.api.WritableAssertionInfo info, int index) Returns the description of therow
.static String
getRowValueDescription
(org.assertj.core.api.WritableAssertionInfo info, int index, String columnName) Returns the description of thevalue
of therow
.
-
Method Details
-
getDescription
Returns the description of thetable
.- Parameters:
table
- The table- Returns:
- The description
-
getDescription
Returns the description of therequest
.- Parameters:
request
- The request- Returns:
- The description
-
getDescription
Returns the description of thechanges
.- Parameters:
changes
- The changes- Returns:
- The description
-
getRowDescription
Returns the description of therow
.- Parameters:
info
- Writable information about an assertion.index
- Index of the row.- Returns:
- The description
-
getRowAtStartPointDescription
Returns the description of therow
.- Parameters:
info
- Writable information about an assertion.- Returns:
- The description
-
getRowAtEndPointDescription
Returns the description of therow
.- Parameters:
info
- Writable information about an assertion.- Returns:
- The description
-
getColumnDescription
public static String getColumnDescription(org.assertj.core.api.WritableAssertionInfo info, int index, String columnName) Returns the description of thecolumn
.- Parameters:
info
- Writable information about an assertion.index
- Index of the column.columnName
- Name of column.- Returns:
- The description
-
getColumnValueDescription
public static String getColumnValueDescription(org.assertj.core.api.WritableAssertionInfo info, int index) Returns the description of thevalue
of thecolumn
.- Parameters:
info
- Writable information about an assertion.index
- Index of the value.- Returns:
- The description
-
getColumnValueAtStartPointDescription
public static String getColumnValueAtStartPointDescription(org.assertj.core.api.WritableAssertionInfo info) Returns the description of thevalue
of thecolumn
.- Parameters:
info
- Writable information about an assertion.- Returns:
- The description
-
getColumnValueAtEndPointDescription
public static String getColumnValueAtEndPointDescription(org.assertj.core.api.WritableAssertionInfo info) Returns the description of thevalue
of thecolumn
.- Parameters:
info
- Writable information about an assertion.- Returns:
- The description
-
getRowValueDescription
public static String getRowValueDescription(org.assertj.core.api.WritableAssertionInfo info, int index, String columnName) Returns the description of thevalue
of therow
.- Parameters:
info
- Writable information about an assertion.index
- Index of the value.columnName
- Name of column of the value.- Returns:
- The description
-
getChangesDescription
public static String getChangesDescription(org.assertj.core.api.WritableAssertionInfo info, ChangeType changeType, String tableName) Returns the description of thechanges
.- Parameters:
info
- Writable information about an assertion.changeType
- Type of the change.tableName
- Name of the table.- Returns:
- The description
-
getChangeDescription
public static String getChangeDescription(org.assertj.core.api.WritableAssertionInfo info, Changes changes, Change change, int index, ChangeType changeType, String tableName) Returns the description of thechanges
.- Parameters:
info
- Writable information about an assertion.changes
- The changeschange
- The changeindex
- Index of the value.changeType
- Type of the change.tableName
- Name of the table.- Returns:
- The description
-