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/writer/DocumentUtilTest.java
.findElement( "matrix1" ); 
		assertNotNull( ( (ExtendedItem) matrix1.getElement( ) ).getExtDefn( ) );
		assertTrue( compareFile( "DocumentUtilTest_golden_6.xml" ) ); 
	}
	/**
	 * Writes the document to the internal output stream.
	 * 
	 * @throws Exception
	 */
	private void serializeDocument( ) throws Exception
	{
		os = new ByteArrayOutputStream( );
		DocumentUtil.serialize( designHandle, os );
	}
	/**
	 * If two non-named element refers the same shared style, their names should
	 * not be style names.
	 * 
	 * @throws Exception
	 */
	public void testSerializeWithSharedStyle( ) throws Exception
	{
		openDesign( DESIGN_WITH_SHARED_STYLE );
		assertNotNull( designHandle );
		serializeDocument( );
		
		assertTrue( compareFile( "DocumentUtilTest_shared_style_golden.xml" ) ); 
	}
}