Browse Source

更新单元测试

feature/big-screen
Yvan 4 years ago
parent
commit
19e4eb426f
  1. 2
      designer-base/src/test/java/com/fr/design/DesignerEnvManagerTest.java

2
designer-base/src/test/java/com/fr/design/DesignerEnvManagerTest.java

@ -26,7 +26,7 @@ public class DesignerEnvManagerTest extends TestCase{
//验证zh-Hans-CN
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());

Loading…
Cancel
Save