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
rpc = new ReportParameterConverter( "(@@@)-@@@-@@@@!",
				locDef.toLocale( ) );
		assertEquals( "6508372345", rpc.parse( "(650)-837-2345",
				IScalarParameterDefn.TYPE_STRING ) );
		rpc = new ReportParameterConverter( "(@@@)-@@@-@@@@", locDef.toLocale( ) );
		assertEquals( "6508372345", rpc.parse( "(650)-837-2345",
				IScalarParameterDefn.TYPE_STRING ) );
		rpc = new ReportParameterConverter( "(@@@)-@@@-@@@@!",
				locDef.toLocale( ) );
		assertEquals( "65083723456", rpc.parse( "(650)-837-23456",
				IScalarParameterDefn.TYPE_STRING ) );
		rpc = new ReportParameterConverter( "(@@@)-@@@-@@@@", locDef.toLocale( ) );
		assertEquals( "346508372345", rpc.parse( "34(650)-837-2345",
				IScalarParameterDefn.TYPE_STRING ) );
	}
	/*
	 * test for parsing a data
	 */
	public void testParseToDate( )
	{
		ULocale locDef = ULocale.getDefault( ), locale;
		ReportParameterConverter rpc;
		Calendar dateCal;
		Date date;
		locale = new ULocale( "en", "us" );
		dateCal = Calendar.getInstance( locDef.toLocale( ) );
		dateCal.clear( );
		dateCal.set( 1998, 8, 13, 20, 1, 0 );
		date = dateCal.getTime( );