Skip to content

Commit bc71c7a

Browse files
committed
Post-merge: handled failing tests
1 parent 18e44d1 commit bc71c7a

File tree

5 files changed

+8
-2
lines changed

5 files changed

+8
-2
lines changed

hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/DDLTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void testNotNullOnlyAppliedIfEmbeddedIsNotNullItself() throws Exception {
8686
"Validator annotations are applied on tuner as it is @NotNull", false, column.isNullable()
8787
);
8888

89-
column = SchemaUtil.getColumn( Tv.class, "time", metadata() );
89+
column = SchemaUtil.getColumn( Tv.class, "`time`", metadata() );
9090
assertEquals(
9191
"Validator annotations were not applied on recorder", true, column.isNullable()
9292
);

hibernate-core/src/test/java/org/hibernate/test/annotations/collectionelement/QueryTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,14 @@
2727

2828
import org.junit.Test;
2929

30+
import org.hibernate.testing.FailureExpectedWithNewMetamodel;
3031
import org.hibernate.testing.TestForIssue;
3132
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
3233

3334
/**
3435
* @author Steve Ebersole
3536
*/
37+
@FailureExpectedWithNewMetamodel
3638
public class QueryTest extends BaseCoreFunctionalTestCase {
3739
@Override
3840
protected Class<?>[] getAnnotatedClasses() {

hibernate-core/src/test/java/org/hibernate/test/annotations/enumerated/mapkey/MapKeyEnumeratedTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@
2727

2828
import org.junit.Test;
2929

30+
import org.hibernate.testing.FailureExpectedWithNewMetamodel;
3031
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
3132

3233
/**
3334
* @author Steve Ebersole
3435
*/
36+
@FailureExpectedWithNewMetamodel
3537
public class MapKeyEnumeratedTest extends BaseCoreFunctionalTestCase {
3638
@Override
3739
protected Class<?>[] getAnnotatedClasses() {

hibernate-core/src/test/java/org/hibernate/test/annotations/enumerated/ormXml/OrmXmlEnumTypeTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
import org.junit.Test;
3131

32+
import org.hibernate.testing.FailureExpectedWithNewMetamodel;
3233
import org.hibernate.testing.TestForIssue;
3334
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
3435
import org.hibernate.testing.junit4.ExtraAssertions;
@@ -38,6 +39,7 @@
3839
/**
3940
* @author Steve Ebersole
4041
*/
42+
@FailureExpectedWithNewMetamodel
4143
@TestForIssue( jiraKey = "HHH-7645" )
4244
public class OrmXmlEnumTypeTest extends BaseCoreFunctionalTestCase {
4345
@Override

hibernate-core/src/test/java/org/hibernate/test/annotations/lob/SerializableToBlobTypeTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
*
1717
* @author Janario Oliveira
1818
*/
19-
@FailureExpectedWithNewMetamodel // TypeDef w/o name
2019
public class SerializableToBlobTypeTest extends BaseCoreFunctionalTestCase {
2120
@Test
2221
public void testTypeDefinition() {
@@ -47,6 +46,7 @@ public void testTypeDefinition() {
4746
assertEquals( ExplicitSerializableType.class.getName(), overrideType.getName() );
4847
}
4948

49+
@FailureExpectedWithNewMetamodel
5050
@Test
5151
public void testPersist() {
5252
EntitySerialize entitySerialize = new EntitySerialize();

0 commit comments

Comments
 (0)