GroupDefinition[] groupDefn = null; SortDefinition[] sortDefn = null;
	public void test_FilteWithTopN( ) throws Exception	{		String[] bindingNameFilter = new String[3];		bindingNameFilter[0] = "FILTER_AMOUNT";		bindingNameFilter[1] = "FILTER_COUNTRY";		bindingNameFilter[2] = "FILTER_SALE_DATE";		IBaseExpression[] bindingExprFilter = new IBaseExpression[3];		bindingExprFilter[0] = new ScriptExpression( "dataSetRow.AMOUNT" );		bindingExprFilter[1] = new ScriptExpression( "dataSetRow.COUNTRY" );		bindingExprFilter[2] = new ScriptExpression( "dataSetRow.SALE_DATE" );		String[] bindingNameRow = new String[6];		bindingNameRow[0] = "ROW_0";		bindingNameRow[1] = "ROW_rowPosition";		bindingNameRow[2] = "ROW_COUNTRY";		bindingNameRow[3] = "ROW_CITY";		bindingNameRow[4] = "ROW_SALE_DATE";		bindingNameRow[5] = "ROW_AMOUNT";		IBaseExpression[] bindingExprRow = new IBaseExpression[6];		bindingExprRow[0] = new ScriptExpression( "dataSetRow[0]" );		bindingExprRow[1] = new ScriptExpression( "dataSetRow._rowPosition" );		bindingExprRow[2] = new ScriptExpression( "dataSetRow.COUNTRY" );		bindingExprRow[3] = new ScriptExpression( "dataSetRow.CITY" );		bindingExprRow[4] = new ScriptExpression( "dataSetRow.SALE_DATE" );		bindingExprRow[5] = new ScriptExpression( "dataSetRow.AMOUNT" );		// --- end binding		GroupDefinition[] groupDefn = null;		SortDefinition[] sortDefn = null;		String[] bindingNameFilter1 = new String[1];		bindingNameFilter[0] = "FILTER_AMOUNT";		IBaseExpression[] bindingExprFilter1 = new IBaseExpression[1];		bindingExprFilter[0] = new ScriptExpression( "dataSetRow.AMOUNT" );		FilterDefinition[] filters = new FilterDefinition[]{new FilterDefinition(				new ConditionalExpression(						"row.FILTER_AMOUNT",						IConditionalExpression.OP_TOP_N,						"3" ) )};		createAndRunQuery(				null,				null,				null,				null,				null,				null,				bindingNameFilter,				bindingExprFilter,				filters,				bindingNameRow,				bindingExprRow );	}