HHH-6495 Putting FailureExpected on class level until the component processing via annotation is working
This commit is contained in:
parent
b818f94eb1
commit
ab72eb05ec
|
@ -28,11 +28,16 @@ import org.hibernate.metamodel.source.internal.MetadataImpl;
|
||||||
|
|
||||||
import org.hibernate.testing.FailureExpected;
|
import org.hibernate.testing.FailureExpected;
|
||||||
|
|
||||||
|
import static junit.framework.Assert.assertEquals;
|
||||||
|
import static junit.framework.Assert.assertNotNull;
|
||||||
|
import static org.junit.Assert.assertSame;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Basic tests of annotation based binding code
|
* Basic tests of annotation based binding code
|
||||||
*
|
*
|
||||||
* @author Hardy Ferentschik
|
* @author Hardy Ferentschik
|
||||||
*/
|
*/
|
||||||
|
@FailureExpected( jiraKey = "HHH-6495" )
|
||||||
public class BasicAnnotationBindingTests extends AbstractBasicBindingTests {
|
public class BasicAnnotationBindingTests extends AbstractBasicBindingTests {
|
||||||
@Override
|
@Override
|
||||||
public void addSourcesForSimpleEntityBinding(MetadataSources sources) {
|
public void addSourcesForSimpleEntityBinding(MetadataSources sources) {
|
||||||
|
@ -53,10 +58,4 @@ public class BasicAnnotationBindingTests extends AbstractBasicBindingTests {
|
||||||
public void addSourcesForComponentBinding(MetadataSources sources) {
|
public void addSourcesForComponentBinding(MetadataSources sources) {
|
||||||
sources.addAnnotatedClass( SimpleEntityWithSimpleComponent.class );
|
sources.addAnnotatedClass( SimpleEntityWithSimpleComponent.class );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
@FailureExpected( jiraKey = "HHH-6495" )
|
|
||||||
public void testSimpleEntityWithSimpleComponentMapping() {
|
|
||||||
super.testSimpleEntityWithSimpleComponentMapping();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
package org.hibernate.metamodel.binding;
|
package org.hibernate.metamodel.binding;
|
||||||
|
|
||||||
import javax.persistence.Embeddable;
|
import javax.persistence.Embeddable;
|
||||||
|
import javax.persistence.Embedded;
|
||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
import javax.persistence.Id;
|
import javax.persistence.Id;
|
||||||
|
|
||||||
|
@ -35,6 +36,7 @@ public class SimpleEntityWithSimpleComponent {
|
||||||
@Id
|
@Id
|
||||||
private Long id;
|
private Long id;
|
||||||
private String name;
|
private String name;
|
||||||
|
@Embedded
|
||||||
private SimpleComponent simpleComponent;
|
private SimpleComponent simpleComponent;
|
||||||
|
|
||||||
public SimpleEntityWithSimpleComponent() {
|
public SimpleEntityWithSimpleComponent() {
|
||||||
|
|
Loading…
Reference in New Issue