Unbreak the build by fixing doubled content of the file from applying a patch having had the file lying around already. Patch by: jat Unreviewed git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@5621 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/test/com/google/gwt/i18n/client/impl/CurrencyTest.java b/user/test/com/google/gwt/i18n/client/impl/CurrencyTest.java index 9cad930..dd281b2 100644 --- a/user/test/com/google/gwt/i18n/client/impl/CurrencyTest.java +++ b/user/test/com/google/gwt/i18n/client/impl/CurrencyTest.java
@@ -62,67 +62,3 @@ assertEquals("lira italiana", list.lookupName("ITL")); } } -/* - * Copyright 2009 Google Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - */ -package com.google.gwt.i18n.client.impl; - -import com.google.gwt.junit.client.GWTTestCase; - -import java.util.Iterator; - -/** - * Tests for CurrencyList and CurrencyData (in addition to locale-specific - * tests in I18N_*Test). - */ -public class CurrencyTest extends GWTTestCase { - - @Override - public String getModuleName() { - return "com.google.gwt.i18n.I18NTest_es_MX"; - } - - public void testIterator() { - CurrencyList list = CurrencyList.get(); - boolean found = false; - for (CurrencyData data : list) { - String code = data.getCurrencyCode(); - if ("USD".equals(code)) { - found = true; - } else if ("ITL".equals(code)) { - fail("ITL in undeprecated list"); - } - } - assertTrue("USD not found in currency list", found); - Iterator<CurrencyData> it = list.iterator(true); - found = false; - while (it.hasNext()) { - CurrencyData data = it.next(); - String code = data.getCurrencyCode(); - if ("ITL".equals(code)) { - found = true; - } - } - assertTrue("ITL not found in deprecated currency list", found); - } - - public void testLookup() { - CurrencyList list = CurrencyList.get(); - assertNotNull("USD lookup failed", list.lookup("USD")); - assertNotNull("ITL lookup failed", list.lookup("ITL")); - assertNotNull("USD name lookup failed", list.lookupName("USD")); - assertNotNull("ITL name lookup failed", list.lookupName("ITL")); - } -}