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/api/ElementExporterTest.java
fail( );
		}
		catch ( SemanticException e )
		{
			assertEquals(
					LibraryException.DESIGN_EXCEPTION_LIBRARY_INCLUDED_RECURSIVELY,
					e.getErrorCode( ) );
		}
	}
	/**
	 * Tests exportDesign method
	 * 
	 * @throws Exception
	 */
	public void testExportDesign( ) throws Exception
	{
		openDesign( "ElementExporterTest_6.xml" ); 
		openLibrary( "ElementExporterTestLibrary.xml" ); 
		DataItemHandle itemHandle = (DataItemHandle) designHandle
				.getElementByID( 5 );
		assertNull( itemHandle.getName( ) );
		ElementExportUtil
				.exportDesign( designHandle, libraryHandle, true, true );
		itemHandle = (DataItemHandle) libraryHandle.findElement( "NewData1" );
		assertEquals( 1, itemHandle
				.getListProperty( "boundDataColumns" ).size( ) );
		itemHandle = (DataItemHandle) libraryHandle.findElement( "NewData" );
	}
}