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
IJSFilterHelper filterHelper2 = BaseDimensionFilterEvalHelper.createFilterHelper( baseScope,
				cubeQuery,
				cubeFilter2 );
		cubeQueryExcutorHelper.addJSFilter( filterHelper2 );
		
		IConditionalExpression expr3 = new ConditionalExpression( "data[\"level21_sum\"]",
				IConditionalExpression.OP_TOP_PERCENT,
				"90" );
		CubeFilterDefinition cubeFilter3 = new CubeFilterDefinition( expr3 );
		cubeFilter3.setTargetLevel( level21 );
		IJSFilterHelper filterHelper3 = BaseDimensionFilterEvalHelper.createFilterHelper( baseScope,
				cubeQuery,
				cubeFilter3 );
		cubeQueryExcutorHelper.addJSFilter( filterHelper3 );
		
		
		AggregationDefinition[] aggregations = new AggregationDefinition[1];
		int[] sortType = new int[1];
		sortType[0] = 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( ), 1 );