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 Instance Methods Concrete Methods Modifier and Type Method Description voidassertNoLeaks()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
-
-