Bug 182061 Data engine changes to support result set sharing
data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/FilterByRowTest.java
* @see org.eclipse.birt.data.engine.api.APITestCase#getDataSourceInfo()
	 */
	protected DataSourceInfo getDataSourceInfo( )
	{
		return new DataSourceInfo( ConfigText.getString( "Impl.TestData1.TableName" ),
				ConfigText.getString( "Impl.TestData1.TableSQL" ),
				ConfigText.getString( "Impl.TestData1.TestDataFileName" ) );
	}
	/**
	 * Test FilterByRow#testAccept case 1
	 * @throws Exception
	 */
	public void testAccept1( ) throws Exception
	{
		String[] bindingNameFilter = new String[3];
		bindingNameFilter[0] = "FILTER_COL0";
		bindingNameFilter[1] = "FILTER_COL1";
		bindingNameFilter[2] = "FILTER_COL2";
		IBaseExpression[] bindingExprFilter = new IBaseExpression[3];
		bindingExprFilter[0] = new ScriptExpression( "dataSetRow.COL0" );
		bindingExprFilter[1] = new ScriptExpression( "dataSetRow.COL1" );
		bindingExprFilter[2] = new ScriptExpression( "dataSetRow.COL2" );
		FilterDefinition[] filterDefn = new FilterDefinition[]{
			new FilterDefinition( new ScriptExpression( "row.FILTER_COL0 > 0" ) ),
			new FilterDefinition( new ScriptExpression( "row.FILTER_COL1 > 1" ) ),
			new FilterDefinition( new ScriptExpression( "row.FILTER_COL2 > 0" ) )
		};
		IResultIterator resultIterator = getResultIterator( filterDefn,
				bindingNameFilter,
				bindingExprFilter );