Bug 167777 org.eclipse.birt.tests.data has compile error in daily build 20061213
org.eclipse.birt.tests.data has compile error in daily build 20061213. Please see the attachment for details.
testsuites/org.eclipse.birt.tests.data/src/org/eclipse/birt/tests/data/engine/api/MultiPass_FilterTest.java
bindingExprRow );
	}
	/**
	 * filter on group with bottom N with negative value
	 * 
	 * @throws Exception
	 */
	public void test_NegativeValueFilterGroup( ) throws Exception
	{
		String sqlStatement = "select COUNTRY,AMOUNT, SALE_DATE from "
				+ getTestTableName( );
		( (OdaDataSetDesign) this.dataSet ).setQueryText( sqlStatement );
		IBaseExpression[] expressions = new IBaseExpression[]{
				new ScriptExpression( "row.COUNTRY" ),
				new ScriptExpression( "row.AMOUNT" ),
				new ScriptExpression( "row.SALE_DATE" )};
		String names[] = {"COL_COUNTRY", "COL_AMOUNT", "COL_SALE_DATE"};
		QueryDefinition queryDefn = new QueryDefinition( );
		queryDefn.setDataSetName( this.dataSet.getName( ) );
		for ( int i = 0; i < expressions.length; i++ )
		{
			queryDefn.addResultSetExpression( names[i], expressions[i] );
		}
		FilterDefinition filterDefn = new FilterDefinition(
				new ConditionalExpression(
						"Total.sum(row.Amount,null,1)",
						IConditionalExpression.OP_BOTTOM_PERCENT,
						"-10" ) );
		GroupDefinition groupDefn = new GroupDefinition( );
		groupDefn.setKeyExpression( "row.SALE_DATE" );