Bug 192829 Aggregation binding filter doesn't work for crosstab
The filter condition on bindings for Crosstab doesn't take effect. Currently Dte hasn't supported this yet.
data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/olap/data/impl/CubeAggregationTest.java
level21_sum.addAggregateOn( "dimension[\"dimension2\"][\"level21\"]" );
		cubeQuery.addBinding( level21_sum );
		
		ScriptExpression expr = new ScriptExpression( "data[\"level21_sum\"]>40" );
		CubeFilterDefinition cubeFilter = new CubeFilterDefinition( expr );
		cubeFilter.setTargetLevel( level21 );	
		
		DimensionFilterEvalHelper dimfilter = new DimensionFilterEvalHelper(baseScope, cubeQuery, cubeFilter);
		cubeQueryExcutorHelper.addJSFilter( dimfilter );
		AggregationDefinition[] aggregations = new AggregationDefinition[1];
		int[] sortType = new int[]{
			IDimensionSortDefn.SORT_ASC
		};
		DimLevel[] levelsForFilter = new DimLevel[]{
			dimLevel21
		};
		AggregationFunctionDefinition[] funcitons = new AggregationFunctionDefinition[1];
		funcitons[0] = new AggregationFunctionDefinition( "level21_sum", "measure1", IBuildInAggregation.TOTAL_SUM_FUNC );
		aggregations[0] = new AggregationDefinition( levelsForFilter, sortType, funcitons );
		
		
		IAggregationResultSet[] resultSet = cubeQueryExcutorHelper.execute( aggregations,
				new StopSign( ) );
		assertEquals( resultSet[0].length( ), 0 );
		
		for ( int i = 0; i < resultSet.length; i++ )
		{
			resultSet[i].close( );
		}
	}