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
InputParameterAttributes inParamAttrs = DesignFactory.eINSTANCE
				.createInputParameterAttributes( );
		InputElementAttributes inputElementAttrs = DesignFactory.eINSTANCE
				.createInputElementAttributes( );
		inputElementAttrs.setOptional( false );
		inputElementAttrs.setDefaultScalarValue( "default param value" ); 
		inParamAttrs.setElementAttributes( inputElementAttrs );
		paramDefn.setInputAttributes( inParamAttrs );
		params.getParameterDefinitions( ).add( paramDefn );
		setDesign.setParameters( params );
		ResultSetDefinition resultSetDefn = DesignFactory.eINSTANCE
				.createResultSetDefinition( );
		ResultSetColumns setColumns = DesignFactory.eINSTANCE
				.createResultSetColumns( );
		ColumnDefinition columnDefn = DesignFactory.eINSTANCE
				.createColumnDefinition( );
		dataAttrs = DesignFactory.eINSTANCE.createDataElementAttributes( );
		dataAttrs.setName( "column1" ); 
		dataAttrs.setPosition( 2 );
		dataAttrs.setNativeDataTypeCode( 3 );
		columnDefn.setAttributes( dataAttrs );
		setColumns.getResultColumnDefinitions( ).add( columnDefn );
		resultSetDefn.setResultSetColumns( setColumns );
		setDesign.setPrimaryResultSet( resultSetDefn );
		setDesign.setPrimaryResultSetName( "resultset1" ); 
		setDesign.setQueryText( "new query text" ); 
		
		setDesign.setDataSourceDesign( createDataSourceDesign( ) );
		return setDesign;
	}