Class Descriptions

java.lang.Object
org.assertj.db.util.Descriptions

public class Descriptions extends Object
Utility methods related to descriptions.
Since:
1.0.0
Author:
Régis Pouiller
  • Method Details

    • getDescription

      public static String getDescription(Table table)
      Returns the description of the table.
      Parameters:
      table - The table
      Returns:
      The description
    • getDescription

      public static String getDescription(Request request)
      Returns the description of the request.
      Parameters:
      request - The request
      Returns:
      The description
    • getDescription

      public static String getDescription(Changes changes)
      Returns the description of the changes.
      Parameters:
      changes - The changes
      Returns:
      The description
    • getRowDescription

      public static String getRowDescription(org.assertj.core.api.WritableAssertionInfo info, int index)
      Returns the description of the row.
      Parameters:
      info - Writable information about an assertion.
      index - Index of the row.
      Returns:
      The description
    • getRowAtStartPointDescription

      public static String getRowAtStartPointDescription(org.assertj.core.api.WritableAssertionInfo info)
      Returns the description of the row.
      Parameters:
      info - Writable information about an assertion.
      Returns:
      The description
    • getRowAtEndPointDescription

      public static String getRowAtEndPointDescription(org.assertj.core.api.WritableAssertionInfo info)
      Returns the description of the row.
      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 the column.
      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 the value of the column.
      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 the value of the column.
      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 the value of the column.
      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 the value of the row.
      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 the changes.
      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 the changes.
      Parameters:
      info - Writable information about an assertion.
      changes - The changes
      change - The change
      index - Index of the value.
      changeType - Type of the change.
      tableName - Name of the table.
      Returns:
      The description