Bug 193895 Can not select the data cube in advanced and properties[1102]
Description: Can not select the data cube in advanced and properties[1102] Step: 1.New a report design, datasource, dataset, data cube 2.New a cross table 3.Switch Property Editor - Advanced 4.Switch Properties Actual result: Select the Cube selection and spread the drop down list, no data cube in it. Exception result: It can select the data cube in advance or properties
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/PropertyHandleTest.java
MapRule newRule = new MapRule( );
		newRule.setValue1( "value1" ); 
		propHandle.addItem( newRule );
		propHandle.addItem( newRule );
		assertEquals( 2, propHandle.getListValue( ).size( ) );
		MapRuleHandle mapRuleHandle0 = (MapRuleHandle) propHandle.getAt( 0 );
		assertEquals( "value1", mapRuleHandle0.getValue1( ) ); 
		MapRuleHandle mapRuleHandle1 = (MapRuleHandle) propHandle.getAt( 1 );
		assertEquals( "value1", mapRuleHandle1.getValue1( ) ); 
		mapRuleHandle0.setValue1( "new value" ); 
		assertEquals( "new value", mapRuleHandle1.getValue1( ) ); 
		propHandle.removeItem( newRule );
		assertEquals( 1, propHandle.getListValue( ).size( ) );
	}
	/**
	 * Tests to set and get property values.
	 * 
	 * @throws Exception
	 *             if values are invalid or the output file cannot be saved
	 *             correctly.
	 */
	public void testSetGetValues( ) throws Exception
	{
		StyleElement myStyle = design.findStyle( "Style1" ); 
		
		PropertyHandle propHandle = myStyle.getHandle( design )
				.getPropertyHandle( Style.MAP_RULES_PROP );
		List rules = (List) myStyle.getProperty( design, Style.MAP_RULES_PROP );
		MapRule rule = new MapRule( );
		rule.setProperty( MapRule.DISPLAY_MEMBER, "set map rules" );