Bug 200888 Failures occcur in JUnit test of org.eclipse.birt.report.engine.tests in daily build 20070823
Failures occcur in JUnit test of org.eclipse.birt.report.engine.tests in daily build 20070823. Please see the attachment for details.
engine/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/api/ParameterConverterTest.java
locale = ULocale.ITALY;
		rpc = new ReportParameterConverter( "MM/dd/yy KK:mm aa", locale );
		assertEquals( date, rpc.parse( "09/13/98 08:01 p.",
				IScalarParameterDefn.TYPE_DATE_TIME ) );
		locale = new ULocale( "en", "us" );
		dateCal = Calendar.getInstance( locDef.toLocale( ) );
		dateCal.clear( );
		dateCal.set( 1998, 8, 13, 0, 0, 0 );
		date = dateCal.getTime( );
		locale = ULocale.ITALY;
		rpc = new ReportParameterConverter( "Long Date", locale );
		assertEquals( date, rpc.parse( "13 settembre 1998",
				IScalarParameterDefn.TYPE_DATE_TIME ) );
		locale = new ULocale( "en", "us" );
		dateCal = Calendar.getInstance( locDef.toLocale( ) );
		dateCal.clear( );
		dateCal.set( 1998, 8, 13, 20, 1, 44 );
		date = dateCal.getTime( );
		rpc = new ReportParameterConverter( "MM/dd/yyyy hh:mm:ss a", locale );
		assertEquals( date, rpc.parse( "09/13/1998 08:01:44 PM",
				IScalarParameterDefn.TYPE_DATE_TIME ) );
	}
	/*
	 * test for parsing a number or other obj
	 */
	public void testParseToOther( )
	{
		ULocale locDef = ULocale.getDefault( );
		ReportParameterConverter rpc;
		rpc = new ReportParameterConverter( "#.0#", locDef.toLocale( ) );