Bug 172273 Grid insert to masterpage dosen't display propertily [05]
Build Number: 2.2.0.v20070131-1050 Description: As the screenshot, insert a grid (3*3) in the master page.It can't be display propertily. Step to reproduce: 1. new a report and switch to masterpage 2. insert a grid (3*3) Actual result: Please refer to the screenshot, it's abnormal.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/extension/PeerExtensionTest.java
IPropertyDefn defn = (IPropertyDefn) extDefn.getProperty( "width" ); 
		IChoiceSet set = defn.getAllowedChoices( );
		assertNotNull( set.findChoice( "in" ) );
		assertNotNull( set.findChoice( "cm" ) );
		assertNull( set.findChoice( "mm" ) );
		assertNull( set.findChoice( "pt" ) );
		set = dd.getElement( TABLE )
				.findProperty( "width" ).getAllowedChoices( ); 
		assertNotNull( set.findChoice( "in" ) );
		assertNotNull( set.findChoice( "cm" ) );
		assertNotNull( set.findChoice( "mm" ) );
		assertNotNull( set.findChoice( "pt" ) );
		
		
		
		openDesign( FILE_NAME_4 );
		ExtendedItemHandle extendedItem = (ExtendedItemHandle) designHandle
				.findElement( "testTable" ); 
		
		defn = extendedItem.getPropertyDefn( "width" );
		set = defn.getAllowedChoices( );
		
		assertNotNull( set.findChoice( "in" ) );
		assertNotNull( set.findChoice( "cm" ) );
		assertNull( set.findChoice( "mm" ) );
		assertNull( set.findChoice( "pt" ) );
		
	}
}