Bug 123734 org.eclipse.birt.report.tests.engine unit test failed in daily build 20060113
org.eclipse.birt.report.tests.engine unit test failed. Please see attached.
testsuites/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/api/RenderTaskTest.java
createDir(fileName);
			  
			  createReportDocument(report_design,report_document); 
			   
			  reportDoc = engine.openReportDocument(
			  report_document ); 
			   
			  task = engine.createRenderTask( reportDoc ); 
              task.setAppContext(new HashMap());
			   
			  pageNumber = reportDoc.getPageCount( ); 
			  for(int i=1;i<=pageNumber;i++){
			  outputFileName=outputPath+fileName+"/html/page"+i+".html";
			  IRenderOption renderOptions=new HTMLRenderOption( );
			  renderOptions.setOutputFormat("html");
			  renderOptions.setOutputFileName(outputFileName);
			  task.setRenderOption(renderOptions); task.render(i); File
			  htmlFile = new File( outputFileName );
			  
			  assertTrue( htmlFile.exists( ) ); 
			  assertTrue( htmlFile.length( ) != 0 ); 
			  removeFile(htmlFile);
			  }
			  for(int i=1;i<=pageNumber;i++){
			  outputFileName=outputPath+fileName+"/pdf/page"+i+".pdf";
			  IRenderOption renderOptions=new HTMLRenderOption( );
			  renderOptions.setOutputFormat("pdf");
			  renderOptions.setOutputFileName(outputFileName);
			  task.setRenderOption(renderOptions); task.render(i); File pdfFile =
			  new File( outputFileName ); assertTrue( pdfFile.exists( ) );