package org.eclipse.birt.report.tests.engine.regression;

import org.eclipse.birt.report.tests.engine.EngineCase;

/**
 * <b>Bug description</b>
 * <p>
 * access DataSource in beforeOpen event from script
 * <p>
 * <b>Test description</b>
 * <p>
 * This test retrieve data source object in beforeOpen method
 * then display its extensionID to make sure 
 * the data source is retrieved.  
 */
public class Regression_110364 extends EngineCase {

	private final static String INPUT = "regression_110364.rptdesign"; //$NON-NLS-1$
	private final static String GOLDEN = "regression_110364.html"; //$NON-NLS-1$
	private final static String OUTPUT = "regression_110364.html"; //$NON-NLS-1$

	/**
	 * @throws Exception
	 */

	public void test( ) throws Exception
	{
		runAndRender_HTML( INPUT, OUTPUT );
		assertTrue( compareHTML( GOLDEN, OUTPUT ) );
	}

}
