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
assertEquals( "Test5", prop.getDisplayName( ) ); 
		assertEquals( PropertyType.CHOICE_TYPE, prop.getTypeCode( ) );
		assertEquals( false, prop.isList( ) );
		assertEquals( null, prop.getGroupName( ) );
		assertEquals( null, prop.getStructDefn( ) );
		assertEquals( null, prop.getDefault( ) );
		assertEquals( false, prop.canInherit( ) );
		IChoiceSet choiceSet = prop.getChoices( );
		assertEquals( 3, choiceSet.getChoices( ).length );
		IChoice[] choices = choiceSet.getChoices( );
		assertEquals( "choice1", choices[0].getName( ) ); 
		assertEquals( "one", choices[0].getValue( ) ); 
		assertEquals( "Choices.test5.choice1", choices[0].getDisplayNameKey( ) ); 
		assertEquals( "Choice One", choices[0].getDisplayName( ) ); 
		assertEquals( "choice2", choices[1].getName( ) ); 
		assertEquals( "two", choices[1].getValue( ) ); 
		assertEquals( "Choices.test5.choice2", choices[1].getDisplayNameKey( ) ); 
		assertEquals( "Choice Two", choices[1].getDisplayName( ) ); 
		assertEquals( "choice3", choices[2].getName( ) ); 
		assertEquals( "three", choices[2].getValue( ) ); 
		assertEquals( "Choices.test5.choice3", choices[2].getDisplayNameKey( ) ); 
		assertEquals( "choice3", choices[2].getDisplayName( ) ); 
		prop = (ElementPropertyDefn) extDefn.getProperty( "test6" ); 
		assertEquals( "Group 1", prop.getGroupName( ) ); 
		prop = (ElementPropertyDefn) extDefn.getProperty( "test7" ); 
		assertEquals( "Group 1", prop.getGroupName( ) ); 
		List methods = extDefn.getMethods( );
		ElementPropertyDefn methodProp = (ElementPropertyDefn) methods.get( 0 );
		IMethodInfo method = methodProp.getMethodInfo( );
		assertNotNull( method );