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
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( ), 8 );
		assertEquals( resultSet[0].getAggregationDataType( 0 ), DataType.DOUBLE_TYPE );
		assertEquals( resultSet[0].getLevelIndex( dimLevel21 ), 0 );
		assertEquals( resultSet[0].getLevelIndex( dimLevel31 ), 1 );
		assertEquals( resultSet[0].getLevelKeyDataType( dimLevel21, "level21" ), DataType.STRING_TYPE );
		/*aggregation result table
		 *index	level21	level31	sum(measure1)
		 *0		1		1		0
		 *1		1		2		1
		 *2		1		3		2	
		 *3		1		4		3	
		 *4		2		5		4	
		 *5		2		6		5	
		 *6		2		7		6	
		 *7		2		8		7		
		 */
		for ( int i = 0; i < 8; i++ )
		{
			resultSet[0].seek( i );
			assertEquals( resultSet[0].getLevelKeyValue( 0 )[0], String.valueOf(i/4+1) );
			assertEquals( resultSet[0].getLevelKeyValue( 1 )[0], new Integer( i+1 ) );
			assertEquals( resultSet[0].getAggregationValue( 0 ), new Double( i ) );