Bug 208724 Failures occur in Junit test of org.eclipse.birt.report.engine in daily build 20071105
engine/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/api/TimeZoneTest.java
}
	
	private boolean compareFiles(String src, String golden)
	{
		boolean result = false;
		try
		{
			InputStream in = this.getClass( ).getResourceAsStream(
			golden );
			assert ( in != null );
			byte[] buffer = new byte[in.available( )];
			in.read( buffer );
			String goldenString = new String( buffer );
			
			File srcFile = new File(src);
			in = new FileInputStream( src );
			assert( in != null);
			buffer = new byte[in.available( )];
			in.read( buffer );
			String srcString = new String( buffer );
			result = srcString.equals( goldenString );
		}catch(Exception ex)
		{
			ex.printStackTrace( );
			return false;
		}
		return result;
	}
}