HHH-1780 rollback wrongly commented test
This commit is contained in:
parent
aac7e3ee7e
commit
b818f94eb1
|
@ -131,18 +131,18 @@ public abstract class AbstractBasicBindingTests extends BaseUnitTestCase {
|
||||||
@Test
|
@Test
|
||||||
public void testSimpleEntityWithSimpleComponentMapping() {
|
public void testSimpleEntityWithSimpleComponentMapping() {
|
||||||
MetadataSources sources = new MetadataSources( serviceRegistry );
|
MetadataSources sources = new MetadataSources( serviceRegistry );
|
||||||
// addSourcesForComponentBinding( sources );
|
addSourcesForComponentBinding( sources );
|
||||||
// MetadataImpl metadata = (MetadataImpl) sources.buildMetadata();
|
MetadataImpl metadata = (MetadataImpl) sources.buildMetadata();
|
||||||
// EntityBinding entityBinding = metadata.getEntityBinding( SimpleEntityWithSimpleComponent.class.getName() );
|
EntityBinding entityBinding = metadata.getEntityBinding( SimpleEntityWithSimpleComponent.class.getName() );
|
||||||
// assertRoot( metadata, entityBinding );
|
assertRoot( metadata, entityBinding );
|
||||||
// assertIdAndSimpleProperty( entityBinding );
|
assertIdAndSimpleProperty( entityBinding );
|
||||||
//
|
|
||||||
// ComponentAttributeBinding componentAttributeBinding = (ComponentAttributeBinding) entityBinding.locateAttributeBinding( "simpleComponent" );
|
ComponentAttributeBinding componentAttributeBinding = (ComponentAttributeBinding) entityBinding.locateAttributeBinding( "simpleComponent" );
|
||||||
// assertNotNull( componentAttributeBinding );
|
assertNotNull( componentAttributeBinding );
|
||||||
// assertSame( componentAttributeBinding.getAttribute().getSingularAttributeType(), componentAttributeBinding.getAttributeContainer() );
|
assertSame( componentAttributeBinding.getAttribute().getSingularAttributeType(), componentAttributeBinding.getAttributeContainer() );
|
||||||
// assertEquals( SimpleEntityWithSimpleComponent.class.getName() + ".simpleComponent", componentAttributeBinding.getPathBase() );
|
assertEquals( SimpleEntityWithSimpleComponent.class.getName() + ".simpleComponent", componentAttributeBinding.getPathBase() );
|
||||||
// assertSame( entityBinding, componentAttributeBinding.seekEntityBinding() );
|
assertSame( entityBinding, componentAttributeBinding.seekEntityBinding() );
|
||||||
// assertNotNull( componentAttributeBinding.getComponent() );
|
assertNotNull( componentAttributeBinding.getComponent() );
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract void addSourcesForSimpleVersionedEntityBinding(MetadataSources sources);
|
public abstract void addSourcesForSimpleVersionedEntityBinding(MetadataSources sources);
|
||||||
|
|
Loading…
Reference in New Issue