|
|
|
@ -16,15 +16,16 @@
@@ -16,15 +16,16 @@
|
|
|
|
|
|
|
|
|
|
package org.springframework.format.number; |
|
|
|
|
|
|
|
|
|
import static org.junit.Assert.assertEquals; |
|
|
|
|
|
|
|
|
|
import java.math.BigDecimal; |
|
|
|
|
import java.util.List; |
|
|
|
|
import java.util.Locale; |
|
|
|
|
|
|
|
|
|
import org.junit.After; |
|
|
|
|
import static org.junit.Assert.*; |
|
|
|
|
import org.junit.Before; |
|
|
|
|
import org.junit.Ignore; |
|
|
|
|
import org.junit.Test; |
|
|
|
|
|
|
|
|
|
import org.springframework.beans.MutablePropertyValues; |
|
|
|
|
import org.springframework.context.i18n.LocaleContextHolder; |
|
|
|
|
import org.springframework.core.convert.support.ConversionServiceFactory; |
|
|
|
@ -115,6 +116,7 @@ public class NumberFormattingTests {
@@ -115,6 +116,7 @@ public class NumberFormattingTests {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
@Ignore |
|
|
|
|
public void testPatternArrayFormatting() { |
|
|
|
|
MutablePropertyValues propertyValues = new MutablePropertyValues(); |
|
|
|
|
propertyValues.add("patternArray", new String[] {"1,25.00", "2,35.00"}); |
|
|
|
@ -133,6 +135,7 @@ public class NumberFormattingTests {
@@ -133,6 +135,7 @@ public class NumberFormattingTests {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
@Ignore |
|
|
|
|
public void testPatternListFormatting() { |
|
|
|
|
MutablePropertyValues propertyValues = new MutablePropertyValues(); |
|
|
|
|
propertyValues.add("patternList", new String[] {"1,25.00", "2,35.00"}); |
|
|
|
|