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
* <li>Drop a content which has 'extends', 'name' property and a style.Undo
	 * and redo the operation.
	 * </ul>
	 * 
	 * 
	 * @throws Exception
	 *             if any exception
	 */
	public void testUndoRedoAfterRemove( ) throws Exception
	{
		
		FreeForm content = new FreeForm( );
		FreeForm parent = new FreeForm( );
		parent.setName( "parent" ); 
		content.setName( "innerContainer" ); 
		Style style = new Style( "style" ); 
		ActivityStack as = design.getActivityStack( );
		try
		{
			ContentCommand command = new ContentCommand( design,
					new ContainerContext( new Label( ), 0 ) );
			command.add( content );
			fail( );
		}
		catch ( SemanticException e )
		{
			assertTrue( e instanceof ContentException );
			ContentException ex = (ContentException) e;
			assertEquals( ContentException.DESIGN_EXCEPTION_NOT_CONTAINER, ex
					.getErrorCode( ) );