CustomResourceBundleTest fixed to work on any locales environment

This commit is contained in:
Dmitry Batkovich
2015-04-08 14:18:17 +03:00
parent 765f6faa19
commit cc683ae78d
@@ -57,8 +57,8 @@ public class CustomResourceBundleTest extends LightPlatformCodeInsightFixtureTes
assertTrue(bundle.getDefaultPropertiesFile().equals(bundle2.getDefaultPropertiesFile()));
assertEquals("prop_core", bundle.getBaseName());
assertEquals("English", propertiesFile.getLocale().getDisplayLanguage());
assertEquals("Finnish", propertiesFile2.getLocale().getDisplayLanguage());
assertNotSame(propertiesFile.getLocale().getLanguage(), propertiesFile.getLocale().getDisplayLanguage());
assertNotSame(propertiesFile2.getLocale().getLanguage(), propertiesFile2.getLocale().getDisplayLanguage());
}
public void testPropertiesFileNotAssociatedWhileLanguageCodeNotRecognized() {