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
}
	}
	/**
	 * Tests TestingBox attribute.
	 */
	public void testTestingBox( )
	{
		MetaDataDictionary dd = MetaDataDictionary.getInstance( );
		ExtensionElementDefn extDefn = (ExtensionElementDefn) dd
				.getExtension( TESTING_BOX_NAME );
		assertNotNull( extDefn );
		assertEquals( "TestingBox", extDefn.getDisplayName( ) ); 
		assertEquals( null, extDefn.getDisplayNameKey( ) );
		assertEquals( TESTING_BOX_NAME, extDefn.getName( ) );
		assertEquals( MetaDataConstants.REQUIRED_NAME, extDefn.getNameOption( ) );
		assertEquals( true, extDefn.allowsUserProperties( ) );
		assertEquals( true, extDefn.hasStyle( ) );
		List propList = extDefn.getProperties( );
		ElementPropertyDefn prop = (ElementPropertyDefn) extDefn
				.getProperty( "usage" ); 
		assertEquals( prop, extDefn.getProperty( "usage" ) ); 
		assertEquals( "usage", prop.getName( ) ); 
		assertEquals( "usage", prop.getDisplayName( ) ); 
		assertEquals( PropertyType.STRING_TYPE, prop.getTypeCode( ) );
		assertEquals( false, prop.isList( ) );
		assertEquals( null, prop.getGroupName( ) );
		assertEquals( null, prop.getChoices( ) );
		assertEquals( null, prop.getStructDefn( ) );
		assertEquals( "paper", prop.getDefault( ) ); 
		assertEquals( true, prop.canInherit( ) );