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