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
ReportDesignConstants.LABEL_ITEM ) ) );
		assertFalse( propHandle.canContain( ReportDesignConstants.LABEL_ITEM ) );
		
		propHandle = extendedItem.getPropertyHandle( DETAIL_PROP );
		TableHandle table = (TableHandle) propHandle.get( 0 );
		assertEquals( "testTable", table.getName( ) ); 
		
		
		SlotHandle slot = table.getDetail( ).get( 0 ).getSlot( 0 ).get( 0 )
				.getSlot( 0 );
		contentExtendedItem = (ExtendedItemHandle) slot.get( 0 );
		assertEquals( "detailBox", contentExtendedItem.getName( ) ); 
		
		propHandle = extendedItem.getPropertyHandle( FOOTER_PROP );
		GridHandle grid = (GridHandle) propHandle.get( 0 );
		assertEquals( "footerGrid", grid.getName( ) ); 
		openDesign( FILE_NAME_4 );
		extendedItem = (ExtendedItemHandle) designHandle
				.findElement( "testTable" ); 
		assertNotNull( extendedItem );
		assertNull( extendedItem.getReportItem( ) );
		assertEquals( TESTING_TABLE_NAME, extendedItem.getExtensionName( ) );
		assertNotNull( extendedItem.getDefn( ) );
		ExtensionPropertyDefn propDefn = (ExtensionPropertyDefn) extendedItem
				.getPropertyDefn( "customComments" ); 
		assertFalse( propDefn.hasOwnModel( ) );
	}
	/**
	 * Tests the writer for peer extension slot.
	 *