|
|
@ -26,7 +26,7 @@ public class DesignerEnvManagerTest extends TestCase{ |
|
|
|
|
|
|
|
|
|
|
|
//验证zh-Hans-CN
|
|
|
|
//验证zh-Hans-CN
|
|
|
|
Locale locale = Reflect.on(Locale.class).call("getInstance", "zh", "", "CN", "", null).get(); |
|
|
|
Locale locale = Reflect.on(Locale.class).call("getInstance", "zh", "", "CN", "", null).get(); |
|
|
|
assertEquals(Locale.SIMPLIFIED_CHINESE, locale); |
|
|
|
assertEquals(Locale.SIMPLIFIED_CHINESE, on.call("checkLocale", locale).get()); |
|
|
|
|
|
|
|
|
|
|
|
//验证其它语言
|
|
|
|
//验证其它语言
|
|
|
|
assertEquals(Locale.SIMPLIFIED_CHINESE, on.call("checkLocale", Locale.SIMPLIFIED_CHINESE).get()); |
|
|
|
assertEquals(Locale.SIMPLIFIED_CHINESE, on.call("checkLocale", Locale.SIMPLIFIED_CHINESE).get()); |
|
|
|