You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2016/04/01 02:06:23 UTC
svn commit: r1737296 -
/myfaces/core/branches/2.1.x/api/src/test/java/javax/faces/convert/NumberConverterTest.java
Author: lu4242
Date: Fri Apr 1 00:06:23 2016
New Revision: 1737296
URL: http://svn.apache.org/viewvc?rev=1737296&view=rev
Log:
small fix remove character non utf-8 make site fail
Modified:
myfaces/core/branches/2.1.x/api/src/test/java/javax/faces/convert/NumberConverterTest.java
Modified: myfaces/core/branches/2.1.x/api/src/test/java/javax/faces/convert/NumberConverterTest.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.1.x/api/src/test/java/javax/faces/convert/NumberConverterTest.java?rev=1737296&r1=1737295&r2=1737296&view=diff
==============================================================================
--- myfaces/core/branches/2.1.x/api/src/test/java/javax/faces/convert/NumberConverterTest.java (original)
+++ myfaces/core/branches/2.1.x/api/src/test/java/javax/faces/convert/NumberConverterTest.java Fri Apr 1 00:06:23 2016
@@ -103,7 +103,7 @@ public class NumberConverterTest extends
}
/**
- * 12,345.68
+ * 12,345.68
*/
@Test
public void testUKLocaleUsingEURCurrencyCode()
@@ -121,7 +121,7 @@ public class NumberConverterTest extends
}
/**
- * 12.345,68
+ * 12.345,68
*/
@Test
public void testGermanyLocaleUsingEURCurrencyCode()
@@ -159,7 +159,7 @@ public class NumberConverterTest extends
mock.setLocale(Locale.GERMANY);
UIInput input = new UIInput();
mock.setPattern("\u00A4 ###,###.###");
- mock.setCurrencyCode("USD"); //Since currency is , but we are using USD currency code, the output is USD 12.345,68
+ mock.setCurrencyCode("USD"); //Since currency is EUR, but we are using USD currency code, the output is USD 12.345,68
Number testValue = 12345.68d;
String stringValue = mock.getAsString(facesContext, input, testValue);
Number number = (Number) mock.getAsObject(facesContext, input, stringValue);