HHH-12073 - Change BaseUnitTestCase Logger to protected
This commit is contained in:
parent
310eb69b6e
commit
164178330a
|
@ -32,8 +32,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class ManyToManyBidirectionalWithLinkEntityTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( ManyToManyBidirectionalWithLinkEntityTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -28,8 +28,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class ManyToManyUnidirectionalTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( ManyToManyUnidirectionalTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -26,7 +26,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class OneToManyUnidirectionalTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -31,8 +31,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class OneToOneBidirectionalLazyTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( OneToOneBidirectionalLazyTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -29,8 +29,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class OneToOneBidirectionalTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( OneToOneBidirectionalTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -28,8 +28,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class UnidirectionalManyToManyRemoveTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( UnidirectionalManyToManyRemoveTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -35,8 +35,6 @@ import static org.junit.Assert.assertEquals;
|
|||
*/
|
||||
public class BatchTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( BatchTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -31,8 +31,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class FirstLevelCacheTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( FirstLevelCacheTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -36,8 +36,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class NonStrictReadWriteCacheTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( NonStrictReadWriteCacheTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -42,8 +42,6 @@ import static org.junit.Assert.assertNotNull;
|
|||
*/
|
||||
public class SecondLevelCacheTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( SecondLevelCacheTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -27,8 +27,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInHibernate;
|
|||
*/
|
||||
public class BasicTypeCollectionTest extends BaseCoreFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( BasicTypeCollectionTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -25,8 +25,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class BasicTypeElementCollectionTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( BasicTypeCollectionTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -26,8 +26,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class BasicTypeOrderColumnElementCollectionTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( BasicTypeOrderColumnElementCollectionTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -34,8 +34,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class BidirectionalComparatorSortedSetTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( BidirectionalComparatorSortedSetTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -33,8 +33,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class BidirectionalSortedSetTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( BidirectionalSortedSetTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -33,8 +33,6 @@ import static org.junit.Assert.assertSame;
|
|||
*/
|
||||
public class QueueTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( QueueTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -33,8 +33,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class UnidirectionalComparatorSortedSetTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( UnidirectionalComparatorSortedSetTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -32,8 +32,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class UnidirectionalSortedSetTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( UnidirectionalSortedSetTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -29,8 +29,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class BatchFetchingTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( BatchFetchingTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -28,8 +28,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
@RequiresDialect(H2Dialect.class)
|
||||
public class DirectVsQueryFetchingTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( DirectVsQueryFetchingTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -32,8 +32,6 @@ import static org.junit.Assert.assertEquals;
|
|||
*/
|
||||
public class FetchModeJoinTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( FetchModeJoinTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -32,8 +32,6 @@ import static org.junit.Assert.assertEquals;
|
|||
*/
|
||||
public class FetchModeSelectTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( FetchModeSelectTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -32,8 +32,6 @@ import static org.junit.Assert.assertEquals;
|
|||
*/
|
||||
public class FetchModeSubselectTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( FetchModeSubselectTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -43,8 +43,6 @@ import static org.junit.Assert.assertNotNull;
|
|||
@RequiresDialect(H2Dialect.class)
|
||||
public class FetchingTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( FetchingTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -43,8 +43,6 @@ import static org.junit.Assert.assertSame;
|
|||
@RequiresDialect(H2Dialect.class)
|
||||
public class GraphFetchingTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( GraphFetchingTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -32,8 +32,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class LazyCollectionTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( LazyCollectionTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -38,8 +38,6 @@ import static org.junit.Assert.assertNotNull;
|
|||
@RequiresDialect(H2Dialect.class)
|
||||
public class ProfileFetchingTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( ProfileFetchingTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -32,8 +32,6 @@ import static org.junit.Assert.assertTrue;
|
|||
*/
|
||||
public class AlwaysFlushTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( AlwaysFlushTest.class);
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -28,8 +28,6 @@ import static org.junit.Assert.assertTrue;
|
|||
*/
|
||||
public class AutoFlushTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( AutoFlushTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -32,8 +32,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class CommitFlushTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( CommitFlushTest.class);
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[]{
|
||||
|
|
|
@ -22,8 +22,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class FlushOrderTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( FlushOrderTest.class);
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[]{
|
||||
|
|
|
@ -32,8 +32,6 @@ import static org.junit.Assert.assertTrue;
|
|||
*/
|
||||
public class ManualFlushTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( ManualFlushTest.class);
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[]{
|
||||
|
|
|
@ -37,8 +37,6 @@ import static org.junit.Assert.assertTrue;
|
|||
*/
|
||||
public class SelectDistinctTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( SelectDistinctTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -28,8 +28,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class CollectionImmutabilityTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( CollectionImmutabilityTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -25,8 +25,6 @@ import static org.junit.Assert.assertEquals;
|
|||
*/
|
||||
public class EntityImmutabilityTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( EntityImmutabilityTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -26,8 +26,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class JmxTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( JmxTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -40,8 +40,6 @@ import static org.junit.Assert.assertEquals;
|
|||
*/
|
||||
public class ExplicitLockingTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( ExplicitLockingTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -26,8 +26,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class OptimisticLockTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( OptimisticLockTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -27,8 +27,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class OptimisticLockTypeAllTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( OptimisticLockTypeAllTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -28,8 +28,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class OptimisticLockTypeDirtyTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( OptimisticLockTypeDirtyTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -27,8 +27,6 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
*/
|
||||
public class OptimisticLockingTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( OptimisticLockingTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -35,8 +35,6 @@ import static org.junit.Assert.assertEquals;
|
|||
*/
|
||||
public class FilterJoinTableTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( FilterJoinTableTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -45,8 +45,6 @@ import static org.junit.Assert.assertNotNull;
|
|||
@RequiresDialect(H2Dialect.class)
|
||||
public class FilterSqlFragementAliasTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( FilterSqlFragementAliasTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -39,8 +39,6 @@ import static org.junit.Assert.assertNull;
|
|||
*/
|
||||
public class FilterTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( FilterTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -31,8 +31,6 @@ import static org.junit.Assert.assertEquals;
|
|||
*/
|
||||
public class JoinColumnOrFormulaTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( JoinColumnOrFormulaTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -30,8 +30,6 @@ import static org.junit.Assert.assertEquals;
|
|||
@RequiresDialect(PostgreSQL82Dialect.class)
|
||||
public class JoinFormulaTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( JoinFormulaTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -42,8 +42,6 @@ import static org.junit.Assert.assertTrue;
|
|||
*/
|
||||
public class PersistenceContextTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( PersistenceContextTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -47,8 +47,6 @@ import static org.junit.Assert.assertEquals;
|
|||
@RequiresDialect(PostgreSQL82Dialect.class)
|
||||
public class CollectionLoaderTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( CollectionLoaderTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -43,8 +43,6 @@ import static org.junit.Assert.assertNull;
|
|||
@RequiresDialect(PostgreSQL82Dialect.class)
|
||||
public class CustomSQLSecondaryTableTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( CustomSQLSecondaryTableTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -45,8 +45,6 @@ import static org.junit.Assert.assertNull;
|
|||
@RequiresDialect(PostgreSQL82Dialect.class)
|
||||
public class CustomSQLTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( CustomSQLTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -37,8 +37,6 @@ import static org.junit.Assert.assertNull;
|
|||
@RequiresDialect(Oracle8iDialect.class)
|
||||
public class OracleCustomSQLWithStoredProcedureTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( OracleCustomSQLWithStoredProcedureTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -51,8 +51,6 @@ import static org.junit.Assert.fail;
|
|||
*/
|
||||
public class SQLTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( SQLTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -25,8 +25,6 @@ import static org.junit.Assert.assertFalse;
|
|||
*/
|
||||
public class BasicFormatterTest extends BaseUnitTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( BasicFormatterTest.class );
|
||||
|
||||
@Test
|
||||
public void testNoLoss() {
|
||||
assertNoLoss( "insert into Address (city, state, zip, \"from\") values (?, ?, ?, 'insert value')" );
|
||||
|
|
|
@ -23,8 +23,6 @@ import static org.junit.Assert.assertFalse;
|
|||
*/
|
||||
public class DdlFormatterTest extends BaseUnitTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( DdlFormatterTest.class );
|
||||
|
||||
@Test
|
||||
public void testNoLoss() {
|
||||
|
||||
|
|
|
@ -43,7 +43,6 @@ import org.jboss.logging.Logger;
|
|||
* @author Hardy Ferentschik
|
||||
*/
|
||||
public abstract class BaseEntityManagerFunctionalTestCase extends BaseUnitTestCase {
|
||||
private static final Logger log = Logger.getLogger( BaseEntityManagerFunctionalTestCase.class );
|
||||
|
||||
// IMPL NOTE : Here we use @Before and @After (instead of @BeforeClassOnce and @AfterClassOnce like we do in
|
||||
// BaseCoreFunctionalTestCase) because the old HEM test methodology was to create an EMF for each test method.
|
||||
|
|
|
@ -48,7 +48,6 @@ import org.junit.Test;
|
|||
@TestForIssue( jiraKey = "HHH-10549" )
|
||||
public class ConversionAutoApplyTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
|
||||
@Test
|
||||
public void testConverterIsNotIncorrectlyApplied() {
|
||||
Widget w = new Widget();
|
||||
|
|
|
@ -20,7 +20,6 @@ import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
|
|||
* @author Emmanuel Bernard
|
||||
*/
|
||||
public class RemoveTest extends BaseEntityManagerFunctionalTestCase {
|
||||
private static final Logger log = Logger.getLogger( RemoveTest.class );
|
||||
|
||||
@Test
|
||||
public void testRemove() {
|
||||
|
|
|
@ -30,7 +30,6 @@ import static org.junit.Assert.fail;
|
|||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public class ExceptionTest extends BaseEntityManagerFunctionalTestCase {
|
||||
private static final Logger log = Logger.getLogger( ExceptionTest.class );
|
||||
|
||||
@Test
|
||||
public void testOptimisticLockingException() throws Exception {
|
||||
|
|
|
@ -27,7 +27,6 @@ import static org.junit.Assert.assertEquals;
|
|||
public class ProxyPreservingFiltersOutsideInitialSessionTest
|
||||
extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( ProxyPreservingFiltersOutsideInitialSessionTest.class );
|
||||
|
||||
@Override
|
||||
public Class[] getAnnotatedClasses() {
|
||||
|
|
|
@ -56,7 +56,6 @@ import static org.junit.Assert.fail;
|
|||
* @author Emmanuel Bernard
|
||||
*/
|
||||
public class LockTest extends BaseEntityManagerFunctionalTestCase {
|
||||
private static final Logger log = Logger.getLogger( LockTest.class );
|
||||
|
||||
@Test
|
||||
public void testFindWithTimeoutHint() {
|
||||
|
|
|
@ -25,7 +25,6 @@ import static org.junit.Assert.assertTrue;
|
|||
* @author Scott Marlow
|
||||
*/
|
||||
public class UpgradeLockTest extends BaseEntityManagerFunctionalTestCase {
|
||||
private static final Logger log = Logger.getLogger( UpgradeLockTest.class );
|
||||
|
||||
/**
|
||||
* Initially in tx1, get a LockModeType.READ and upgrade to LockModeType.OPTIMISTIC_FORCE_INCREMENT.
|
||||
|
|
|
@ -35,7 +35,6 @@ import static org.junit.Assert.fail;
|
|||
*
|
||||
*/
|
||||
public class BackquoteTest extends BaseUnitTestCase {
|
||||
private static final Logger log = Logger.getLogger( BackquoteTest.class );
|
||||
|
||||
private ServiceRegistry serviceRegistry;
|
||||
private SessionFactory sessionFactory;
|
||||
|
|
|
@ -37,7 +37,6 @@ import static org.junit.Assert.fail;
|
|||
*/
|
||||
@TestForIssue( jiraKey = "HHH-4812" )
|
||||
public class FetchProfileTest extends BaseUnitTestCase {
|
||||
private static final Logger log = Logger.getLogger( FetchProfileTest.class );
|
||||
|
||||
private ServiceRegistry serviceRegistry;
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@ import static org.junit.Assert.assertNull;
|
|||
@SuppressWarnings("unchecked")
|
||||
@TestForIssue( jiraKey = "ANN-744" )
|
||||
public class EnumIdTest extends BaseCoreFunctionalTestCase {
|
||||
private static final Logger log = Logger.getLogger( EnumIdTest.class );
|
||||
|
||||
@Test
|
||||
public void testEnumAsId() throws Exception {
|
||||
|
|
|
@ -33,7 +33,6 @@ import static org.junit.Assert.assertTrue;
|
|||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public class JoinColumnOverrideTest extends BaseUnitTestCase {
|
||||
private static final Logger log = Logger.getLogger( JoinColumnOverrideTest.class );
|
||||
|
||||
private static final String expectedSqlPointyTooth = "create table PointyTooth (id numeric(128,0) not null, " +
|
||||
"bunny_id numeric(128,0), primary key (id))";
|
||||
|
|
|
@ -27,7 +27,6 @@ import static org.junit.Assert.assertNull;
|
|||
@SuppressWarnings("unchecked")
|
||||
@TestForIssue( jiraKey = "ANN-744" )
|
||||
public class EnumIdTest extends BaseCoreFunctionalTestCase {
|
||||
private static final Logger log = Logger.getLogger( EnumIdTest.class );
|
||||
|
||||
@Test
|
||||
public void testEnumAsId() throws Exception {
|
||||
|
|
|
@ -35,7 +35,6 @@ import static org.junit.Assert.assertTrue;
|
|||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public class JoinColumnOverrideTest extends BaseUnitTestCase {
|
||||
private static final Logger log = Logger.getLogger( JoinColumnOverrideTest.class );
|
||||
|
||||
private static final String expectedSqlPointyTooth = "create table PointyTooth (id numeric(128,0) not null, " +
|
||||
"bunny_id numeric(128,0), primary key (id))";
|
||||
|
|
|
@ -36,7 +36,6 @@ import static org.junit.Assert.fail;
|
|||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public class ImmutableTest extends BaseCoreFunctionalTestCase {
|
||||
private static final Logger log = Logger.getLogger( ImmutableTest.class );
|
||||
|
||||
@Test
|
||||
public void testImmutableEntity() throws Exception {
|
||||
|
|
|
@ -24,8 +24,6 @@ import org.junit.Test;
|
|||
@TestForIssue( jiraKey = "HHH-4635" )
|
||||
public class LobTest extends BaseCoreFunctionalTestCase {
|
||||
|
||||
private static final Logger LOG = Logger.getLogger( LobTest.class );
|
||||
|
||||
@Test
|
||||
public void hibernateTest() {
|
||||
printConfig();
|
||||
|
@ -61,6 +59,6 @@ public class LobTest extends BaseCoreFunctionalTestCase {
|
|||
Query query = session.createSQLQuery( sql );
|
||||
|
||||
String s = (String) query.uniqueResult();
|
||||
LOG.debug( "Using Oracle charset " + s );
|
||||
log.debug( "Using Oracle charset " + s );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,7 +41,6 @@ import static org.junit.Assert.assertEquals;
|
|||
*/
|
||||
@TestForIssue( jiraKey = "HHH-11089" )
|
||||
public class LongKeyNamingStrategyTest extends BaseUnitTestCase {
|
||||
private static final Logger log = Logger.getLogger( LongKeyNamingStrategyTest.class );
|
||||
|
||||
private ServiceRegistry serviceRegistry;
|
||||
|
||||
|
|
|
@ -37,7 +37,6 @@ import static org.junit.Assert.assertEquals;
|
|||
* @author Hardy Ferentschik
|
||||
*/
|
||||
public class NamingStrategyTest extends BaseUnitTestCase {
|
||||
private static final Logger log = Logger.getLogger( NamingStrategyTest.class );
|
||||
|
||||
private ServiceRegistry serviceRegistry;
|
||||
|
||||
|
|
|
@ -36,7 +36,6 @@ import static org.junit.Assert.assertTrue;
|
|||
@SuppressWarnings("unchecked")
|
||||
@TestForIssue( jiraKey = "ANN-750" )
|
||||
public class NaturalIdOnSingleManyToOneTest extends BaseCoreFunctionalTestCase {
|
||||
private static final Logger log = Logger.getLogger( NaturalIdOnSingleManyToOneTest.class );
|
||||
|
||||
@After
|
||||
public void cleanupData() {
|
||||
|
|
|
@ -21,6 +21,7 @@ import org.hibernate.service.ServiceRegistry;
|
|||
import org.hibernate.tool.schema.internal.SchemaCreatorImpl;
|
||||
|
||||
import org.hibernate.testing.ServiceRegistryBuilder;
|
||||
import org.hibernate.testing.junit4.BaseUnitTestCase;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
@ -32,8 +33,7 @@ import org.jboss.logging.Logger;
|
|||
* @author Hardy Ferentschik
|
||||
*
|
||||
*/
|
||||
public class NullablePrimaryKeyTest {
|
||||
private static final Logger log = Logger.getLogger( NullablePrimaryKeyTest.class );
|
||||
public class NullablePrimaryKeyTest extends BaseUnitTestCase {
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("unchecked")
|
||||
|
|
|
@ -19,6 +19,7 @@ import org.hibernate.boot.registry.StandardServiceRegistry;
|
|||
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
|
||||
import org.hibernate.boot.spi.XmlMappingBinderAccess;
|
||||
|
||||
import org.hibernate.testing.junit4.BaseUnitTestCase;
|
||||
import org.junit.After;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
@ -38,8 +39,7 @@ import static org.junit.Assert.fail;
|
|||
*
|
||||
* @author Steve Ebersole
|
||||
*/
|
||||
public class CacheableHbmXmlTest {
|
||||
private static final Logger log = Logger.getLogger( CacheableHbmXmlTest.class );
|
||||
public class CacheableHbmXmlTest extends BaseUnitTestCase {
|
||||
|
||||
private static final String HBM_RESOURCE_NAME = "org/hibernate/test/boot/binding/cacheable/SimpleEntity.hbm.xml";
|
||||
|
||||
|
|
|
@ -57,7 +57,6 @@ import static org.junit.Assert.fail;
|
|||
* @author Gail Badner
|
||||
*/
|
||||
public class MultipleSessionCollectionTest extends BaseCoreFunctionalTestCase {
|
||||
private static final Logger log = Logger.getLogger( MultipleSessionCollectionTest.class );
|
||||
|
||||
@Test
|
||||
@TestForIssue( jiraKey = "HHH-9518" )
|
||||
|
|
|
@ -43,8 +43,6 @@ import static org.junit.Assert.fail;
|
|||
@RequiresDialect(value = { SQLServer2005Dialect.class })
|
||||
public class SQLServerDialectCollationTest extends BaseCoreFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( SQLServerDialectCollationTest.class );
|
||||
|
||||
@Override
|
||||
protected Configuration constructConfiguration() {
|
||||
Configuration configuration = super.constructConfiguration();
|
||||
|
|
|
@ -50,7 +50,6 @@ import static org.junit.Assert.assertTrue;
|
|||
*/
|
||||
@RequiresDialect( value = Cache71Dialect.class )
|
||||
public class SQLFunctionsInterSystemsTest extends BaseCoreFunctionalTestCase {
|
||||
private static final Logger log = Logger.getLogger( SQLFunctionsInterSystemsTest.class );
|
||||
|
||||
public String[] getMappings() {
|
||||
return new String[] {
|
||||
|
|
|
@ -53,7 +53,6 @@ import static org.junit.Assert.assertTrue;
|
|||
*/
|
||||
@SkipForDialect( value = SybaseASE15Dialect.class, jiraKey = "HHH-3637")
|
||||
public class DynamicFilterTest extends BaseNonConfigCoreFunctionalTestCase {
|
||||
private static final Logger log = Logger.getLogger( DynamicFilterTest.class );
|
||||
|
||||
@Override
|
||||
public String[] getMappings() {
|
||||
|
|
|
@ -107,7 +107,6 @@ import static org.junit.Assert.fail;
|
|||
"HibernateException: cannot doAfterTransactionCompletion multi-table deletes using dialect not supporting temp tables"
|
||||
)
|
||||
public class ASTParserLoadingTest extends BaseCoreFunctionalTestCase {
|
||||
private static final Logger log = Logger.getLogger( ASTParserLoadingTest.class );
|
||||
|
||||
private List<Long> createdAnimalIds = new ArrayList<>();
|
||||
|
||||
|
|
|
@ -54,7 +54,6 @@ import static org.junit.Assert.assertEquals;
|
|||
*/
|
||||
@TestForIssue(jiraKey = "HHH-9287")
|
||||
public class PooledHiLoSequenceIdentifierTest extends BaseCoreFunctionalTestCase {
|
||||
private static final Logger log = Logger.getLogger( PooledHiLoSequenceIdentifierTest.class );
|
||||
|
||||
@Test
|
||||
public void testSequenceIdentifierGenerator() {
|
||||
|
|
|
@ -30,7 +30,6 @@ import static org.junit.Assert.fail;
|
|||
* @author Steve Ebersole
|
||||
*/
|
||||
public class CascadeTest extends AbstractJPATest {
|
||||
private static final Logger log = Logger.getLogger( CascadeTest.class );
|
||||
|
||||
public String[] getMappings() {
|
||||
return new String[] { "jpa/cascade/ParentChild.hbm.xml" };
|
||||
|
|
|
@ -90,7 +90,6 @@ import static org.junit.Assert.assertTrue;
|
|||
import static org.junit.Assert.fail;
|
||||
|
||||
public class FooBarTest extends LegacyTestCase {
|
||||
private static final Logger log = Logger.getLogger( FooBarTest.class );
|
||||
|
||||
@Override
|
||||
public String[] getMappings() {
|
||||
|
|
|
@ -43,9 +43,7 @@ import static org.junit.Assert.assertEquals;
|
|||
import static org.junit.Assert.assertNotNull;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
|
||||
public class SQLFunctionsTest extends LegacyTestCase {
|
||||
private static final Logger log = Logger.getLogger( SQLFunctionsTest.class );
|
||||
|
||||
@Override
|
||||
public String[] getMappings() {
|
||||
|
|
|
@ -26,7 +26,6 @@ import org.junit.Test;
|
|||
@TestForIssue(jiraKey = "HHH-7311")
|
||||
public class ConfigurationValidationTest extends BaseUnitTestCase {
|
||||
|
||||
|
||||
@Test(expected = ServiceException.class)
|
||||
public void testInvalidConnectionProvider() {
|
||||
ServiceRegistryImplementor serviceRegistry = null;
|
||||
|
|
|
@ -23,8 +23,6 @@ import static org.junit.Assert.assertNotNull;
|
|||
@TestForIssue(jiraKey = "HHH-11005")
|
||||
public class MappedSuperclassMapTest extends BaseNonConfigCoreFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( MappedSuperclassMapTest.class );
|
||||
|
||||
private static final String SKU001 = "SKU001";
|
||||
private static final String SKU002 = "SKU002";
|
||||
private static final String WAR_AND_PEACE = "0140447938";
|
||||
|
|
|
@ -23,8 +23,6 @@ import static org.junit.Assert.assertNotNull;
|
|||
@TestForIssue(jiraKey = "HHH-11005")
|
||||
public class MappedSuperclassMapTest extends BaseNonConfigCoreFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( MappedSuperclassMapTest.class );
|
||||
|
||||
private static final String SKU001 = "SKU001";
|
||||
private static final String SKU002 = "SKU002";
|
||||
private static final String WAR_AND_PEACE = "0140447938";
|
||||
|
|
|
@ -23,8 +23,6 @@ import static org.junit.Assert.assertNotNull;
|
|||
@TestForIssue(jiraKey = "HHH-11005")
|
||||
public class MappedSuperclassMapTest extends BaseNonConfigCoreFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( MappedSuperclassMapTest.class );
|
||||
|
||||
private static final String SKU001 = "SKU001";
|
||||
private static final String SKU002 = "SKU002";
|
||||
private static final String WAR_AND_PEACE = "0140447938";
|
||||
|
|
|
@ -20,8 +20,6 @@ import static org.junit.Assert.*;
|
|||
|
||||
public class HibernateUnproxyTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( HibernateUnproxyTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[]{Parent.class, Child.class};
|
||||
|
|
|
@ -15,6 +15,7 @@ import org.jboss.logging.Logger;
|
|||
* @author Steve Ebersole
|
||||
*/
|
||||
public class TransactionCoordinatorOwnerTestingImpl implements TransactionCoordinatorOwner {
|
||||
|
||||
private static final Logger log = Logger.getLogger( TransactionCoordinatorOwnerTestingImpl.class );
|
||||
|
||||
private boolean active;
|
||||
|
|
|
@ -70,8 +70,6 @@ import static org.junit.Assert.assertThat;
|
|||
@RequiresDialect(SQLServerDialect.class)
|
||||
public class SchemaUpdateSQLServerTest extends BaseUnitTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( SchemaUpdateSQLServerTest.class );
|
||||
|
||||
@Parameterized.Parameters
|
||||
public static Collection<String> parameters() {
|
||||
return Arrays.asList(
|
||||
|
|
|
@ -32,8 +32,6 @@ import static org.junit.Assert.fail;
|
|||
@RequiresDialect(H2Dialect.class)
|
||||
public class JpaFunctionTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( JpaFunctionTest.class );
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {
|
||||
|
|
|
@ -30,7 +30,6 @@ import static org.junit.Assert.assertTrue;
|
|||
* @author Steve Ebersole
|
||||
*/
|
||||
public class StatelessSessionFetchingTest extends BaseCoreFunctionalTestCase {
|
||||
private static final Logger log = Logger.getLogger( StatelessSessionFetchingTest.class );
|
||||
|
||||
@Override
|
||||
public String[] getMappings() {
|
||||
|
|
|
@ -17,7 +17,6 @@ import org.junit.Test;
|
|||
* @author mukhanov@gmail.com
|
||||
*/
|
||||
public class StatelessSessionInsertTest extends BaseCoreFunctionalTestCase {
|
||||
private static final Logger log = Logger.getLogger(StatelessSessionInsertTest.class);
|
||||
|
||||
@Override
|
||||
public String[] getMappings() {
|
||||
|
|
|
@ -35,7 +35,6 @@ import static org.junit.Assert.fail;
|
|||
* @author Steve Ebersole
|
||||
*/
|
||||
public class BeforeCompletionFailureTest extends BaseNonConfigCoreFunctionalTestCase {
|
||||
private static final Logger log = Logger.getLogger( BeforeCompletionFailureTest.class );
|
||||
|
||||
@Override
|
||||
protected Class[] getAnnotatedClasses() {
|
||||
|
|
|
@ -67,8 +67,6 @@ import static org.junit.Assert.assertTrue;
|
|||
@RequiresDialect(H2Dialect.class)
|
||||
public class IndividuallySchemaValidatorImplConnectionTest extends BaseUnitTestCase {
|
||||
|
||||
private static final Logger log = Logger.getLogger( IndividuallySchemaValidatorImplConnectionTest.class );
|
||||
|
||||
@Rule
|
||||
public LoggerInspectionRule logInspection = new LoggerInspectionRule(
|
||||
Logger.getMessageLogger( CoreMessageLogger.class, IndividuallySchemaValidatorImplConnectionTest.class.getName() ) );
|
||||
|
|
|
@ -12,6 +12,8 @@ import java.util.List;
|
|||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Parameterized;
|
||||
|
||||
import org.jboss.logging.Logger;
|
||||
|
||||
/**
|
||||
* An abstract Envers test which runs the tests using two audit strategies.
|
||||
*
|
||||
|
@ -19,6 +21,9 @@ import org.junit.runners.Parameterized;
|
|||
*/
|
||||
@RunWith(EnversRunner.class)
|
||||
public abstract class AbstractEnversTest {
|
||||
|
||||
protected final Logger log = Logger.getLogger( getClass() );
|
||||
|
||||
private String auditStrategy;
|
||||
|
||||
@Parameterized.Parameters
|
||||
|
|
|
@ -42,7 +42,6 @@ import org.junit.After;
|
|||
* @author Strong Liu (stliu@hibernate.org)
|
||||
*/
|
||||
public abstract class BaseEnversJPAFunctionalTestCase extends AbstractEnversTest {
|
||||
private static final Logger log = Logger.getLogger( BaseEnversJPAFunctionalTestCase.class );
|
||||
|
||||
private static final Dialect dialect = Dialect.getDialect();
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ import org.hibernate.engine.spi.SharedSessionContractImplementor;
|
|||
import org.hibernate.engine.transaction.jta.platform.spi.JtaPlatform;
|
||||
import org.hibernate.resource.transaction.spi.TransactionStatus;
|
||||
|
||||
import org.hibernate.testing.junit4.BaseUnitTestCase;
|
||||
import org.hibernate.testing.junit4.CustomParameterized;
|
||||
import org.hibernate.test.cache.infinispan.util.BatchModeJtaPlatform;
|
||||
import org.hibernate.test.cache.infinispan.util.CacheTestSupport;
|
||||
|
@ -46,8 +47,7 @@ import org.jboss.logging.Logger;
|
|||
* @since 3.5
|
||||
*/
|
||||
@RunWith(CustomParameterized.class)
|
||||
public abstract class AbstractNonFunctionalTest extends org.hibernate.testing.junit4.BaseUnitTestCase {
|
||||
private static final Logger log = Logger.getLogger(AbstractNonFunctionalTest.class);
|
||||
public abstract class AbstractNonFunctionalTest extends BaseUnitTestCase {
|
||||
|
||||
@Rule
|
||||
public InfinispanTestingSetup infinispanTestIdentifier = new InfinispanTestingSetup();
|
||||
|
|
|
@ -16,6 +16,7 @@ import org.hibernate.Session;
|
|||
import org.hibernate.boot.Metadata;
|
||||
import org.hibernate.boot.spi.MetadataImplementor;
|
||||
import org.hibernate.cache.infinispan.util.FutureUpdate;
|
||||
import org.hibernate.cache.infinispan.util.InfinispanMessageLogger;
|
||||
import org.hibernate.cache.infinispan.util.TombstoneUpdate;
|
||||
import org.hibernate.cache.internal.SimpleCacheKeysFactory;
|
||||
import org.hibernate.cache.spi.RegionFactory;
|
||||
|
@ -33,6 +34,7 @@ import org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLoca
|
|||
import org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionCoordinatorBuilderImpl;
|
||||
import org.hibernate.resource.transaction.spi.TransactionCoordinatorBuilder;
|
||||
|
||||
import org.hibernate.test.cache.infinispan.functional.cluster.DualNodeTest;
|
||||
import org.hibernate.test.cache.infinispan.util.ExpectingInterceptor;
|
||||
import org.hibernate.testing.BeforeClassOnce;
|
||||
import org.hibernate.testing.junit4.BaseNonConfigCoreFunctionalTestCase;
|
||||
|
@ -57,6 +59,9 @@ import org.infinispan.configuration.cache.CacheMode;
|
|||
*/
|
||||
@RunWith(CustomParameterized.class)
|
||||
public abstract class AbstractFunctionalTest extends BaseNonConfigCoreFunctionalTestCase {
|
||||
|
||||
protected final InfinispanMessageLogger log = InfinispanMessageLogger.Provider.getLog( DualNodeTest.class );
|
||||
|
||||
protected static final Object[] TRANSACTIONAL = new Object[]{"transactional", JtaPlatformImpl.class, JtaTransactionCoordinatorBuilderImpl.class, XaConnectionProvider.class, AccessType.TRANSACTIONAL, true, CacheMode.INVALIDATION_SYNC, false };
|
||||
protected static final Object[] READ_WRITE_INVALIDATION = new Object[]{"read-write", null, JdbcResourceLocalTransactionCoordinatorBuilderImpl.class, null, AccessType.READ_WRITE, false, CacheMode.INVALIDATION_SYNC, false };
|
||||
protected static final Object[] READ_ONLY_INVALIDATION = new Object[]{"read-only", null, JdbcResourceLocalTransactionCoordinatorBuilderImpl.class, null, AccessType.READ_ONLY, false, CacheMode.INVALIDATION_SYNC, false };
|
||||
|
|
|
@ -32,8 +32,6 @@ import org.junit.ClassRule;
|
|||
*/
|
||||
public abstract class DualNodeTest extends AbstractFunctionalTest {
|
||||
|
||||
private static final InfinispanMessageLogger log = InfinispanMessageLogger.Provider.getLog( DualNodeTest.class );
|
||||
|
||||
@ClassRule
|
||||
public static final InfinispanTestingSetup infinispanTestIdentifier = new InfinispanTestingSetup();
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue