Package org.quickperf.sql.annotation
Annotation Type ExpectInsert
-
@Retention(RUNTIME) @Target(METHOD) public @interface ExpectInsert
TheExpectInsert
annotation verifies the number of executed insert statements corresponds to the specified value.
Example:
@ExpectInsert(6) public void execute_six_insert() {
..
}
-
-
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 insert statements is not equal.
-