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
assertTrue( dd.getExtensions( ).size( ) >= 3 );
		ElementDefn extendedCell = (ElementDefn) dd
				.getExtension( "TestingTable" ); 
		assertNotNull( extendedCell );
		assertEquals( dd.getElement( ReportDesignConstants.TABLE_ITEM ),
				extendedCell.getParent( ) );
		PropertyDefn extensionName = (PropertyDefn) extendedCell
				.getProperty( ExtendedItem.EXTENSION_NAME_PROP );
		assertNotNull( extensionName );
	}
	/**
	 * 
	 * @throws Exception
	 */
	public void testActionHandleInExtension( ) throws Exception
	{
		openDesign( FILE_NAME_3 );
		ExtendedItemHandle extendedItem = (ExtendedItemHandle) designHandle
				.findElement( "testBox" ); 
		assertNotNull( extendedItem );
		PropertyDefn actionDefn = (PropertyDefn) extendedItem
				.getPropertyDefn( IImageItemModel.ACTION_PROP );
		assertNotNull( actionDefn );
		ImageHandle image = (ImageHandle) designHandle
				.findElement( "testImage" ); 
		ActionHandle imageAction = image.getActionHandle( );
		assertNotNull( imageAction );
		String actionString = ModuleUtil.serializeAction( imageAction );
		ActionHandle extendedAction = ModuleUtil.deserializeAction(
				actionString, extendedItem );