Annotation Type EnsureCleanDb
-
@Target(TYPE) @Retention(RUNTIME) @Documented @Inherited public @interface EnsureCleanDb
Annotation that instructs the internal flowable extensions to assert a clean DB (scans all tables to see if the DB is completely clean). It throwsAssertionErrorin case the DB is not clean. If the DB is not clean, it would be cleaned by performing a create and drop. Dropping the DB can be disabled by settingdropDb()tofalse. If theTestInstance.Lifecycleis set toTestInstance.Lifecycle#PER_CLASSthen the assertion will happen after all tests have run.- Author:
- Filip Hrisafov
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleandropDbString[]excludeTablesThe names of the tables that should be excluded from a check
-
-
-
Element Detail
-
excludeTables
String[] excludeTables
The names of the tables that should be excluded from a check- Returns:
- the table names that should be excluded when doing the check
- Default:
- {}
-
-