Post-merge: handled failing tests

This commit is contained in:
Brett Meyer 2012-11-15 15:59:11 -05:00
parent 18e44d1739
commit bc71c7a762
5 changed files with 8 additions and 2 deletions

View File

@ -86,7 +86,7 @@ public class DDLTest extends BaseCoreFunctionalTestCase {
"Validator annotations are applied on tuner as it is @NotNull", false, column.isNullable()
);
column = SchemaUtil.getColumn( Tv.class, "time", metadata() );
column = SchemaUtil.getColumn( Tv.class, "`time`", metadata() );
assertEquals(
"Validator annotations were not applied on recorder", true, column.isNullable()
);

View File

@ -27,12 +27,14 @@ import org.hibernate.Session;
import org.junit.Test;
import org.hibernate.testing.FailureExpectedWithNewMetamodel;
import org.hibernate.testing.TestForIssue;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
/**
* @author Steve Ebersole
*/
@FailureExpectedWithNewMetamodel
public class QueryTest extends BaseCoreFunctionalTestCase {
@Override
protected Class<?>[] getAnnotatedClasses() {

View File

@ -27,11 +27,13 @@ import org.hibernate.Session;
import org.junit.Test;
import org.hibernate.testing.FailureExpectedWithNewMetamodel;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
/**
* @author Steve Ebersole
*/
@FailureExpectedWithNewMetamodel
public class MapKeyEnumeratedTest extends BaseCoreFunctionalTestCase {
@Override
protected Class<?>[] getAnnotatedClasses() {

View File

@ -29,6 +29,7 @@ import org.hibernate.type.Type;
import org.junit.Test;
import org.hibernate.testing.FailureExpectedWithNewMetamodel;
import org.hibernate.testing.TestForIssue;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
import org.hibernate.testing.junit4.ExtraAssertions;
@ -38,6 +39,7 @@ import static org.junit.Assert.assertFalse;
/**
* @author Steve Ebersole
*/
@FailureExpectedWithNewMetamodel
@TestForIssue( jiraKey = "HHH-7645" )
public class OrmXmlEnumTypeTest extends BaseCoreFunctionalTestCase {
@Override

View File

@ -16,7 +16,6 @@ import static org.junit.Assert.assertEquals;
*
* @author Janario Oliveira
*/
@FailureExpectedWithNewMetamodel // TypeDef w/o name
public class SerializableToBlobTypeTest extends BaseCoreFunctionalTestCase {
@Test
public void testTypeDefinition() {
@ -47,6 +46,7 @@ public class SerializableToBlobTypeTest extends BaseCoreFunctionalTestCase {
assertEquals( ExplicitSerializableType.class.getName(), overrideType.getName() );
}
@FailureExpectedWithNewMetamodel
@Test
public void testPersist() {
EntitySerialize entitySerialize = new EntitySerialize();