Bug 187201 DTE should give out 4 API for CrossTab sort and filter
DTE should give out 4 API for CrossTab sort and filter. 2 apis are used by giving out the available binding for CrossTab sort and filter. The third is api used by giving out the member value viewer is available. The fourth api is used by giving out the available value list about the memeber value.
data/org.eclipse.birt.report.data.adapter/test/org/eclipse/birt/report/data/adapter/internal/script/DataAdapterTopLevelScopeTest.java
super.tearDown();
	}
	
	
	private void setUpParam( String name, boolean allowNull, boolean allowBlank, 
			String dataType, String defaultValue ) throws Exception
	{
		ElementFactory ef = design.getElementFactory();
		ScalarParameterHandle param = ef.newScalarParameter( name );
		param.setAllowNull(allowNull);
		param.setAllowBlank(allowBlank);
		param.setDataType(dataType);
		if ( defaultValue != null )
			param.setDefaultValue(defaultValue);
		design.getParameters().paste( param);
	}
	
	private Object evaluateScript( String scriptText ) throws Exception
	{
		Object obj = JavascriptEvalUtil.evaluateScript(cx, scope, scriptText, "inline", 0);
		return obj;
	}
	/**
	 * Test access to "params" with report handle
	 */
	public void testParams() throws Exception
	{
		scope = new DataAdapterTopLevelScope( cx, design);