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
{
	static String noMetadata1 = "<div([^<>]* id=\"";
	static String noMetadata2 = "\"[^<>]*)>[^<>]*</div>";
	static String metadata1 = "<div([^<>]* id=\"";
	static String metadata2 = "\"[^<>]*)>[^<>]*<div[^<>]*>[^<>]*</div>[^<>]*</div>";
	static String template1 = metadata1;
	static String template2 = "\"[^<>]*)>";
	static String table1 = "<table( [^<>]*id=\"";
	static String table2 = "\"[^<>]*)>";
	static String list1 = "<div([^<>]* id=\"";
	static String list2 = "\"[^<>]*)>";
	static String imageMetadata1 = "<div([^<>]* id=\"";
	static String imageMetadata2 = "\"[^<>]*)>[^<>]*<div>[^<>]*<img[^<>]*>[^<>]*</div>[^<>]*</div>";
	static String imageNoMetadata1 = "<div>[^<>]*<img([^<>]* id=\"";
	static String imageNoMetadata2 = "\"[^<>]*)>[^<>]*</div>";
	public String getWorkSpace( )
	{
		return "./metadataTest";
	}
	/**
	 * Tests active ids output by HtmlReportEmitter. <br>
	 * <br>
	 * Ids of following items should be output:
	 * <li> label
	 * <li> table