HHH-13666 Clarify that existing BeforeCompletion/AfterCompletion tests are about JTA only
This commit is contained in:
parent
8655d683e6
commit
250f569339
|
@ -37,7 +37,7 @@ import static org.junit.Assert.assertTrue;
|
|||
/**
|
||||
* @author Chris Cranford
|
||||
*/
|
||||
public class AfterCompletionTest extends BaseNonConfigCoreFunctionalTestCase {
|
||||
public class JtaAfterCompletionTest extends BaseNonConfigCoreFunctionalTestCase {
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] { SimpleEntity.class };
|
|
@ -34,7 +34,7 @@ import static org.junit.Assert.fail;
|
|||
/**
|
||||
* @author Steve Ebersole
|
||||
*/
|
||||
public class BeforeCompletionFailureTest extends BaseNonConfigCoreFunctionalTestCase {
|
||||
public class JtaBeforeCompletionFailureTest extends BaseNonConfigCoreFunctionalTestCase {
|
||||
|
||||
@Override
|
||||
protected Class[] getAnnotatedClasses() {
|
|
@ -31,6 +31,8 @@ import org.hibernate.testing.TestForIssue;
|
|||
import org.hibernate.testing.jta.TestingJtaBootstrap;
|
||||
import org.hibernate.testing.jta.TestingJtaPlatformImpl;
|
||||
|
||||
import org.hibernate.test.tm.JtaAfterCompletionTest;
|
||||
|
||||
import static org.hibernate.testing.junit4.ExtraAssertions.assertTyping;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
|
@ -39,7 +41,7 @@ import static org.junit.Assert.assertTrue;
|
|||
/**
|
||||
* An envers specific quest that verifies the {@link AuditProcessManager} gets flushed.
|
||||
*
|
||||
* There is a similar test called {@link org.hibernate.test.tm.AfterCompletionTest}
|
||||
* There is a similar test called {@link JtaAfterCompletionTest}
|
||||
* in hibernate-core which verifies that the callbacks fires.
|
||||
*
|
||||
* The premise behind this test is to verify that when a JTA transaction is aborted by
|
||||
|
|
Loading…
Reference in New Issue