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
super.setUp( );
		ThreadResources.setLocale( ULocale.ENGLISH );
	}
	/**
	 * Tests the parser for the extension and the TestPeer--implementation of
	 * IPeer.
	 */
	public void testExtensionMeta( )
	{
		MetaDataDictionary dd = MetaDataDictionary.getInstance( );
		assertTrue( dd.getExtensions( ).size( ) >= 2 );
		ExtensionElementDefn extDefn = (ExtensionElementDefn) dd
				.getExtension( TESTING_MATRIX_NAME );
		assertNotNull( extDefn );
		assertEquals( "TestingMatrix", extDefn.getDisplayName( ) ); 
		assertEquals( "Element.TestingMatrix", extDefn.getDisplayNameKey( ) ); 
		assertEquals( TESTING_MATRIX_NAME, extDefn.getName( ) );
		assertEquals( MetaDataConstants.REQUIRED_NAME, extDefn.getNameOption( ) );
		assertEquals( true, extDefn.allowsUserProperties( ) );
		assertEquals( TESTING_MATRIX_NAME, extDefn.getName( ) );
		List propList = extDefn.getProperties( );
		assertNotNull( extDefn.getProperty( ExtendedItem.EXTENSION_NAME_PROP ) );
		ElementPropertyDefn prop = (ElementPropertyDefn) propList.get( 0 );
		assertEquals( prop, extDefn.getProperty( "test1" ) ); 
		assertEquals( "test1", prop.getName( ) ); 
		assertEquals( "Test1", prop.getDisplayName( ) ); 
		assertEquals( PropertyType.STRING_TYPE, prop.getTypeCode( ) );
		assertEquals( false, prop.isList( ) );
		assertEquals( null, prop.getGroupName( ) );
		assertEquals( null, prop.getChoices( ) );