diff options
author | Neil Fuller <nfuller@google.com> | 2014-09-26 14:48:44 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-09-26 14:48:44 +0000 |
commit | f239e3a739cbee33d48fc76264c4ffa0b4a90db8 (patch) | |
tree | 1cf494512ab60aef7549961fb8bec0cfb4d8cc34 /harmony-tests/src/test/java/org | |
parent | b4776bf1fb44bbb49620631dd224e1dd86a41ab0 (diff) | |
parent | 77afa6c64f0af91224368452e3cce74338d667d2 (diff) | |
download | libcore-f239e3a739cbee33d48fc76264c4ffa0b4a90db8.zip libcore-f239e3a739cbee33d48fc76264c4ffa0b4a90db8.tar.gz libcore-f239e3a739cbee33d48fc76264c4ffa0b4a90db8.tar.bz2 |
am 77afa6c6: Merge "Fix test_formatToCharacterIterator_original"
* commit '77afa6c64f0af91224368452e3cce74338d667d2':
Fix test_formatToCharacterIterator_original
Diffstat (limited to 'harmony-tests/src/test/java/org')
-rw-r--r-- | harmony-tests/src/test/java/org/apache/harmony/tests/java/text/Support_DecimalFormat.java | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/Support_DecimalFormat.java b/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/Support_DecimalFormat.java index b8d7519..0c6a824 100644 --- a/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/Support_DecimalFormat.java +++ b/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/Support_DecimalFormat.java @@ -154,19 +154,20 @@ public class Support_DecimalFormat extends Support_Format { private static Vector<FieldContainer> getPositiveCurrencyVectorTR() { Vector<FieldContainer> v = new Vector<FieldContainer>(); - v.add(new FieldContainer(0, 3, NumberFormat.Field.INTEGER)); - v.add(new FieldContainer(3, 4, NumberFormat.Field.DECIMAL_SEPARATOR)); - v.add(new FieldContainer(4, 6, NumberFormat.Field.FRACTION)); - v.add(new FieldContainer(7, 9, NumberFormat.Field.CURRENCY)); + v.add(new FieldContainer(0, 1, NumberFormat.Field.CURRENCY)); + v.add(new FieldContainer(1, 4, NumberFormat.Field.INTEGER)); + v.add(new FieldContainer(4, 5, NumberFormat.Field.DECIMAL_SEPARATOR)); + v.add(new FieldContainer(5, 7, NumberFormat.Field.FRACTION)); return v; } private static Vector<FieldContainer> getNegativeCurrencyVectorTR() { Vector<FieldContainer> v = new Vector<FieldContainer>(); - v.add(new FieldContainer(1, 4, NumberFormat.Field.INTEGER)); - v.add(new FieldContainer(4, 5, NumberFormat.Field.DECIMAL_SEPARATOR)); - v.add(new FieldContainer(5, 7, NumberFormat.Field.FRACTION)); - v.add(new FieldContainer(8, 10, NumberFormat.Field.CURRENCY)); + v.add(new FieldContainer(0, 1, NumberFormat.Field.SIGN)); + v.add(new FieldContainer(1, 2, NumberFormat.Field.CURRENCY)); + v.add(new FieldContainer(2, 5, NumberFormat.Field.INTEGER)); + v.add(new FieldContainer(5, 6, NumberFormat.Field.DECIMAL_SEPARATOR)); + v.add(new FieldContainer(6, 8, NumberFormat.Field.FRACTION)); return v; } @@ -181,6 +182,7 @@ public class Support_DecimalFormat extends Support_Format { private static Vector<FieldContainer> getNegativeCurrencyVectorUS() { Vector<FieldContainer> v = new Vector<FieldContainer>(); + v.add(new FieldContainer(0, 1, NumberFormat.Field.SIGN)); v.add(new FieldContainer(1, 2, NumberFormat.Field.CURRENCY)); v.add(new FieldContainer(2, 5, NumberFormat.Field.INTEGER)); v.add(new FieldContainer(5, 6, NumberFormat.Field.DECIMAL_SEPARATOR)); |