Package com.flowable.content.engine.test
Class ContentTestHelper
java.lang.Object
com.flowable.content.engine.test.ContentTestHelper
- Author:
- Tijs Rademakers, Joram Barrez
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
assertAndEnsureCleanDb
(ContentEngine contentEngine) Each test is assumed to clean up all DB content it entered.static void
static ContentEngine
getContentEngine
(String configurationResource)
-
Field Details
-
EMPTY_LINE
- See Also:
-
-
Constructor Details
-
ContentTestHelper
public ContentTestHelper()
-
-
Method Details
-
getContentEngine
-
closeContentEngines
public static void closeContentEngines() -
assertAndEnsureCleanDb
Each test is assumed to clean up all DB content it entered. After a test method executed, this method scans all tables to see if the DB is completely clean. It throws AssertionFailed in case the DB is not clean. If the DB is not clean, it is cleaned by performing a create a drop.
-