HHH-1780 rollback wrongly commented test

This commit is contained in:
Strong Liu 2011-07-28 17:53:06 +08:00
parent aac7e3ee7e
commit b818f94eb1
1 changed files with 12 additions and 12 deletions

View File

@ -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);