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
assertEquals( otherCont, cont.getSlot( 0 ).getContent( 0 ) );
		containerHandle.getSlot( 0 ).dropAndClear( cont.getHandle( design ) );
		assertEquals( 0, container.getSlot( 0 ).getCount( ) );
		assertEquals( 0, cont.getSlot( 0 ).getCount( ) );
		assertEquals( 0, otherCont.getSlot( 0 ).getCount( ) );
		assertNull( label.getContainer( ) );
		assertEquals( 0, style.getClientList( ).size( ) );
	}
	/**
	 * test sendNotifications().
	 * 
	 * @throws SemanticException
	 */
	public void testSendNotifications( ) throws SemanticException
	{
		MyContentListener containerListener = new MyContentListener( );
		designHandle.addListener( containerListener );
		FreeFormHandle contentHandle = designHandle.getElementFactory( )
				.newFreeForm( "Form1" ); 
		FreeFormHandle contentHandle2 = designHandle.getElementFactory( )
				.newFreeForm( "Form2" ); 
		
		designHandle.getBody( ).add( contentHandle );
		assertEquals( MyContentListener.ADDED, containerListener.action );
		assertTrue( containerListener.event instanceof ContentEvent );
		assertEquals( contentHandle.getElement( ),
				( (ContentEvent) containerListener.event ).getContent( ) );
		designHandle.getBody( ).add( contentHandle2 );
		assertEquals( MyContentListener.ADDED, containerListener.action );
		assertTrue( containerListener.event instanceof ContentEvent );