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/parser/StyleParseTest.java
*/
	public void testWriteHighlightRules( ) throws Exception
	{
		openDesign( "StyleParseTest_1.xml" ); 
		StyleHandle styleHandle = designHandle.findStyle( "My Style" ); 
		Iterator highlightHandles = styleHandle.highlightRulesIterator( );
		assertNotNull( highlightHandles );
		HighlightRuleHandle highlightHandle = (HighlightRuleHandle) highlightHandles
				.next( );
		assertEquals( "[this]", highlightHandle.getTestExpression( ) ); 
		ColorHandle colorHandle = highlightHandle.getColor( );
		colorHandle.setRGB( 0xFF0088 );
		colorHandle = highlightHandle.getBackgroundColor( );
		assertNotNull( colorHandle );
		colorHandle.setStringValue( "red" ); 
		colorHandle = highlightHandle.getBorderBottomColor( );
		try
		{
			colorHandle.setStringValue( "nocolor" );  
			fail( );
		}
		catch ( PropertyValueException e )
		{
			assertEquals( e.getErrorCode( ),
					PropertyValueException.DESIGN_EXCEPTION_INVALID_VALUE );
		}
		colorHandle = highlightHandle.getBorderLeftColor( );
		colorHandle.setRGB( 0x123456 );
		colorHandle = highlightHandle.getBorderRightColor( );
		colorHandle.setRGB( 0x654321 );