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 ExecutorServiceorg.junit.rules.TestRuleprotected final org.jboss.logging.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected Future<?> executeAsync(Runnable callable) protected voidexecuteSync(Runnable callable) voidprotected voidsleep(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
-