Bug 196894 BIRT Cross tab, Cube - Time dimension enhancements
There were a couple of time dimension related enhancments planned post BIRT 2.2. This entry is to track those. This enhancments also includes - supporting additional predefined data time formats, that could make it easier to define data time dimension and use it in data items.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/TabularCubeParserTest.java
/**
	 * When cube1 extends another cube2. Get access control from cube1.
	 * 
	 * <ul>
	 * <li>set permission
	 * <li>add role
	 * <li>remove role
	 * </ul>
	 * 
	 * will copies access controls from cube2 first. Then change the
	 * corresponding value. Undo is also tested.
	 * 
	 * @throws Exception
	 */
	public void testContentElementCommandOnCube( ) throws Exception
	{
		openDesign( FILE_NAME_EXTENDS );
		
		TabularCubeHandle cube = (TabularCubeHandle) designHandle
				.findCube( "testCube1" ); 
		
		Iterator cubeAccess = cube.accessControlsIterator( );
		AccessControlHandle tmpAccess = (AccessControlHandle) cubeAccess.next( );
		tmpAccess.setPermission( DesignChoiceConstants.ACCESS_PERMISSION_ALLOW );
		save( );
		assertTrue( compareFile( "TabularCubeAccessControl_golden_1.xml" ) ); 
		designHandle.getCommandStack( ).undo( );
		save( );
		assertTrue( compareFile( "TabularCubeAccessControl_golden_2.xml" ) ); 
		tmpAccess.addRole( "new 2nd role" );