geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ash...@apache.org
Subject [37/50] [abbrv] incubator-geode git commit: GEODE-532 Remove testDefaults in BasicI18nJUnitTest
Date Mon, 09 Nov 2015 21:37:28 GMT
GEODE-532 Remove testDefaults in BasicI18nJUnitTest


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/66d9da67
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/66d9da67
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/66d9da67

Branch: refs/heads/feature/GEODE-11
Commit: 66d9da67570ed915ad4e479a94c7b1c3c081d6d8
Parents: e9aa18b
Author: shtykh_roman <rshtykh@yahoo.com>
Authored: Fri Nov 6 11:13:21 2015 +0900
Committer: shtykh_roman <rshtykh@yahoo.com>
Committed: Fri Nov 6 11:13:21 2015 +0900

----------------------------------------------------------------------
 .../gemfire/internal/i18n/BasicI18nJUnitTest.java       | 12 ------------
 1 file changed, 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/66d9da67/gemfire-core/src/test/java/com/gemstone/gemfire/internal/i18n/BasicI18nJUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/i18n/BasicI18nJUnitTest.java
b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/i18n/BasicI18nJUnitTest.java
index 806c51e..28934b3 100644
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/i18n/BasicI18nJUnitTest.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/i18n/BasicI18nJUnitTest.java
@@ -209,18 +209,6 @@ public class BasicI18nJUnitTest extends TestCase {
     StringIdImpl.setLocale(DEFAULT_LOCALE);
   }
 
-  public void testDefaults() {
-    Locale l = getCurrentLocale();
-    AbstractStringIdResourceBundle r = getActiveResourceBundle();
-    assertNotNull(l);
-    assertNotNull(r);
-    final String currentLang = l.getLanguage();
-    final String expectedLang = new Locale("en", "", "").getLanguage();
-    final String frenchLang = new Locale("fr", "", "").getLanguage();
-    // TODO this will fail if run under a locale with a language other than french or english
-    assertTrue(currentLang.equals(expectedLang) || currentLang.equals(frenchLang));
-  }
-
   public void testSetLocale() {
     //Verify we are starting in a known state
     assertTrue(DEFAULT_LOCALE.equals(getCurrentLocale()));


Mime
View raw message