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/OdaDataSourceAdapterTest.java
assertNull( props.findProperty( "odaPassword" )  
				.getValue( ) );
		props = sourceDesign.getPrivateProperties( );
		assertEquals( 2, props.getProperties( ).size( ) );
		assertEquals( "User", props.findProperty( "odaUser" ).getValue( ) ); 
		assertEquals( "Password", props.findProperty( "odaPassword" ) 
				.getValue( ) );		
	}
	/**
	 * Test case: <br>
	 * 
	 * <ul>
	 * <li> Create a data source design, uses the adapter to create a data
	 * source handle. Saves the new datasource handle to the design file.
	 * <li>No ActivityStack action should be invovled.
	 * </ul>
	 * 
	 * @throws Exception
	 */
	public void testODADataSourceToROMDataSource( ) throws Exception
	{
		DataSourceDesign sourceDesign = createDataSourceDesign( );
		sessionHandle = DesignEngine.newSession( ULocale.ENGLISH );
		designHandle = sessionHandle.createDesign( );
		OdaDataSourceHandle sourceHandle = new ModelOdaAdapter( )
				.createDataSourceHandle( sourceDesign, designHandle );
		assertFalse( designHandle.getCommandStack( ).canUndo( ) );
		assertFalse( designHandle.getCommandStack( ).canRedo( ) );
		designHandle.getDataSources( ).add( sourceHandle );
		save();