Package org.quickperf.sql.annotation
Annotation Type ExpectMaxSelect
-
@Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface ExpectMaxSelect
TheExpectMaxSelect
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 avalue
(integer) to cause test method to fail if the number of select statements is greater.
-