HHH-7497 : Remove @FailureExpectedWithNewMetamodel from tests that succeed without it
This commit is contained in:
parent
8c623005fc
commit
4ae8280e97
|
@ -30,7 +30,6 @@ import org.hibernate.Session;
|
|||
import org.hibernate.Transaction;
|
||||
import org.hibernate.test.annotations.id.entities.Planet;
|
||||
import org.hibernate.test.annotations.id.entities.PlanetCheatSheet;
|
||||
import org.hibernate.testing.FailureExpectedWithNewMetamodel;
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
||||
|
||||
|
@ -49,7 +48,6 @@ public class EnumIdTest extends BaseCoreFunctionalTestCase {
|
|||
private static final Logger log = Logger.getLogger( EnumIdTest.class );
|
||||
|
||||
@Test
|
||||
@FailureExpectedWithNewMetamodel
|
||||
public void testEnumAsId() throws Exception {
|
||||
Session s = openSession();
|
||||
Transaction tx = s.beginTransaction();
|
||||
|
|
|
@ -30,7 +30,6 @@ import org.hibernate.Session;
|
|||
import org.hibernate.Transaction;
|
||||
import org.hibernate.test.annotations.id.sequences.entities.Planet;
|
||||
import org.hibernate.test.annotations.id.sequences.entities.PlanetCheatSheet;
|
||||
import org.hibernate.testing.FailureExpectedWithNewMetamodel;
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
||||
|
||||
|
@ -49,7 +48,6 @@ public class EnumIdTest extends BaseCoreFunctionalTestCase {
|
|||
private static final Logger log = Logger.getLogger( EnumIdTest.class );
|
||||
|
||||
@Test
|
||||
@FailureExpectedWithNewMetamodel
|
||||
public void testEnumAsId() throws Exception {
|
||||
Session s = openSession();
|
||||
Transaction tx = s.beginTransaction();
|
||||
|
|
|
@ -26,7 +26,6 @@ package org.hibernate.test.annotations.various;
|
|||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.Session;
|
||||
import org.hibernate.testing.FailureExpectedWithNewMetamodel;
|
||||
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
@ -39,7 +38,6 @@ import static org.junit.Assert.assertEquals;
|
|||
public class OptimisticLockAnnotationTest extends BaseCoreFunctionalTestCase {
|
||||
|
||||
@Test
|
||||
@FailureExpectedWithNewMetamodel
|
||||
public void testOptimisticLockExcludeOnNameProperty() throws Exception {
|
||||
Conductor c = new Conductor();
|
||||
c.setName( "Bob" );
|
||||
|
|
|
@ -6,12 +6,10 @@ import java.util.Map;
|
|||
import org.hibernate.cache.ehcache.EhCacheRegionFactory;
|
||||
import org.hibernate.cfg.Configuration;
|
||||
import org.hibernate.cfg.Environment;
|
||||
import org.hibernate.testing.FailureExpectedWithNewMetamodel;
|
||||
|
||||
/**
|
||||
* @author Alex Snaps
|
||||
*/
|
||||
@FailureExpectedWithNewMetamodel
|
||||
public class EhCacheRegionFactoryImpl extends EhCacheTest {
|
||||
|
||||
@Override
|
||||
|
|
|
@ -6,12 +6,10 @@ import org.hibernate.cache.ehcache.EhCacheRegionFactory;
|
|||
import org.hibernate.cache.ehcache.internal.strategy.ItemValueExtractor;
|
||||
import org.hibernate.cfg.Configuration;
|
||||
import org.hibernate.cfg.Environment;
|
||||
import org.hibernate.testing.FailureExpectedWithNewMetamodel;
|
||||
|
||||
/**
|
||||
* @author Alex Snaps
|
||||
*/
|
||||
@FailureExpectedWithNewMetamodel
|
||||
public class EhCacheRegionTest extends EhCacheTest {
|
||||
@Override
|
||||
protected void configCache(final Configuration cfg) {
|
||||
|
|
Loading…
Reference in New Issue