Bug 211545 org.eclipse.birt.report.tests.engine has compile error in 2.3 daily build 20071130.
org.eclipse.birt.report.tests.engine has compile error in 2.3 daily build 20071130. The error message is below: [javac] ---------- [javac] 7. ERROR in /home/adb/releng.230/src/plugins/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/api/DataExtractionTaskTest.java (at line 313) [javac] assertEquals( 112, data.getValue( "number" ) ); [javac] ^^^^^^^^^^^^ [javac] The method assertEquals(Object, Object) in the type Assert is not applicable for the arguments (int, Object) [javac] ---------- The JDK used in daily build is 1.4
testsuites/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/api/DataExtractionTaskTest.java
private String report_design;
	private String report_document;
	private IReportDocument reportDoc;
	final static String INPUT_table = "DataExtraction_table.rptdesign";
	final static String INPUT_subquery = "new_report_2.rptdesign";
	final static String INPUT_nestquery = "DataExtraction_nestquery.rptdesign";
	final static String OUTPUT_table = "DataExtraction_table.rptdocument";
	final static String OUTPUT_subquery = "DataExtraction_subquery.rptdocument";
	final static String OUTPUT_nestquery = "DataExtraction_nestquery.rptdocument";
	protected void setUp( ) throws Exception
	{
		super.setUp( );
		removeResource( );
		copyResource_INPUT( INPUT_table , INPUT_table );
		copyResource_INPUT( INPUT_subquery , INPUT_subquery );
		copyResource_INPUT( INPUT_nestquery , INPUT_nestquery );
	}
	
	public void tearDown( )
	{
		removeResource( );
	}
	public void testMethods( ) throws Exception
	{
		report_design = INPUT_table;
		report_document = OUTPUT_table;
		report_document = createReportDocument( report_design, report_document );
		reportDoc = engine.openReportDocument( report_document.replace( '\\', '/' ) );
		IDataExtractionTask extractTask = engine
				.createDataExtractionTask( reportDoc );