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
List mapRules = (List) style.getProperty( design, Style.MAP_RULES_PROP );
		assertEquals( 5, mapRules.size( ) );
		assertEquals( DesignChoiceConstants.MAP_OPERATOR_EQ,
				( (MapRule) mapRules.get( 0 ) ).getOperator( ) );
		
		assertEquals(
				"[somefield]", ( (MapRule) mapRules.get( 0 ) ).getTestExpression( ) ); 
		assertEquals( "Closed", ( (MapRule) mapRules.get( 0 ) ).getDisplay( ) ); 
		assertEquals( "\"X\"", ( (MapRule) mapRules.get( 0 ) ).getValue1( ) ); 
		assertEquals( DesignChoiceConstants.MAP_OPERATOR_TRUE,
				( (MapRule) mapRules.get( 1 ) ).getOperator( ) );
		assertEquals( "Open", ( (MapRule) mapRules.get( 1 ) ).getDisplay( ) ); 
		assertEquals( DesignChoiceConstants.MAP_OPERATOR_LIKE,
				( (MapRule) mapRules.get( 2 ) ).getOperator( ) );
		assertEquals( "Unknown", ( (MapRule) mapRules.get( 2 ) ).getDisplay( ) ); 
		NameSpace ns = design.getNameSpace( Module.STYLE_NAME_SPACE );
		assertEquals( 18, ns.getCount( ) );
		
		StyleElement predefinedStyle = design.findStyle( "table-detail" ); 
		assertEquals( "table-detail", predefinedStyle.getName( ) ); 
		assertEquals(
				"large", predefinedStyle.getStringProperty( design, Style.FONT_SIZE_PROP ) ); 
		StyleHandle sh = (StyleHandle) style.getHandle( design );
		Iterator iter = sh.mapRulesIterator( );
		assertNotNull( iter.next( ) );
		assertNotNull( iter.next( ) );
		assertNotNull( iter.next( ) );
	}
	/**