CurrencyTest.java revision 0
0N/Apublic class CurrencyTest {
0N/A testSymbols();
0N/A static void testCurrencyCodeValidation() {
0N/A boolean gotException = false;
0N/A } catch (IllegalArgumentException e) {
0N/A gotException = true;
0N/A if (!gotException) {
0N/A static void testLocaleMapping() {
0N/A boolean gotException = false;
0N/A } catch (IllegalArgumentException e) {
0N/A gotException = true;
0N/A if (!gotException) {
0N/A String[] switchOverCtry = {"DE", "FR", "ES", "IT", "NL", "BE", "TR", "RO", "AZ", "MZ", "GH", "VE"};
0N/A String[] switchOverOld = {"DEM", "FRF", "ESP", "ITL", "NLG", "BEF", "TRL", "ROL", "AZM", "MZM", "GHC", "VEB"};
0N/A String[] switchOverNew = {"EUR", "EUR", "EUR", "EUR", "EUR", "EUR", "TRY", "RON", "AZN", "MZN", "GHS", "VEF"};
0N/A int[] switchOverYear = {2002, 2002, 2002, 2002, 2002, 2002, 2005, 2005, 2006, 2006, 2007, 2008};
0N/A int[] switchOverMonth = {Calendar.JANUARY, Calendar.JANUARY, Calendar.JANUARY, Calendar.JANUARY,
0N/A Calendar date = new GregorianCalendar(switchOverYear[i], switchOverMonth[i], switchOverDay[i]);
0N/A boolean gotException = false;
0N/A } catch (IllegalArgumentException e) {
0N/A gotException = true;
0N/A if (!gotException) {
0N/A static void testSymbols() {
0N/A static void testFractionDigits() {
0N/A static void testDisplayNames() {