Annotation Type ExpectMaxSelect


  • @Retention(RUNTIME)
    @Target({METHOD,TYPE})
    public @interface ExpectMaxSelect
    The ExpectMaxSelect annotation verifies the number of executed select statements is not greater than the specified value. If so, the test will fail.

    Example:

          @ExpectMaxSelect(5)
          public void execute_two_select() {
              ..
          }
     
    • 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 select statements is greater.
    • Element Detail

      • value

        int value
        Specifies a value (integer) to cause test method to fail if the number of select statements is greater. Note that if left empty, the assumed value will be zero.
        Default:
        0