Bug 182061 Data engine changes to support result set sharing
data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/GroupOnRowTest.java
bindingExprRow[0] = new ScriptExpression( "dataSetRow.ID" );
		bindingExprRow[1] = new ScriptExpression( "dataSetRow._rowPosition" );
		bindingExprRow[2] = new ScriptExpression( "dataSetRow.AMOUNT1" );
		bindingExprRow[3] = new ScriptExpression( "dataSetRow.AMOUNT2" );
		String[] columnStr = new String[]{
				"id", "_rowPosition", "amount1", "amount2"
		};
		try {
			QueryDefinition qd = this.createQuery(bindingNameGroup,
					bindingExprGroup, groupDefn, null, null, null, null, null,
					null, bindingNameRow, bindingExprRow);
			String outputStr = getOutputStrForGroupTest(15, qd,
					groupDefn.length, bindingNameRow, columnStr);
			testPrint(outputStr);
			this.checkOutputFile();
			fail("exception expected!");
		} catch (BirtException be) {
			assertEquals(be.getErrorCode(), "data.engine.group.interval");
		}
	}
	
	/**
	 * Test feature of group on row position
	 * 
	 * @throws Exception
	 */
	public void testGroupOnRowPosition5( ) throws Exception
	{
		String[] bindingNameGroup = new String[1];
		bindingNameGroup[0] = "GROUP_ID";