Bug 188052 Enhance the behavior of DimensionConditionHandle
Current in model implementation, there could be multiple DimensionConditionHandle corresponding to one dimension. This will cause problem for both UI and DtE. What we expect is that for each dimension, there are only one DimensionConditionHandle accompany with. Model should merge all the duplicate DimensionConditionHandle so that when UI/DtE is using model API the we can get unique DimensionConditionHandle for each dimension.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/TabularCubeParserTest.java
clonedCube.getHandle( design ) );
		
		save( );
		assertTrue( compareFile( "CubeParserTest_golden_1.xml" ) ); 		
	}
	/**
	 * Tests cases for cube1 extends another cube2.
	 * 
	 * <ul>
	 * <li>if one new access control is added to the cube1. Access controls on
	 * cube2 will be copies to cube1 first.
	 * <li>if one new value access control is added to the level in the cube1.
	 * Value access controls on the level cube2 will be copies to the level of
	 * cube1 first.
	 * </ul>
	 * 
	 * @throws Exception
	 */
	public void testExtends( ) throws Exception
	{
		openDesign( FILE_NAME_EXTENDS );
		assertNotNull( designHandle );
		
		libraryHandle = designHandle.getLibrary( "Lib1" ); 
		TabularCubeHandle cube = (TabularCubeHandle) libraryHandle
				.findCube( "testCube" ); 
		TabularCubeHandle newCube = (TabularCubeHandle) designHandle
				.getElementFactory( ).newElementFrom( cube, null );
		designHandle.getCubes( ).add( newCube );
		save( );