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
createDesign( );
		ElementFactory factory = designHandle.getElementFactory( );
		LabelHandle label = factory.newLabel( "aaa" ); 
		label.setProperty( IStyleModel.COLOR_PROP, "red" ); 
		assertEquals( 16711680, label.getIntProperty( IStyleModel.COLOR_PROP ) );
		assertEquals( 16711680, label
				.getPropertyHandle( IStyleModel.COLOR_PROP ).getIntValue( ) );
		assertEquals( IColorConstants.RED, label.getPropertyHandle(
				IStyleModel.COLOR_PROP ).getStringValue( ) );
		assertEquals( IColorConstants.RED, label
				.getStringProperty( IStyleModel.COLOR_PROP ) );
	}
	/**
	 * Tests setValue method.
	 * 
	 * @throws Exception
	 */
	public void testSetValue( ) throws Exception
	{
		openDesign( "PropertyHandleTest_setValue.xml" );
		OdaDataSetHandle odaHandle = (OdaDataSetHandle) designHandle
				.getElementByID( 35 );
		assertNotNull( odaHandle );
		PropertyHandle propHandle = odaHandle
				.getPropertyHandle( OdaDataSetHandle.RESULT_SET_PROP );
		propHandle.setValue( new ArrayList( ) );
		assertFalse( propHandle.iterator( ).hasNext( ) );
		super.compareFile( "PropertyHandleTest_setValue_golden.xml" );
	}
}