Bug 201527 The cross grandtotal should be in the Grand Total list in "Filter by" tree[1102]
Description: The cross grandtotal should be in the Grand Total list in "Filter by" tree[1102] Build number: 2.2.0.v20070829-0630 Steps to reproduce: 1, New a crosstab has row dimension and column dimension 2, Specify row and column grandtotals 3, Create a filter on crosstab 4, Check the Filter by list of filter condition Expected result: The cross grandtotal(Aggregate On: All) should be in the Grand Total list but not in the Measures list Actual result: The cross grandtotal is in the Measures list
data/org.eclipse.birt.report.data.adapter/test/org/eclipse/birt/report/data/adapter/internal/script/DataRequestSessionTest.java
IBinding binding10 = new Binding( "b10", new ScriptExpression( "measure[\"abc\"]"));
		int type10 = IBindingMetaInfo.MEASURE_TYPE;
		
		
		ICubeQueryDefinition query = new CubeQueryDefinition( "query");
		query.addBinding( binding1 );
		query.addBinding( binding2 );
		query.addBinding( binding3 );
		query.addBinding( binding4 );
		query.addBinding( binding5 );
		query.addBinding( binding6 );
		query.addBinding( binding7 );
		query.addBinding( binding71 );
		query.addBinding( binding8 );
		
		IEdgeDefinition columnEdge = query.createEdge( ICubeQueryDefinition.COLUMN_EDGE );
		IDimensionDefinition dim1 = columnEdge.createDimension( "dim1" );
		IHierarchyDefinition hier1 = dim1.createHierarchy( "hier1" );
		hier1.createLevel( "level1" );
		hier1.createLevel( "level2" );
		hier1.createLevel( "level3" );
		
		
		IEdgeDefinition rowEdge = query.createEdge( ICubeQueryDefinition.COLUMN_EDGE );
		IDimensionDefinition dim2 = rowEdge.createDimension( "dim2" );
		IHierarchyDefinition hier2 = dim2.createHierarchy( "hier2" );
		hier2.createLevel( "level1" );
		
		String targetLevel1 = "dimension[\"dim1\"][\"level1\"]";
		List l1 = this.session.getCubeQueryUtil( ).getReferableBindings( targetLevel1, query, true );