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/ElementFactoryTest.java
* <th width="40%">Test Case</th>
 * <th width="40%">Expected</th>
 * 
 * <tr>
 * <td>{@link #testNewElement()}</td>
 * <td>Creates the new elements.</td>
 * <td>elements are created successfully.</td>
 * </tr>
 * 
 * </table>
 */
public class ElementFactoryTest extends BaseTestCase
{
	protected void setUp( ) throws Exception
	{
		super.setUp( );
		designHandle = new SessionHandle( ULocale.getDefault( ) )
				.createDesign( );
		design = (ReportDesign) designHandle.getModule( );
	}
	/**
	 * Test the generic create element factory method.Create every type of
	 * element which was defined in reportDesignConstents.
	 * 
	 */
	public void testNewElement( )
	{
		ElementFactory factory = new ElementFactory( design );
		DesignElementHandle element = factory.newElement(
				ReportDesignConstants.DATA_ITEM, null );