Bug 129900 Designer unit test has failures and errors in daily build 20060301
please see attached log file.
UI/org.eclipse.birt.report.designer.tests/test/org/eclipse/birt/report/designer/core/commands/SetConstraintCommandTest.java
Dimension dim = adapter.calculateSize( );
		assertEquals( 200, dim.width );
		assertEquals( 100, dim.height );
	}
	public void testSetConstraintImageCmd( ) throws SemanticException
	{
		ImageHandle newImage = getElementFactory( ).newImage( "Test Image" );
		newImage.setWidth( 150 );
		newImage.setHeight( 180 );
		assertEquals( 150, (int) newImage.getWidth( ).getMeasure( ) );
		assertEquals( 180, (int) newImage.getHeight( ).getMeasure( ) );
		SetConstraintCommand cmd = new SetConstraintCommand( );
		Dimension size = new Dimension( 200, 100 );
		cmd.setModel( newImage );
		cmd.setSize( size );
		cmd.execute( );
		assertTrue( newImage.getWidth( )
				.getUnits( )
				.equals( DesignChoiceConstants.UNITS_PX ) );
		assertTrue( newImage.getHeight( )
				.getUnits( )
				.equals( DesignChoiceConstants.UNITS_PX ) );
		assertEquals( 200, (int) newImage.getWidth( ).getMeasure( ) );
		assertEquals( 100, (int) newImage.getHeight( ).getMeasure( ) );
	}
	public void testSetConstraintDataItemCmd( )
	{
		DataItemHandle dataItem = getElementFactory( ).newDataItem( "TestDataItem" );
		SetConstraintCommand cmd = new SetConstraintCommand( );
		Dimension size = new Dimension( 100, 50 );