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
while ( resultIterator.next( ) )
		{
			Integer value0 = resultIterator.getInteger( getBindingExpressionName( )[0] );
			Integer value1 = resultIterator.getInteger( getBindingExpressionName( )[1] );
			Integer value2 = resultIterator.getInteger( getBindingExpressionName( )[2] );
			assertTrue( value0.intValue( ) > 0 );
			assertTrue( value1.intValue( ) > 1 );
			assertTrue( value2.intValue( ) > 0 );
		}
		resultIterator.close( );
	}
	
	/**
	 * Test FilterByRow#testAccept case 2
	 * @throws Exception
	 */
	public void testAccept2( ) throws Exception
	{
		FilterDefinition[] filterDefn = new FilterDefinition[]{
			new FilterDefinition( new ScriptExpression( "row.ROW_COL0 + row.ROW_COL1 > row.ROW_COL2" ) )
		};
		
		IResultIterator resultIterator = getResultIterator( filterDefn, null , null );
		
		while ( resultIterator.next( ) )
		{
			Integer value0 = resultIterator.getInteger( getBindingExpressionName()[0] );
			Integer value1 = resultIterator.getInteger( getBindingExpressionName()[1] );
			Integer value2 = resultIterator.getInteger( getBindingExpressionName()[2] );
			assertTrue( value0.intValue( ) + value1.intValue( ) > value2.intValue( ) );