Bug 194843 Cross tab Cube - Cannot delete a dimension using the cube builder
- Open the attached report design - Delete the "Region" group. Current behavior - Does now allow me to delete the group.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/command/ContentCommandTest.java
}
		containerHandle.getSlot( 0 ).add( content.getHandle( design ) );
		content.setStyle( style );
		content.setExtendsElement( parent );
		Object obj = container.getSlot( 0 ).getContent( 0 );
		assertEquals( content, obj );
		assertEquals( style, content.getStyle( ) );
		assertNotNull( content.getExtendsElement( ) );
		containerHandle.getSlot( 0 ).dropAndClear( 0 );
		assertTrue( container.getSlot( 0 ).getCount( ) == 0 );
		
		assertNull( content.getStyle( ) );
		assertNull( content.getExtendsElement( ) );
		
		assertEquals( 0, style.getClientList( ).size( ) );
		assertEquals( 0, parent.getSlot( 0 ).getCount( ) );
		assertEquals( 0, parent.getDerived( ).size( ) );
		
		assertFalse( as.canRedo( ) );
		assertTrue( as.canUndo( ) );
		as.undo( );
		assertTrue( container.getSlot( 0 ).getCount( ) == 1 );
		
		assertEquals( style, content.getStyle( ) );
		assertEquals( content,
				( (BackRef) style.getClientList( ).get( 0 ) ).element );
		
		assertEquals( parent, content.getExtendsElement( ) );
		assertEquals( content, parent.getDescendents( ).get( 0 ) );