Bug 190579 TVT33:TCT538: pt - advanced properties' values are not externalised
<response_by> Sara Santa Clara at 2007.06.01.09.46.36 </response_by> OS: Windows Build date: 0531 Component name: BIRT Blocking: no Tester name: Sara Santa Clara Steps to recreate the problem: In the Navigator, double click on the Test_Report_1.retpdesign to open it. Click CUSTOMNAME text control on the report and select Advanced in the Property Editor. Problem description: The values in the second column are not externalised (e.g. Font Colour and Text Alignment). See attached screen capture for details. Thank you! Sara <response_by> Bryan Green at 2007.06.01.09.48.12 </response_by> This article was reassigned from Category:''TVT Testcases''. <response_by> Bryan Green at 2007.06.01.10.49.34 </response_by> Changing status in TCT.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/GroupElementHandleTest.java
.newGraphicMasterPage( "page1" ); 
		DesignElementHandle handle2 = elemFactory.newSimpleMasterPage( "page2" ); 
		ArrayList elements = new ArrayList( );
		elements.add( handle1 );
		elements.add( handle2 );
		GroupElementHandle groupElementHandle = new SimpleGroupElementHandle(
				designHandle, elements );
		
		groupElementHandle.setStringProperty( MasterPage.TYPE_PROP,
				DesignChoiceConstants.PAGE_SIZE_CUSTOM );
		groupElementHandle.setStringProperty( MasterPage.HEIGHT_PROP, "12pt" ); 
		assertEquals(
				"12pt", handle1.getStringProperty( MasterPage.HEIGHT_PROP ) ); 
		assertEquals(
				"12pt", handle2.getStringProperty( MasterPage.HEIGHT_PROP ) ); 
		groupElementHandle.clearProperty( MasterPage.HEIGHT_PROP );
		assertNull( handle1.getStringProperty( MasterPage.HEIGHT_PROP ) );
		assertNull( handle2.getStringProperty( MasterPage.HEIGHT_PROP ) );
		
		UserPropertyDefn up1 = new UserPropertyDefn( );
		up1.setName( "UP1" ); 
		up1.setType( MetaDataDictionary.getInstance( ).getPropertyType(
				PropertyType.INTEGER_TYPE ) );
		handle1.addUserPropertyDefn( up1 );
		handle2.addUserPropertyDefn( up1 );
		groupElementHandle.setProperty( "UP1", "123" ); 
		assertEquals( "123", handle1.getStringProperty( "UP1" ) ); 
		assertEquals( "123", handle2.getStringProperty( "UP1" ) );