Bug 200480 Failure occurs in JUnit test of org.eclipse.birt.report.engine.tests in daily build 20070820
engine/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/api/CachedImageHandlerTest.java
int cachedImageCount = 0;
		int customImageCount = 0;
		int fileImageCount = 0;
		HashMap map = new HashMap( );
		public CachedImage getCachedImage( String id, int sourceType,
				IReportContext context )
		{
			String url = (String) map.get( id );
			if ( url != null )
			{
				cachedImageCount++;
				return new CachedImage( id, "CACHED_IMAGE:" + url );
			}
			return null;
		}
		public String onCustomImage( IImage image, IReportContext context )
		{
			customImageCount++;
			String date = new Date( ).toString( );
			map.put( image.getID( ), date );
			return "CACHED_IMAGE:" + date;
		}
		public String onFileImage( IImage image, IReportContext context )
		{
			fileImageCount++;
			return image.getID( );
		}
	}
}