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
assertTrue( l1.size( ) == 3 );
		assertTrue( contains( l1, binding1, type1 ));
		assertTrue( contains( l1, binding4, type4 ));
		assertTrue( contains( l1, binding7, type7 ));
		
		String targetLevel2 = "dimension[\"dim1\"][\"level1\"]";
		List l2 = this.session.getCubeQueryUtil( ).getReferableBindings( targetLevel2, query, false );
		assertTrue( l2.size( ) == 5 );
		assertTrue( contains( l2, binding1, type1 ));
		assertTrue( contains( l2, binding4, type4 ));
		assertTrue( contains( l2, binding5, type5 ));
		assertTrue( contains( l2, binding6, type6 ));
		assertTrue( contains( l2, binding7, type7 ));
	
		String targetLevel3 = "dimension[\"dim1\"][\"level2\"]";
		List l3 = this.session.getCubeQueryUtil( ).getReferableBindings( targetLevel3, query, false );
		assertTrue( l3.size( ) == 2 );
		assertTrue( contains( l3, binding2, type2 ));
		assertTrue( contains( l3, binding71, type71 ));
	
		String targetLevel4 = "dimension[\"dim1\"][\"level2\"]";
		query.addBinding( binding9 );
		List l4 = this.session.getCubeQueryUtil( ).getReferableBindings( targetLevel4, query, false );
		
		assertTrue( l4.size( ) == 3 );
		assertTrue( contains( l4, binding2, type2 ));
		assertTrue( contains( l4, binding71, type71 ));
		assertTrue( contains( l4, binding9, type9 ));
		
		String targetLevel5 = "dimension[\"dim2\"][\"level1\"]";