Package org.hibernate.testing.junit4
Class BaseUnitTestCase
java.lang.Object
org.hibernate.testing.junit4.BaseUnitTestCase
- Direct Known Subclasses:
BaseCoreFunctionalTestCase
,BaseNonConfigCoreFunctionalTestCase
,BaseTransactionIsolationConfigTest
,EnhancerTestUtils
The base unit test adapter.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ExecutorService
org.junit.rules.TestRule
protected final org.jboss.logging.Logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected Future<?>
executeAsync
(Runnable callable) protected void
executeSync
(Runnable callable) void
protected void
sleep
(long millis)
-
Field Details
-
log
protected final org.jboss.logging.Logger log -
executorService
-
globalTimeout
public org.junit.rules.TestRule globalTimeout
-
-
Constructor Details
-
BaseUnitTestCase
public BaseUnitTestCase()
-
-
Method Details
-
assertNoLeaks
public void assertNoLeaks() -
releaseTransactions
public void releaseTransactions() -
sleep
protected void sleep(long millis) -
executeAsync
-
executeSync
-