Bug 179629 After create a x-tab with a cube, a error occurs in Problems sheet[1102]
Description: After create a x-tab with a cube, a error occurs in Problems sheet[1102] Build number: 2.2.0.v20070328-0630 Steps to reproduce: 1, Create a cube 2, Create a x-tab using the cube 3, Check the error message in Problems sheet Expected result: No error occurs after create a x-tab Actual result: The error message is "The ExtendedItem must be able to access one data set."
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/extension/ReportItemExtensionTest.java
openDesign( fileName_2 );
			fail( );
		}
		catch ( DesignFileException e )
		{
			assertEquals( DesignFileException.DESIGN_EXCEPTION_SYNTAX_ERROR, e
					.getErrorCode( ) );
			List errors = e.getErrorList( );
			assertEquals( 2, errors.size( ) );
			assertEquals( WrongTypeException.DESIGN_EXCEPTION_WRONG_TYPE,
					( (ErrorDetail) errors.get( 0 ) ).getErrorCode( ) );
			assertEquals( SemanticError.DESIGN_EXCEPTION_MISSING_EXTENSION,
					( (ErrorDetail) errors.get( 1 ) ).getErrorCode( ) );
		}
	}
	/**
	 * Tests the property search. TODO: test getFactoryProperty.
	 * 
	 * @throws Exception
	 */
	public void testGetProperty( ) throws Exception
	{
		openDesign( fileName_3 );
		ExtendedItemHandle extendedHandle = (ExtendedItemHandle) designHandle
				.findElement( "right extended item" ); 
		assertNotNull( extendedHandle );
		assertEquals( 1.2, extendedHandle.getX( ).getMeasure( ), 0.0 );
		assertEquals( 2.4, extendedHandle.getY( ).getMeasure( ), 0.0 );
		
		assertEquals( "parent value", extendedHandle.getProperty( "test1" ) );