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
ExtendedItemHandle extendedItemHandle = (ExtendedItemHandle) designHandle
				.findElement( "testMatrixItem" ); 
		assertNotNull( extendedItemHandle );
		PropertyDefn defn = extendedItemHandle.getElement( ).getPropertyDefn(
				"abc" ); 
		assertNotNull( defn );
		assertTrue( defn instanceof UserPropertyDefn );
	}
	/**
	 * Tests get/set altText and altTextID properties.
	 * 
	 * @throws Exception
	 *             if opening design file failed.
	 */
	public void testAltTextProperty( ) throws Exception
	{
		openDesign( "ExtensionTest_AltText.xml" );
		ExtendedItemHandle extendedHandle = (ExtendedItemHandle) designHandle
				.getBody( ).get( 0 );
		assertNotNull( extendedHandle );
		assertEquals( "chart is beautiful", extendedHandle.getAltText( ) ); 
		assertEquals( "chart id", extendedHandle.getAltTextKey( ) ); 
		extendedHandle.setAltText( "chart alt text" );
		extendedHandle.setAltTextKey( "chart id 2" );
		assertEquals( "chart alt text", extendedHandle.getAltText( ) ); 
		assertEquals( "chart id 2", extendedHandle.getAltTextKey( ) ); 
		save( );
		assertTrue( compareFile( "ExtensionTest_AltText_golden.xml" ) );
	}
}