Class RowCountCheck

java.lang.Object
org.dbunit.database.rowcount.RowCountCheck

public class RowCountCheck extends Object
Compares a database's table row counts before and after a test, to catch a table the test left dirty - either one it should have cleaned up and did not, or a reference table it wrongly cleaned. Read-only: never modifies data.

Every method is a no-op, and never queries the connection, when RowCountCheckConfiguration.isEnabled() is false - the check costs nothing when a caller has not opted in.

Since:
3.6.0
Author:
dbunit