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 java.lang.Object
The base unit test adapter.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.concurrent.ExecutorService
executorService
org.junit.rules.TestRule
globalTimeout
protected org.jboss.logging.Logger
log
-
Constructor Summary
Constructors Constructor Description BaseUnitTestCase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
assertNoLeaks()
protected java.util.concurrent.Future<?>
executeAsync(java.lang.Runnable callable)
protected void
executeSync(java.lang.Runnable callable)
void
releaseTransactions()
protected void
sleep(long millis)
-
-
-
Method Detail
-
assertNoLeaks
public void assertNoLeaks()
-
releaseTransactions
public void releaseTransactions()
-
sleep
protected void sleep(long millis)
-
executeAsync
protected java.util.concurrent.Future<?> executeAsync(java.lang.Runnable callable)
-
executeSync
protected void executeSync(java.lang.Runnable callable)
-
-