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
assertEquals( true, matcher.find( ) );
	}
	
	/**
	 * 
	 * @throws EngineException
	 * @throws IOException
	 */
	public void testWrapTemplateTable( ) throws EngineException, IOException
	{
		
		String designFile = "org/eclipse/birt/report/engine/emitter/html/wrapTemplateTable_test.xml";
		HTMLRenderOption options = new HTMLRenderOption( );
		options.setWrapTemplateTable( true );
		String content = getRenderResult( designFile, true, options ).content;
		content = content.replaceAll( "\n", "\"\n\"+\\\\n" );
		String regex = "<table[^<>]*>[^<>]*<tbody[^<>]*>[^<>]*<tr[^<>]*>[^<>]*<td[^<>]*>[^<>]*<img[^<>]* src=\"bizRD/images/report/sidetab_active.gif\"[^<>]*>";
		Matcher matcher = Pattern.compile( regex ).matcher( content );
		assertEquals( true, matcher.find( ) );
	}
	
	private void checkAllGroupIconDisplayed( HTMLRenderOption options,
			String content, String[] keys) throws EngineException, IOException
	{
		for ( int i = 0; i < keys.length; i++ )
		{
			assertHasGroupkey( content, options, keys[i] );
		}
	}
	private void assertHasGroupkey( String content, HTMLRenderOption options,