Bug 199488 BIRT Cross tab - Filter/SORT dialog UI needs improvement
Improve the crosstab filter dialog for cross tab. Currently we directly display the bound data columns of the crosstab. It is very difficult for user to find which column is based on aggregation.
data/org.eclipse.birt.report.data.adapter/test/org/eclipse/birt/report/data/adapter/internal/script/DataRequestSessionTest.java
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 );
		assertTrue( l1.size( ) == 3 );
		assertTrue( l1.contains( binding1 ));
		assertTrue( l1.contains( binding4 ));
		assertTrue( l1.contains( binding7 ));
		
		String targetLevel2 = "dimension[\"dim1\"][\"level1\"]";
		List l2 = this.session.getCubeQueryUtil( ).getReferableBindings( targetLevel2, query, false );
		assertTrue( l2.size( ) == 5 );
		assertTrue( l2.contains( binding1 ));
		assertTrue( l2.contains( binding4 ));
		assertTrue( l2.contains( binding5 ));
		assertTrue( l2.contains( binding6 ));
		assertTrue( l2.contains( binding7 ));
	
		String targetLevel3 = "dimension[\"dim1\"][\"level2\"]";
		List l3 = this.session.getCubeQueryUtil( ).getReferableBindings( targetLevel3, query, false );
		assertTrue( l3.size( ) == 2 );
		assertTrue( l3.contains( binding2 ));
		assertTrue( l3.contains( binding71 ));
	}
	
	public void testGetReferencedLevels() throws DataException, AdapterException
	{