Package org.hibernate.testing.junit4
Class BaseUnitTestCase
- java.lang.Object
-
- org.hibernate.testing.junit4.BaseUnitTestCase
-
- Direct Known Subclasses:
BaseCoreFunctionalTestCase,BaseNonConfigCoreFunctionalTestCase,BaseTransactionIsolationConfigTest,EnhancerTestUtils
public abstract class BaseUnitTestCase extends Object
The base unit test adapter.
-
-
Field Summary
Fields Modifier and Type Field Description protected ExecutorServiceexecutorServiceorg.junit.rules.TestRuleglobalTimeoutprotected org.jboss.logging.Loggerlog
-
Constructor Summary
Constructors Constructor Description BaseUnitTestCase()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassertNoLeaks()static voidcheckClearSchema()protected Future<?>executeAsync(Runnable callable)protected voidexecuteSync(Runnable callable)voidreleaseTransactions()protected voidsleep(long millis)
-
-
-
Field Detail
-
log
protected final org.jboss.logging.Logger log
-
executorService
protected final ExecutorService executorService
-
globalTimeout
public org.junit.rules.TestRule globalTimeout
-
-
Method Detail
-
assertNoLeaks
public void assertNoLeaks()
-
releaseTransactions
public void releaseTransactions()
-
sleep
protected void sleep(long millis)
-
executeSync
protected void executeSync(Runnable callable)
-
-