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/parser/StyleParseTest.java
* Test property searching algorithm. At the same time, test the
	 * {@link org.eclipse.birt.report.model.core.StyledElement #getFactoryProperty }
	 * method in StyledElement.
	 * 
	 * @throws Exception
	 *             any exception caught
	 */
	public void testSearchingProperty( ) throws Exception
	{
		openDesign( fileName );
		
		FreeForm form = (FreeForm) design.findElement( "My First Form" ); 
		Label label = (Label) form.getSlot( FreeForm.REPORT_ITEMS_SLOT )
				.getContent( 0 );
		assertEquals( "4mm", label.getStringProperty( design, Label.WIDTH_PROP ) ); 
		assertEquals(
				"4mm", label.getFactoryProperty( design, Label.WIDTH_PROP ).toString( ) ); 
		
		
		form = (FreeForm) design.findElement( "My Second Form" ); 
		label = (Label) form.getSlot( FreeForm.REPORT_ITEMS_SLOT ).getContent(
				0 );
		assertEquals( "My Style", label.getStyleName( ) ); 
		assertEquals(
				"bold", label.getStringProperty( design, Style.FONT_WEIGHT_PROP ) ); 
		assertEquals(
				"bold", label.getFactoryProperty( design, Style.FONT_WEIGHT_PROP ).toString( ) ); 
		
		
		form = (FreeForm) design.findElement( "My Third Form" );