History log of /libcore/luni/src/test/java/libcore/java/util/CurrencyTest.java
Revision Date Author Comments
2096edb2cb1c19d0e7ec597e60757dc183382a54 12-Jan-2016 Shubham Ajmera <shubhamajmera@google.com> Add serialization and numericCode tests for java.util.Currency

Change-Id: I63fda7eb95d42a0100517ccecf15860694515adc
47d16f8116a013db8e7f3c5ebea3a2f25582fa77 19-Mar-2015 Fredrik Roubert <roubert@google.com> ICU55: Update locale data dependent test expectations.

ICU55 includes CLDR27 which has updated data for a number of locales,
which affects libcore tests.

(cherry picked from commit e6c88a51723b481276d21efcbcffe8f509488441)

Change-Id: I7e01ac1658c24b5b8c82e441ad3c3593f75ddefa
afe419d81932d685ed48e3440b51caa1d0881925 27-Nov-2014 Narayan Kamath <narayan@google.com> Track CLDR-26 updates to currency data.

source/data/curr/it.txt : The "Svizzero" for CHF is now lowercase.
source/data/curr/fr_CA.txt : US dollars are now "$ US".
source/data/curr/en_GB.txt : Removed GB specific override ("$") for USD.
We now fall back to en_001 for USD, which is "US$".

(cherry picked from commit 85e839fc507baedf3a7b99c3269ab54208eb6f25)

Change-Id: I05447911a88bd8d9d8afc6acc2fd18c2cb6e4bcc
e6c88a51723b481276d21efcbcffe8f509488441 19-Mar-2015 Fredrik Roubert <roubert@google.com> ICU55: Update locale data dependent test expectations.

ICU55 includes CLDR27 which has updated data for a number of locales,
which affects libcore tests.

Change-Id: I47c508a74945310dd7ad7abbb1dab1b77186a4e1
85e839fc507baedf3a7b99c3269ab54208eb6f25 27-Nov-2014 Narayan Kamath <narayan@google.com> Track CLDR-26 updates to currency data.

source/data/curr/it.txt : The "Svizzero" for CHF is now lowercase.
source/data/curr/fr_CA.txt : US dollars are now "$ US".
source/data/curr/en_GB.txt : Removed GB specific override ("$") for USD.
We now fall back to en_001 for USD, which is "US$".

Change-Id: I985897c67ed9ae831aa6b0eeb6d601a4adeeb2f9
e4f01dff49442840faa828dcff0d1583a2e68530 12-Aug-2014 Narayan Kamath <narayan@google.com> Allow Calendar.getInstance to be called with a null Locale.

LocaleData.get was changed to throw for null locales instead
of falling back to the default, so we need to adjust callers
accordingly.

Turns out all other callers would've thrown anyway (for different
reasons) so this change makes those exceptions explicit and
adds tests for them.

bug: 16938922

(cherry picked from commit 148de94b69ad9ed98ebb1adf0e8eb1b1e9e33e1f)

Change-Id: Id89961c9b9524776ef13f57d97b2bb73e19b4eb1
148de94b69ad9ed98ebb1adf0e8eb1b1e9e33e1f 12-Aug-2014 Narayan Kamath <narayan@google.com> Allow Calendar.getInstance to be called with a null Locale.

LocaleData.get was changed to throw for null locales instead
of falling back to the default, so we need to adjust callers
accordingly.

Turns out all other callers would've thrown anyway (for different
reasons) so this change makes those exceptions explicit and
adds tests for them.

bug: 16938922
Change-Id: I3e77435a6b414b002b96a4f8deb44b51591c5a51
0aff1dd0b4be1b8d8cb45b59079ca883a1b3205a 17-Jun-2014 Elliott Hughes <enh@google.com> Remove.

(cherry-pick of 63744c884dd4b4f4307f2b021fb894af164972af.)

Change-Id: Ibf79a402e1bad98a262e380fcee3d35c127ae6d5
63744c884dd4b4f4307f2b021fb894af164972af 17-Jun-2014 Elliott Hughes <enh@google.com> Remove.

Change-Id: Ibf79a402e1bad98a262e380fcee3d35c127ae6d5
d627bd4525e41b0503f94c2887c3e01618c73105 10-Mar-2014 Neil Fuller <nfuller@google.com> Add Currency.getNumericCode()

getNumericCode() was added in Java 1.7. It returns the ISO 4217
numeric code for a currency.

Change-Id: I8404703e749b3324bbcb89ecf6d8d64b95a030a3
e2351b133933cbf0356447b6623ca39fa6cb4963 24-Aug-2013 Elliott Hughes <enh@google.com> Fix three failing tests.

Increase an overly-tight timeout in SelectorTest.

Remove an incorrect assertion about a return type.

Remove an assertion testing fallback behavior of Currency.getDisplayName where
icu4c's behavior changes between releases and the RI doesn't match its own
documentation.

(cherry-pick of 8b3d7dfa1b50eb611b20824242f35eba2cfba46e.)

Bug: 10210895
Change-Id: Ia21b7c20056646cfc3e8cc784741ef2cbd10b7df
8b3d7dfa1b50eb611b20824242f35eba2cfba46e 24-Aug-2013 Elliott Hughes <enh@google.com> Fix three failing tests.

Increase an overly-tight timeout in SelectorTest.

Remove an incorrect assertion about a return type.

Remove an assertion testing fallback behavior of Currency.getDisplayName where
icu4c's behavior changes between releases and the RI doesn't match its own
documentation.

Bug: 10210895
Change-Id: I6ec4fd571d810d4b08c703acaec2e7c9d6bf9d69
3a878149e82d9d42353084f4958224ac12c5aa41 27-Feb-2013 Elliott Hughes <enh@google.com> Fix test failures caused by the icu4c 50 upgrade.

Change-Id: I540f390b142d578d5d18aed25f4d851416c9d1eb
a49a1e8c20b3cf9435ed422379f63e33e5c2eaf2 19-Oct-2012 Elliott Hughes <enh@google.com> Fix the pt_PT currency symbol (€ rather than ¤).

Bug: http://code.google.com/p/android/issues/detail?id=38622
Change-Id: I70bcf1d994e8467a32bdbdaa410067c6775fe889
0ad1c14261c4db0731503770ec6a027e90cc6e38 04-Mar-2011 Elliott Hughes <enh@google.com> Add new java.util.Currency functionality.

Also clean up the implementation a bit, fix a long-standing
serialization bug, and improve the documentation.

Bug: 3484927
Change-Id: I5e5270b1b1cdac69b6d7f51b8460896692040a12
4557728efb66c455a52b7669a8eefef7a9e54854 11-Aug-2010 Jesse Wilson <jessewilson@google.com> Moving tests to be under the libcore.* package.

This is indended to make it easier to run on VMs that restrict the packages
from which application classes can be loaded. For example, on the RI you need
to use the bootclasspath to load these tests.

Change-Id: I52193f35c5fcca18b5a3e1d280505b1e29b388af