Annotation Type ExpectSelectedColumn


  • @Retention(RUNTIME)
    @Target({METHOD,TYPE})
    public @interface ExpectSelectedColumn
    The ExpectSelectedColumn annotation verifies the number of updated columns corresponds to the specified value.

    Example:

          @ExpectSelectedColumn(5)
          public void select_on_five_columns() {
              ..
          }
     
    See Also:
    Why limit the number of selected columns ?
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int value
      Specifies a value (integer) to cause test method to fail if the number of selected columns is not equal.
    • Element Detail

      • value

        int value
        Specifies a value (integer) to cause test method to fail if the number of selected columns is not equal. Note that if left empty, the assumed value will be one.
        Default:
        1