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
IAggregationResultSet[] resultSet = cubeQueryExcutorHelper.execute( aggregations,
				new StopSign( ) );
		CubeQueryExecutorHelper.saveAggregationResultSet( pathName, "test2", resultSet );
		resultSet = CubeQueryExecutorHelper.loadAggregationResultSet( pathName, "test2" );
		
		assertEquals( resultSet[0].length( ), 2 );
		assertEquals( resultSet[0].getAggregationDataType( 0 ), DataType.DOUBLE_TYPE );
		assertEquals( resultSet[0].getLevelIndex( dimLevel21 ), 0 );
		assertEquals( resultSet[0].getLevelKeyDataType( dimLevel21, "level21" ), DataType.STRING_TYPE );
		resultSet[0].seek( 0 );
		assertEquals( resultSet[0].getLevelKeyValue( 0 )[0], "1" );
		assertEquals( resultSet[0].getAggregationValue( 0 ), new Double(6) );
		assertEquals( resultSet[0].getAggregationValue( 1 ), new Double(10) );
		resultSet[0].seek( 1 );
		assertEquals( resultSet[0].getLevelKeyValue( 0 )[0], "2" );
		assertEquals( resultSet[0].getAggregationValue( 0 ), new Double(22) );
		assertEquals( resultSet[0].getAggregationValue( 1 ), new Double(26) );
		
		assertEquals( resultSet[1].length( ), 8 );
		assertEquals( resultSet[1].getAggregationDataType( 0 ), DataType.DOUBLE_TYPE );
		assertEquals( resultSet[1].getLevelIndex( dimLevel31 ), 0 );
		assertEquals( resultSet[1].getLevelKeyDataType( dimLevel31, "level31" ), DataType.INTEGER_TYPE );
		resultSet[1].seek( 0 );
		assertEquals( resultSet[1].getLevelKeyValue( 0 )[0], new Integer(1) );
		assertEquals( resultSet[1].getAggregationValue( 0 ), new Double(0) );
		resultSet[1].seek( 1 );
		assertEquals( resultSet[1].getLevelKeyValue( 0 )[0], new Integer(2) );
		assertEquals( resultSet[1].getAggregationValue( 0 ), new Double(1) );
		resultSet[1].seek( 2 );
		assertEquals( resultSet[1].getLevelKeyValue( 0 )[0], new Integer(3) );