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
assertEquals( IPropertyType.ELEMENT_TYPE, slotPropertyDefn
				.getTypeCode( ) );
		assertEquals(
				"Element.TestingBox.slot.header", slotPropertyDefn.getDisplayNameID( ) ); 
		assertEquals( "defaultHeader", slotPropertyDefn.getDisplayName( ) ); 
		assertFalse( slotPropertyDefn.isList( ) );
		List allowedElements = slotPropertyDefn.getAllowedElements( false );
		assertEquals( 3, allowedElements.size( ) );
		assertTrue( allowedElements.contains( dd
				.getElement( ReportDesignConstants.LABEL_ITEM ) ) );
		assertTrue( allowedElements.contains( dd
				.getElement( ReportDesignConstants.GRID_ITEM ) ) );
		assertTrue( allowedElements.contains( dd.getElement( "TestingMatrix" ) ) ); 
		
		slotPropertyDefn = (PropertyDefn) extDefn.getProperty( DETAIL_PROP );
		assertEquals(
				"Element.TestingBox.slot.detail", slotPropertyDefn.getDisplayNameID( ) ); 
		assertEquals( "defaultDetail", slotPropertyDefn.getDisplayName( ) ); 
		assertTrue( slotPropertyDefn.isList( ) );
		assertEquals( 4, slotPropertyDefn.getAllowedElements( false ).size( ) );
		assertTrue( slotPropertyDefn.getAllowedElements( ).size( ) > 4 );
		
		slotPropertyDefn = (PropertyDefn) extDefn.getProperty( FOOTER_PROP );
		assertEquals( "footer", slotPropertyDefn.getName( ) ); 
		assertEquals(
				"Element.TestingBox.slot.footer", slotPropertyDefn.getDisplayNameID( ) ); 
		assertEquals( "defaultFooter", slotPropertyDefn.getDisplayName( ) ); 
		assertFalse( slotPropertyDefn.isList( ) );
	}
	/**