Package org.quickperf.sql.annotation
Annotation Type ExpectSelect
-
@Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface ExpectSelect
TheExpectSelect
annotation verifies the number of executed select statements corresponds to the specified value.
Example:
@ExpectSelect(2) 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 not equal.
-