Bug 176674 Errors/Failures found in JUnit test of org.eclipse.birt.report.engine.emitter.html.tests
Errors/Failures found in JUnit test of org.eclipse.birt.report.engine.emitter.html.tests in daily build 20070308. The build runs from HEAD version. Please see the attachment for details.
engine/org.eclipse.birt.report.engine.emitter.html.tests/test/org/eclipse/birt/report/engine/emitter/html/MetadataEmitterTest.java
}
	}
	private void checkRunAndRenderTask( String designFile,
			String[][] bookmarksWithMetadata, String[][] bookmarksWithoutMetadata )
			throws EngineException, IOException
	{
		checkTask( designFile, bookmarksWithMetadata, bookmarksWithoutMetadata,
				true );
	}
	private void checkRenderTask( String designFile,
			String[][] bookmarksWithMetadata, String[][] bookmarksWithoutMetadata )
			throws EngineException, IOException
	{
		checkTask( designFile, bookmarksWithMetadata, bookmarksWithoutMetadata,
				true );
	}
	private void checkTask( String designFile, String[][] bookmarksWithMetadata,
			String[][] bookmarksWithoutMetadata, boolean isRenderTask )
			throws EngineException, IOException
	{
		HTMLRenderOption options = new HTMLRenderOption( );
		RenderResult result = getRenderResult( designFile, isRenderTask, options );
		checkOutput( result.content, result.instanceIDs, bookmarksWithMetadata,
				bookmarksWithoutMetadata );
	}
	private RenderResult getRenderResult( String designFile,
			boolean isRenderTask, HTMLRenderOption options )
			throws EngineException, IOException
	{
		ByteArrayOutputStream output = new ByteArrayOutputStream( );