Bug 176800 Errors/Failures found in Junit test of org.eclipse.birt.report.model.adapter.oda.tests in daily build 20070309
Errors/Failures found in Junit test of org.eclipse.birt.report.model.adapter.oda.tests in daily build 20070309. Please see the attachment for details
model/org.eclipse.birt.report.model.adapter.oda.tests/test/org/eclipse/birt/report/model/adapter/oda/api/OdaDataSetAdapterTest.java
openDesign( "OdaDataSetConvertDesignerState.xml" ); 
		OdaDataSetHandle setHandle = (OdaDataSetHandle) designHandle
				.findDataSet( "myDataSet1" ); 
		DesignerState designerState = new ModelOdaAdapter( )
				.newOdaDesignerState( setHandle );
		assertEquals( "1.1", designerState.getVersion( ) ); 
		DesignerStateContent stateContent = designerState.getStateContent( );
		assertEquals( "content as string", stateContent 
				.getStateContentAsString( ) );
		assertNull( stateContent.getStateContentAsBlob( ) );
		designerState.setVersion( "2.0" ); 
		byte[] data = {0x34, 0x32, 0x33, 0x44, 0x52};
		stateContent.setStateContentAsBlob( data );
		new ModelOdaAdapter( )
				.updateROMDesignerState( designerState, setHandle );
		save( ); 
		compareTextFile( "OdaDataSetDesignerState_golden.xml"); 
		setHandle.setDesignerState( null );
		assertNull( setHandle.getDesignerState( ) );
		new ModelOdaAdapter( )
				.updateROMDesignerState( designerState, setHandle );
		OdaDesignerStateHandle romDesignerState = setHandle.getDesignerState( );
		assertNotNull( romDesignerState );
		assertEquals( "2.0", romDesignerState.getVersion( ) ); 
	}
	/**
	 * Tests that the data source properties are not localized when creating a
	 * data set using the data source.
	 * 
	 * @throws Exception