Bug 191410 [Regression] Can not new a report from predefined dual column chart & listing template [00]
Description: Can not new a report from predefined dual column chart & listing template. Build number: 2.2.0.v20070607-0630 Steps to reproduce: 1. New a report from predefined dual column chart & listing template. Expected result: The report can be created. Actual result: XML Source page shows up after click finish. Error log: N/A
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/TemplateElementParserTest.java
label = designHandle.getElementFactory( ).newLabel( null );
		label.setProperty( IDesignElementModel.REF_TEMPLATE_PARAMETER_PROP,
				"NonexisttemplateLabelParam" ); 
		designHandle.getBody( ).add( label );
		assertEquals( designHandle, label.getContainer( ) );
		assertNull( label
				.getProperty( IDesignElementModel.REF_TEMPLATE_PARAMETER_PROP ) );
	}
	/**
	 * Tests canTransformToTemplate(). Now support template for data set and
	 * part of report items. Auto text does not support template.
	 * 
	 * @throws Exception
	 */
	public void testCanTransformToTemplateForReportItem( ) throws Exception
	{
		openDesign( parserFileName );
		SimpleMasterPageHandle masterPage = (SimpleMasterPageHandle) designHandle
				.getMasterPages( ).get( 0 );
		AutoTextHandle autoText = designHandle.getElementFactory( )
				.newAutoText( "test" ); 
		masterPage.getPageHeader( ).dropAndClear( 0 );
		masterPage.getPageHeader( ).add( autoText );
		assertFalse( autoText.canTransformToTemplate( ) );
	}
	/**
	 * Implements a listener.
	 */
	class MyListener implements Listener