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.US;
		rpc = new ReportParameterConverter( null, locale.toLocale( ) );
		assertEquals( new BigDecimal( "123456.789012" ), rpc.parse(
				"123456.789012", IScalarParameterDefn.TYPE_DECIMAL ) );
		assertEquals( "123456.789012", rpc.format( new BigDecimal(
				"123456.789012" ) ) );
		
	}
	
	public void testFloat()
	{
		ULocale locale = ULocale.FRENCH;
		ReportParameterConverter rpc;
		rpc = new ReportParameterConverter( null, locale.toLocale( ) );
		assertEquals( new Double( "123456.789012" ), rpc.parse(
				"123456,789012", IScalarParameterDefn.TYPE_FLOAT ) );
		
		assertEquals( "123456,789", rpc.format( new Double(
				"123456.789012" ) ) );
		
		locale = ULocale.US;
		rpc = new ReportParameterConverter( null, locale.toLocale( ) );
		assertEquals( new Double( "123456.789012" ), rpc.parse(
				"123456.789012", IScalarParameterDefn.TYPE_FLOAT ) );
		assertEquals( "123456.789", rpc.format( new Double(
				"123456.789012" ) ) );
		
	}
}