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.ObjectThe base unit test adapter.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.concurrent.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 java.util.concurrent.Future<?>executeAsync(java.lang.Runnable callable)protected voidexecuteSync(java.lang.Runnable callable)voidreleaseTransactions()protected voidsleep(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)
-
-