Bug 153377 dynamic type cannot get from IScalarParameterDefn.getSelectionListType
Description: dynamic type cannot get from IScalarParameterDefn.getSelectionListType Steps to reproduce: 1. Get a dynamic parameter's selection list type through IScalarParameterDefn.getSelectionListType() method Expected result: Return 1 Actual result: Return 0 The other issue: IScalarParameterDefn.getSelectionList() method cannot retrieve dynamic parameter value list out.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
if ( testExpr != null && testExpr.length( ) > 0 )
		{
			rule.setTestExpression( testExpr );
		}
		else if ( ( defaultStr != null ) && defaultStr.length( ) > 0 )
		{
			rule.setTestExpression( defaultStr );
		}
		else
		{
			
			return null;
		}
		return rule;
	}
	/**
	 * Checks if a given style is in report's style list, if not, assign a
	 * unique name to it and then add it to the style list.
	 * 
	 * @param style
	 *            The <code>StyleDeclaration</code> object.
	 * @return the name of the style.
	 */
	private String assignStyleName( StyleDeclaration style )
	{
		if ( style == null || style.isEmpty( ) )
		{
			return null;
		}