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
LabelHandle label = (LabelHandle) designHandle.findElement( "label1" ); 
		String bkColor = label.getStringProperty( Style.BACKGROUND_COLOR_PROP );
		assertEquals( "gray", bkColor ); 
	}
	/**
	 * Write page break inside since 3.2.8
	 * 
	 * @throws Exception
	 */
	public void testWriterPageBreak( ) throws Exception
	{
		openDesign( fileName );
		LabelHandle label = (LabelHandle) designHandle.findElement( "label1" ); 
		label.setProperty( IStyleModel.PAGE_BREAK_INSIDE_PROP,
				DesignChoiceConstants.PAGE_BREAK_INSIDE_AVOID );
		save( );
		assertTrue( compareFile( "testWriterPageBreak_golden.xml" ) );   
	}
	/**
	 * Tests to open and save the old design file.
	 * 
	 * @throws Exception
	 */
	public void testOpenSaveObsoleteFile( ) throws Exception
	{
		openDesign( "StyleParseTest_obsolete.xml" ); 
		save( );
		assertTrue( compareFile( "StyleParseTest_obsolete_golden.xml" ) ); 
	}
}