提交 3af034be 编写于 作者: Y y00314596

modify cases by yangiqng3@huawei.com

Signed-off-by: Ny00314596 <yangqing3@huawei.com>
上级 d5689bde
...@@ -608,7 +608,7 @@ describe('I18nTest', function () { ...@@ -608,7 +608,7 @@ describe('I18nTest', function () {
it('i18n_test_4400', 0, function () { it('i18n_test_4400', 0, function () {
let value = I18n.getDisplayLanguage('zh-Hans-CN', 'en-US', true); let value = I18n.getDisplayLanguage('zh-Hans-CN', 'en-US', true);
console.log('i18n_test_4400 ' + value); console.log('i18n_test_4400 ' + value);
expect(value).assertEqual('Chinese'); expect(value).assertEqual('Simplified Chinese');
}) })
/* * /* *
...@@ -619,7 +619,7 @@ describe('I18nTest', function () { ...@@ -619,7 +619,7 @@ describe('I18nTest', function () {
it('i18n_test_4500', 0, function () { it('i18n_test_4500', 0, function () {
let value = I18n.getDisplayLanguage('zh-Hans-CN', 'en-GB', true); let value = I18n.getDisplayLanguage('zh-Hans-CN', 'en-GB', true);
console.log('i18n_test_4500 ' + value); console.log('i18n_test_4500 ' + value);
expect(value).assertEqual('Chinese'); expect(value).assertEqual('Simplified Chinese');
}) })
/* * /* *
...@@ -663,7 +663,7 @@ describe('I18nTest', function () { ...@@ -663,7 +663,7 @@ describe('I18nTest', function () {
it('i18n_test_4900', 0, function () { it('i18n_test_4900', 0, function () {
let value = I18n.getDisplayLanguage('zh-Hans-CN', 'en-US', false); let value = I18n.getDisplayLanguage('zh-Hans-CN', 'en-US', false);
console.log('i18n_test_4900 ' + value); console.log('i18n_test_4900 ' + value);
expect(value).assertEqual('Chinese'); expect(value).assertEqual('Simplified Chinese');
}) })
/* * /* *
...@@ -674,7 +674,7 @@ describe('I18nTest', function () { ...@@ -674,7 +674,7 @@ describe('I18nTest', function () {
it('i18n_test_5000', 0, function () { it('i18n_test_5000', 0, function () {
let value = I18n.getDisplayLanguage('zh-Hans-CN', 'en-US'); let value = I18n.getDisplayLanguage('zh-Hans-CN', 'en-US');
console.log('i18n_test_5000 ' + value); console.log('i18n_test_5000 ' + value);
expect(value).assertEqual('Chinese'); expect(value).assertEqual('Simplified Chinese');
}) })
console.log('*************end I18NTest*************'); console.log('*************end I18NTest*************');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册