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/ReportDocumentTest.java
List root_children=reportDoc.getChildren("/");
			assertNotNull("cannot get root toc's children",root_children);
			assertNotNull("cannot get table toc",root_children.get(0));
			TOCNode table_toc=(TOCNode)root_children.get(0);
			List table_children=reportDoc.getChildren(table_toc.getNodeID() );
			assertNotNull("table toc's children is null",table_children);
			assertEquals("table toc contains 6 children",6,table_children.size());
		
			
			
			InputStream designStream=reportDoc.getDesignStream();
			FileInputStream designFile=new FileInputStream(report_design);
			assertNotNull("return null design stream",designStream);
			
			int length=designStream.available();
			byte[] fBytes=new byte[length];
			designStream.read(fBytes,0,length);
			
			
			String tempFile=path+OUTPUT_FOLDER+"report_document_tmp.rptdesign";
			File tmp=new File(tempFile);
			FileOutputStream fos=new FileOutputStream(tmp);
			fos.write(fBytes);
			fos.close();
			designStream.close();
			designFile.close();
			assertEquals("return wrong design stream",-6,new File(report_design).compareTo(tmp));
			
			removeFile(tempFile);