Bug 162167 Add API IResultIterator.isEmpty to Data Engine.
Current DTE api do not have a method that can be directly used to tell the client whether an IResultIterator is empty or not.We need to add this api for the convenience sake.
engine/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/api/script/RowDataTest.java
testExpressions.put( "ROW[\"test\"]" , "5" );
		testExpressions.put( "ROw[\"test\"]" , "6" );
		testExpressions.put( "row[\"test_1\"]" , "7" );
		testExpressions.put( "row[\"test\"] + test" , "8" );
		testExpressions.put(
				"row[\"test\"] + row[\"testit\"]" , "9" );
		IResultIterator iterator = new FakeResultIteratorTest( testExpressions );
		IResultSet rset = new FakeResultSetTest( iterator );
		List expressions = new ArrayList( );
		expressions.addAll( testExpressions.keySet( ) );
		rowData = new RowData( rset, null );
	}
	public void testIndex( ) throws ScriptException
	{
		assertEquals( "1", rowData.getExpressionValue( "row[9999]" ) );
	}
	public void testWithQuotes( ) throws ScriptException
	{
		assertEquals( "2", rowData.getExpressionValue( "row[\"test\"]" ) );
	}
	public void testWithoutQuotes( ) throws ScriptException
	{
		assertEquals( "2", rowData.getExpressionValue( "row[test]" ) );
	}
	public void testWithoutRow( ) throws ScriptException
	{
		assertEquals( "3", rowData.getExpressionValue( "test" ) );
		assertEquals( "3", rowData.getColumnValue( "test" ) );		
	}
	public void testWithNumber( ) throws ScriptException