Bug 199537 Fail to display data in Web viewer[0002]
Description: Fail to display data in Web viewer Build number:2.2.1.v200708101407 Steps to reproduce: 1. Preview attached report in Web Viewer. Expected result: Display data. Actual result: No data. Error log:n/a
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/writer/DocumentUtilTest.java
designHandle.getModule( ).apply( visitor );
		design = visitor.getTarget( );
		designHandle = (ReportDesignHandle) design.getHandle( design );
		designHandle.serialize( os );
	}
	/**
	 * Writes the document to the internal output stream.
	 * 
	 * @throws Exception
	 */
	private void serializeNonLineBreakDocument( ) 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" ) ); 
	}
	/**
	 * For cubes that contains elements in property values. Should no exception.