Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
7664ee58
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
7664ee58
编写于
7月 14, 2023
作者:
H
hu0475
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
完成global子系统i18n,resourceManager模块的跨平台测试套
Signed-off-by:
N
hu0475
<
huyanqiang5@huawei.com
>
上级
5a3e43ec
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
264 addition
and
209 deletion
+264
-209
global/crossplatform/i18netstest/src/main/ets/test/l18n.test.ets
...crossplatform/i18netstest/src/main/ets/test/l18n.test.ets
+166
-111
global/crossplatform/resourcemanageretstest/src/main/ets/test/resourceManager.test.ets
...manageretstest/src/main/ets/test/resourceManager.test.ets
+98
-98
未找到文件。
global/crossplatform/i18netstest/src/main/ets/test/l18n.test.ets
浏览文件 @
7664ee58
...
...
@@ -58,8 +58,11 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDISPLAYCOUNTRY_001
* @tc.name
testGetDisplayCountry001
* @tc.name
getDisplayCountry with zh-Hans-CN and en-US and true param
* @tc.desc check the display country
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('testGetDisplayCountry001', 0, function () {
let value = I18n.System.getDisplayCountry('zh-Hans-CN', 'en-US', true);
...
...
@@ -69,8 +72,11 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDISPLAYCOUNTRY_002
* @tc.name
testGetDisplayCountry002
* @tc.name
getDisplayCountry with zh-Hans-CN and en-US and undefined param
* @tc.desc check the display country
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('testGetDisplayCountry002', 0, function () {
let value = I18n.System.getDisplayCountry('zh-Hans-CN', 'en-US', undefined);
...
...
@@ -80,8 +86,11 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDISPLAYCOUNTRY_003
* @tc.name
testGetDisplayCountry003
* @tc.name
getDisplayCountry with zh-Hans-CN and en-US and null param
* @tc.desc check the display country
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('testGetDisplayCountry003', 0, function () {
let value = I18n.System.getDisplayCountry('zh-Hans-CN', 'en-US', null);
...
...
@@ -91,8 +100,11 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDISPLAYCOUNTRY_004
* @tc.name
testGetDisplayCountry004
* @tc.name
getDisplayCountry with zh and en-US and true param
* @tc.desc check the display country
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('testGetDisplayCountry004', 0, function () {
try{
...
...
@@ -110,8 +122,11 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDISPLAYCOUNTRY_005
* @tc.name
testGetDisplayCountry005
* @tc.name
getDisplayCountry with zh-CN and en-US and true param
* @tc.desc check the display country
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('testGetDisplayCountry005', 0, function () {
let value = I18n.System.getDisplayCountry('zh-CN', 'en-US', true);
...
...
@@ -121,8 +136,11 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDISPLAYCOUNTRY_006
* @tc.name
testGetDisplayCountry006
* @tc.name
getDisplayCountry with zh-Hans and en-US and true param
* @tc.desc check the display country
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('testGetDisplayCountry006', 0, function () {
try{
...
...
@@ -140,19 +158,25 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDISPLAYCOUNTRY_007
* @tc.name testGetDisplayCountry007
* @tc.desc check the language
* @tc.name getDisplayCountry with zh-Hans-CN and en-US and false param
* @tc.desc check the display country
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('
i18n_system_test_0700
', 0, function () {
it('
testGetDisplayCountry007
', 0, function () {
let value = I18n.System.getDisplayCountry('zh-Hans-CN', 'en-US', false);
console.log('
i18n_system_test_0700
' + value);
console.log('
testGetDisplayCountry007
' + value);
expect(value).assertEqual('China');
})
/* *
* @tc.number TEST_GETDISPLAYCOUNTRY_008
* @tc.name
testGetDisplayCountry008
* @tc.name
getDisplayCountry with zh-Hans-CN and en-US param
* @tc.desc check the language
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('testGetDisplayCountry008', 0, function () {
let value = I18n.System.getDisplayCountry('zh-Hans-CN', 'en-US');
...
...
@@ -162,8 +186,11 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDISPLAYCOUNTRY_009
* @tc.name
testGetDisplayCountry009
* @tc.name
getDisplayCountry with zh-Hans-CN and en-US param
* @tc.desc check the language
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('testGetDisplayCountry009', 0, function () {
try{
...
...
@@ -181,8 +208,11 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDISPLAYCOUNTRY_010
* @tc.name
testGetDisplayCountry010
* @tc.name
getDisplayCountry with zh-Hans-CN and en-US param
* @tc.desc check the language
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('testGetDisplayCountry010', 0, function () {
try{
...
...
@@ -200,8 +230,11 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDISPLAYLANGUAGE_001
* @tc.name
testGetDisplayLanguage001
* @tc.name
getDisplayLanguage with zh-Hans-CN and en-US and true param
* @tc.desc check the language
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('testGetDisplayLanguage001', 0, function () {
let value = I18n.System.getDisplayLanguage('zh-Hans-CN', 'en-US', true);
...
...
@@ -211,8 +244,11 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDISPLAYLANGUAGE_002
* @tc.name
testGetDisplayLanguage002
* @tc.name
getDisplayLanguage with zh-Hans-CN and en-US and undefined param
* @tc.desc check the language
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('testGetDisplayLanguage002', 0, function () {
let value = I18n.System.getDisplayLanguage('zh-Hans-CN', 'en-US', undefined);
...
...
@@ -222,8 +258,11 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDISPLAYLANGUAGE_003
* @tc.name
testGetDisplayLanguage003
* @tc.name
getDisplayLanguage with zh-Hans-CN and en-US and null param
* @tc.desc check the language
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('testGetDisplayLanguage003', 0, function () {
let value = I18n.System.getDisplayLanguage('zh-Hans-CN', 'en-US', null);
...
...
@@ -233,8 +272,11 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDISPLAYLANGUAGE_004
* @tc.name
testGetDisplayLanguage004
* @tc.name
getDisplayLanguage with zh-Hans-CN and en-GB and true param
* @tc.desc check the language
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('testGetDisplayLanguage004', 0, function () {
let value = I18n.System.getDisplayLanguage('zh-Hans-CN', 'en-GB', true);
...
...
@@ -244,8 +286,11 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDISPLAYLANGUAGE_005
* @tc.name
testGetDisplayLanguage005
* @tc.name
getDisplayLanguage with zh and en-US and true param
* @tc.desc check the language
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('testGetDisplayLanguage005', 0, function () {
let value = I18n.System.getDisplayLanguage('zh', 'en-US', true);
...
...
@@ -255,8 +300,11 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDISPLAYLANGUAGE_006
* @tc.name
testGetDisplayLanguage006
* @tc.name
getDisplayLanguage with zh-CN and en-US and true param
* @tc.desc check the language
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('testGetDisplayLanguage006', 0, function () {
let value = I18n.System.getDisplayLanguage('zh-CN', 'en-US', true);
...
...
@@ -266,8 +314,11 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDISPLAYLANGUAGE_007
* @tc.name
testGetDisplayLanguage007
* @tc.name
getDisplayLanguage with zh-Hans and en-US and true param
* @tc.desc check the language
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('testGetDisplayLanguage007', 0, function () {
let value = I18n.System.getDisplayLanguage('zh-Hans', 'en-US', true);
...
...
@@ -277,8 +328,11 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDISPLAYLANGUAGE_008
* @tc.name
testGetDisplayLanguage008
* @tc.name
getDisplayLanguage with zh-Hans-CN and en-US and false param
* @tc.desc check the language
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('testGetDisplayLanguage008', 0, function () {
let value = I18n.System.getDisplayLanguage('zh-Hans-CN', 'en-US', false);
...
...
@@ -288,8 +342,11 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDISPLAYLANGUAGE_009
* @tc.name
testGetDisplayLanguage009
* @tc.name
getDisplayLanguage with zh-Hans-CN and en-US param
* @tc.desc check the language
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('testGetDisplayLanguage009', 0, function () {
let value = I18n.System.getDisplayLanguage('zh-Hans-CN', 'en-US');
...
...
@@ -299,8 +356,11 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDISPLAYLANGUAGE_010
* @tc.name
testGetDisplayLanguage010
* @tc.name
getDisplayLanguage with zh-Hans-CN and en-US param
* @tc.desc check the language
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('testGetDisplayLanguage010', 0, function () {
try{
...
...
@@ -318,8 +378,11 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDISPLAYLANGUAGE_011
* @tc.name
testGetDisplayLanguage011
* @tc.name
getDisplayLanguage with zh-Hans-CN and en-US param
* @tc.desc check the language
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('testGetDisplayLanguage011', 0, function () {
try{
...
...
@@ -338,8 +401,11 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_SYSTEMLANGUAGE_001
* @tc.name
testSystemLanguage001
* @tc.name
getSystemLanguage
* @tc.desc check the getSystemLanguage
* @tc.size MediumTest
* @tc.type Method
* @tc.level Level 2
*/
it('testSystemLanguage001', 0, function () {
let lang = I18n.System.getSystemLanguage();
...
...
@@ -350,7 +416,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETSYSTEMREGION_001
* @tc.name
testGetSystemRegion001
* @tc.name
getSystemRegion
* @tc.desc check the getSystemRegion
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -365,7 +431,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETSYSTEMLOCALE_001
* @tc.name
testGetSystemLocale001
* @tc.name
getSystemLocale
* @tc.desc check the getSystemLocale
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -380,7 +446,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS24HOURCLOCK_001
* @tc.name
testIs24HourClock001
* @tc.name
is24HourClock
* @tc.desc check the value of is24HourClock method
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -395,7 +461,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDATEORDER_001
* @tc.name test
GetDateOrder001
* @tc.name test
getDateOrder method with en param
* @tc.desc get the DateOrder value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -410,7 +476,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDATEORDER_002
* @tc.name test
GetDateOrder002
* @tc.name test
getDateOrder method with th param
* @tc.desc get the DateOrder value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -425,7 +491,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GETDATEORDER_003
* @tc.name test
GetDateOrder003
* @tc.name test
getDateOrder method with jp param
* @tc.desc get the DateOrder value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -438,12 +504,9 @@ describe('I18nTest', function () {
expect(value).assertEqual('LLL-d-y');
})
/**
* @tc.number TEST_GETCALENDAR_001
* @tc.name test
GetCalendar001
* @tc.name test
getCalendar interface
* @tc.desc get the getCalendar value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -455,12 +518,9 @@ describe('I18nTest', function () {
expect(calendar != null).assertTrue();
})
/**
* @tc.number TEST_SETTIME_001
* @tc.name test
SetTime001
* @tc.name test
setTime interface with date param
* @tc.desc get the setTime value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -479,7 +539,7 @@ describe('I18nTest', function () {
/**
* @tc.number TEST_SETTIME_002
* @tc.name test
SetTime002
* @tc.name test
setTime interface with wrong month param
* @tc.desc get the setTime value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -497,7 +557,7 @@ describe('I18nTest', function () {
/**
* @tc.number TEST_SETTIME_003
* @tc.name test
SetTime003
* @tc.name test
setTime interface
* @tc.desc get the setTime value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -513,12 +573,9 @@ describe('I18nTest', function () {
})
/**
* @tc.number TEST_SET_001
* @tc.name test
Set001
* @tc.name test
set interface
* @tc.desc get the set value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -535,7 +592,7 @@ describe('I18nTest', function () {
/**
* @tc.number TEST_SET_002
* @tc.name test
Set002
* @tc.name test
set interface with hour,minute,second param
* @tc.desc get the set value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -552,7 +609,7 @@ describe('I18nTest', function () {
/**
* @tc.number TEST_SET_003
* @tc.name test
Set003
* @tc.name test
set interface with hour,minute param
* @tc.desc get the set value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -567,11 +624,9 @@ describe('I18nTest', function () {
expect(value).assertTrue();
})
/**
* @tc.number TEST_SETTIMEZONEANDGETTIMEZONE_001
* @tc.name test
SetTimeZoneAndGetTimeZone001
* @tc.name test
setTimeZone and getTimeZone interface
* @tc.desc get the setTimeZone and getTimeZone value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -588,7 +643,7 @@ describe('I18nTest', function () {
/**
* @tc.number TEST_SETTIMEZONEANDGETTIMEZONE_002
* @tc.name test
SetTimeZoneAndGetTimeZone002
* @tc.name test
setTimeZone with AAA param and getTimeZone interface
* @tc.desc get the setTimeZone and getTimeZone value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -606,7 +661,7 @@ describe('I18nTest', function () {
/**
* @tc.number TEST_GETFIRSTDAYOFWEEKANDSETFIRSTDAYOFWEEK_001
* @tc.name test
GetFirstDayOfWeekAndSetFirstDayOfWeek001
* @tc.name test
setFirstDayOfWeek and getFirstDayOfWeek interface
* @tc.desc get the setFirstDayOfWeek and getFirstDayOfWeek value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -623,7 +678,7 @@ describe('I18nTest', function () {
/**
* @tc.number TEST_GETFIRSTDAYOFWEEKANDSETFIRSTDAYOFWEEK_002
* @tc.name test
GetFirstDayOfWeekAndSetFirstDayOfWeek002
* @tc.name test
setFirstDayOfWeek with 0 param and getFirstDayOfWeek interface
* @tc.desc get the setFirstDayOfWeek and getFirstDayOfWeek value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -640,7 +695,7 @@ describe('I18nTest', function () {
/**
* @tc.number TEST_GETFIRSTDAYOFWEEKANDSETFIRSTDAYOFWEEK_003
* @tc.name test
GetFirstDayOfWeekAndSetFirstDayOfWeek003
* @tc.name test
setFirstDayOfWeek with 7 param and getFirstDayOfWeek interface
* @tc.desc get the setFirstDayOfWeek and getFirstDayOfWeek value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -657,7 +712,7 @@ describe('I18nTest', function () {
/**
* @tc.number TEST_GETFIRSTDAYOFWEEKANDSETFIRSTDAYOFWEEK_004
* @tc.name test
GetFirstDayOfWeekAndSetFirstDayOfWeek004
* @tc.name test
setFirstDayOfWeek with 8 param and getFirstDayOfWeek interface
* @tc.desc get the setFirstDayOfWeek and getFirstDayOfWeek value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -674,7 +729,7 @@ describe('I18nTest', function () {
/**
* @tc.number TEST_SET_MINIMALDAYS_IN_FIRST_WEEK_AND_GET_MINIMALDAYS_IN_FIRST_WEEK_001
* @tc.name test
SetMinimalDaysInFirstWeekAndGetMinimalDaysInFirstWeek001
* @tc.name test
setMinimalDaysInFirstWeek and getMinimalDaysInFirstWeek interface
* @tc.desc get the setMinimalDaysInFirstWeek and getMinimalDaysInFirstWeek value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -691,7 +746,7 @@ describe('I18nTest', function () {
/**
* @tc.number TEST_SET_MINIMALDAYS_IN_FIRST_WEEK_AND_GET_MINIMALDAYS_IN_FIRST_WEEK_002
* @tc.name test
SetMinimalDaysInFirstWeekAndGetMinimalDaysInFirstWeek002
* @tc.name test
setMinimalDaysInFirstWeek with 0 param and getMinimalDaysInFirstWeek interface
* @tc.desc get the setMinimalDaysInFirstWeek and getMinimalDaysInFirstWeek value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -708,7 +763,7 @@ describe('I18nTest', function () {
/**
* @tc.number TEST_SET_MINIMALDAYS_IN_FIRST_WEEK_AND_GET_MINIMALDAYS_IN_FIRST_WEEK_003
* @tc.name test
SetMinimalDaysInFirstWeekAndGetMinimalDaysInFirstWeek003
* @tc.name test
setMinimalDaysInFirstWeek with 8 param and getMinimalDaysInFirstWeek interface
* @tc.desc get the setMinimalDaysInFirstWeek and getMinimalDaysInFirstWeek value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -725,7 +780,7 @@ describe('I18nTest', function () {
/**
* @tc.number TEST_SET_MINIMALDAYS_IN_FIRST_WEEK_AND_GET_MINIMALDAYS_IN_FIRST_WEEK_004
* @tc.name test
SetMinimalDaysInFirstWeekAndGetMinimalDaysInFirstWeek004
* @tc.name test
setMinimalDaysInFirstWeek with 7 param and getMinimalDaysInFirstWeek interface
* @tc.desc get the setMinimalDaysInFirstWeek and getMinimalDaysInFirstWeek value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -743,7 +798,7 @@ describe('I18nTest', function () {
/**
* @tc.number TEST_GET_001
* @tc.name test
Get001
* @tc.name test
get interface
* @tc.desc get the get value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -759,7 +814,7 @@ describe('I18nTest', function () {
/**
* @tc.number TEST_GET_002
* @tc.name test
Get002
* @tc.name test
get interface with month param
* @tc.desc get the get value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -777,7 +832,7 @@ describe('I18nTest', function () {
/**
* @tc.number TEST_GET_003
* @tc.name test
Get003
* @tc.name test
get interface with day_of_year param
* @tc.desc get the get value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -793,7 +848,7 @@ describe('I18nTest', function () {
/**
* @tc.number TEST_IS_WEEKEND_001
* @tc.name test
IsWeekend001
* @tc.name test
isWeekend interface
* @tc.desc get the isWeekend value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -810,7 +865,7 @@ describe('I18nTest', function () {
/**
* @tc.number TEST_I18N.ISRTL_001
* @tc.name test
I18n.IsRTL001
* @tc.name test
isRTL interface with zh-CN param
* @tc.desc get the isRTL value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -825,7 +880,7 @@ describe('I18nTest', function () {
/**
* @tc.number TEST_I18N.ISRTL_002
* @tc.name test
I18n.IsRTL002
* @tc.name test
isRTL interface with en-US param
* @tc.desc get the isRTL value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -840,7 +895,7 @@ describe('I18nTest', function () {
/**
* @tc.number TEST_I18N.ISRTL_003
* @tc.name test
I18n.IsRTL003
* @tc.name test
isRTL interface with ar param
* @tc.desc get the isRTL value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -855,7 +910,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_DIGIT_001
* @tc.name test
IsDigit001
* @tc.name test
isDigit interface
* @tc.desc check the isDigit interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -870,7 +925,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_DIGIT_002
* @tc.name test
IsDigit002
* @tc.name test
isDigit interface with 123 param
* @tc.desc check the isDigit interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -885,7 +940,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_DIGIT_003
* @tc.name test
IsDigit003
* @tc.name test
isDigit interface with 123abc param
* @tc.desc check the isDigit interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -900,7 +955,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_DIGIT_004
* @tc.name test
IsDigit004
* @tc.name test
isDigit interface with abc123 param
* @tc.desc check the isDigit interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -915,7 +970,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_DIGIT_005
* @tc.name test
IsDigit005
* @tc.name test
isDigit interface with null param
* @tc.desc check the isDigit interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -931,7 +986,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_SPACE_CHAR_001
* @tc.name test
IsSpaceChar001
* @tc.name test
isSpaceChar interface with abc param
* @tc.desc check the isSpaceChar interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -946,7 +1001,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_SPACE_CHAR_002
* @tc.name test
IsSpaceChar002
* @tc.name test
isSpaceChar interface with one space param
* @tc.desc check the isSpaceChar interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -961,7 +1016,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_SPACE_CHAR_003
* @tc.name test
IsSpaceChar003
* @tc.name test
isSpaceChar interface with multi space param
* @tc.desc check the isSpaceChar interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -977,7 +1032,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_WHITESPACE_001
* @tc.name test
IsWhitespace001
* @tc.name test
isWhitespace interface with abc param
* @tc.desc check the isWhitespace interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -992,7 +1047,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_WHITESPACE_002
* @tc.name test
IsWhitespace002
* @tc.name test
isWhitespace interface with \u0009 param
* @tc.desc check the isWhitespace interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1008,7 +1063,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_I18N.UNICODE.ISRTL_001
* @tc.name test
I18n.Unicode.IsRTL001
* @tc.name test
isRTL interface with abc param
* @tc.desc check the isRTL interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1023,7 +1078,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_I18N.UNICODE.ISRTL_002
* @tc.name test
I18n.Unicode.IsRTL002
* @tc.name test
isRTL interface with ١٢٣٤٥٦٧ param
* @tc.desc check the isRTL interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1038,7 +1093,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_I18N.UNICODE.ISRTL_003
* @tc.name test
I18n.Unicode.IsRTL003
* @tc.name test
isRTL interface with 我是小明 param
* @tc.desc check the isRTL interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1053,7 +1108,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_I18N.UNICODE.ISRTL_004
* @tc.name test
I18n.Unicode.IsRTL004
* @tc.name test
isRTL interface with نحن param
* @tc.desc check the isRTL interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1068,7 +1123,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_IDEOGRAPH_001
* @tc.name test
IsIdeograph001
* @tc.name test
isIdeograph interface with abc param
* @tc.desc check the isIdeograph interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1083,7 +1138,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_IDEOGRAPH_002
* @tc.name test
IsIdeograph002
* @tc.name test
isIdeograph interface with '我' param
* @tc.desc check the isIdeograph interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1098,7 +1153,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_IDEOGRAPH_003
* @tc.name test
IsIdeograph003
* @tc.name test
isIdeograph interface with '우리' param
* @tc.desc check the isIdeograph interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1113,7 +1168,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_IDEOGRAPH_004
* @tc.name test
IsIdeograph004
* @tc.name test
isIdeograph interface with '私た' param
* @tc.desc check the isIdeograph interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1128,7 +1183,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_LETTER_001
* @tc.name test
IsLetter001
* @tc.name test
isLetter interface with abc param
* @tc.desc check the isLetter interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1143,7 +1198,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_LETTER_002
* @tc.name test
IsLetter002
* @tc.name test
isLetter interface with 123 param
* @tc.desc check the isLetter interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1158,7 +1213,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_LETTER_003
* @tc.name test
IsLetter003
* @tc.name test
isLetter interface with abc123 param
* @tc.desc check the isLetter interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1173,7 +1228,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_LETTER_004
* @tc.name test
IsLetter004
* @tc.name test
isLetter interface with 123abc param
* @tc.desc check the isLetter interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1189,7 +1244,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_LOWER_CASE_001
* @tc.name test
IsLowerCase001
* @tc.name test
isLowerCase interface with abc param
* @tc.desc check the isLowerCase interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1204,7 +1259,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_LOWER_CASE_002
* @tc.name
testIsLowerCase002
* @tc.name
ftest isLowerCase interface with ABC param
* @tc.desc check the isLowerCase interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1219,7 +1274,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_LOWER_CASE_003
* @tc.name test
IsLowerCase003
* @tc.name test
isLowerCase interface with abcDEF param
* @tc.desc check the isLowerCase interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1234,7 +1289,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_LOWER_CASE_004
* @tc.name test
IsLowerCase004
* @tc.name test
isLowerCase interface with ABCdef param
* @tc.desc check the isLowerCase interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1250,7 +1305,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_UPPER_CASE_001
* @tc.name test
IsUpperCase001
* @tc.name test
isUpperCase interface with ABC param
* @tc.desc check the isUpperCase interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1265,7 +1320,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_UPPER_CASE_002
* @tc.name test
IsUpperCase002
* @tc.name test
isUpperCase interface with abc param
* @tc.desc check the isUpperCase interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1280,7 +1335,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_UPPER_CASE_003
* @tc.name test
IsUpperCase003
* @tc.name test
isUpperCase interface with ABCdef param
* @tc.desc check the isUpperCase interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1295,7 +1350,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_IS_UPPER_CASE_004
* @tc.name test
IsUpperCase004
* @tc.name test
isUpperCase interface with abcDEF param
* @tc.desc check the isUpperCase interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1310,7 +1365,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GET_TYPE_001
* @tc.name test
GetType001
* @tc.name test
getType interface with a param
* @tc.desc check the getType interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1325,7 +1380,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GET_TYPE_002
* @tc.name
testGetType002
* @tc.name
ftest getType interface with ABC param
* @tc.desc check the getType interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1340,7 +1395,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GET_TYPE_003
* @tc.name test
GetType003
* @tc.name test
getType interface with ABCdef param
* @tc.desc check the getType interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1355,7 +1410,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GET_TYPE_004
* @tc.name test
GetType004
* @tc.name test
getType interface with 123 param
* @tc.desc check the getType interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1370,7 +1425,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GET_TYPE_005
* @tc.name test
GetType005
* @tc.name test
getType interface with 123abc param
* @tc.desc check the getType interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1385,7 +1440,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GET_TYPE_006
* @tc.name test
GetType006
* @tc.name test
getType interface with ١٢٣٤٥٦٧ param
* @tc.desc check the getType interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1400,7 +1455,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GET_TYPE_007
* @tc.name test
GetType007
* @tc.name test
getType interface with multi space param
* @tc.desc check the getType interface
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1416,7 +1471,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GET_TIME_ZONE_001
* @tc.name test
GetTimeZone001
* @tc.name test
getTimeZone method
* @tc.desc get the getTimeZone value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1433,7 +1488,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GET_ID_001
* @tc.name test
GetID001
* @tc.name test
getID
* @tc.desc get the getID value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1450,7 +1505,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GET_RAW_OFF_SET_001
* @tc.name test
GetRawOffSet001
* @tc.name test
getRawOffset method
* @tc.desc get the getRawOffset value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1467,7 +1522,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GET_OFF_SET_001
* @tc.name test
GetOffSet001
* @tc.name test
getOffset method
* @tc.desc get the getOffset value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1483,7 +1538,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GET_OFF_SET_002
* @tc.name test
GetOffSet002
* @tc.name test
getOffset method with date param
* @tc.desc get the getOffset value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1500,7 +1555,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GET_OFF_SET_003
* @tc.name test
GetOffSet003
* @tc.name test
getOffset method with timezone id
* @tc.desc get the getOffset value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1516,7 +1571,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GET_OFF_SET_004
* @tc.name test
GetOffSet004
* @tc.name test
getOffset method with date and timezone id param
* @tc.desc get the getOffset value
* @tc.size MediumTest
* @tc.type Method
...
...
@@ -1533,7 +1588,7 @@ describe('I18nTest', function () {
/* *
* @tc.number TEST_GET_AVAILABLE_IDS_001
* @tc.name test
GetAvailableIDs001
* @tc.name test
getAvailableIDs method
* @tc.desc get the getAvailableIDs value
* @tc.size MediumTest
* @tc.type Method
...
...
global/crossplatform/resourcemanageretstest/src/main/ets/test/resourceManager.test.ets
浏览文件 @
7664ee58
...
...
@@ -21,8 +21,8 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_DIRECTION_VERTICAL_001
* @tc.name test
DirectionVertical001
* @tc.desc get the
configuration in promise mode
* @tc.name test
DIRECTION_VERTICAL
* @tc.desc get the
value of DIRECTION_VERTICAL
* @tc.size: MediumTest
* @tc.type method
* @tc.level level 0
...
...
@@ -36,8 +36,8 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_DIRECTION_HORIZONTAL_001
* @tc.name test
DirectionHorizontal001
* @tc.desc
get the configuration in promise mode
* @tc.name test
DIRECTION_HORIZONTAL
* @tc.desc
get the value of DIRECTION_HORIZONTAL
* @tc.size: MediumTest
* @tc.type method
* @tc.level level 0
...
...
@@ -51,8 +51,8 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_DEVICE_TYPE_PHONE_001
* @tc.name test
DeviceTypePhone001
* @tc.desc get
the device capability in promise mode
* @tc.name test
DEVICE_TYPE_PHONE
* @tc.desc get
the value of DEVICE_TYPE_PHONE
* @tc.size: MediumTest
* @tc.type method
* @tc.level level 0
...
...
@@ -66,8 +66,8 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_DEVICE_TYPE_TABLET_001
* @tc.name test
DeviceTypeTable001
* @tc.desc get the
device capability in promise mode
* @tc.name test
DEVICE_TYPE_TABLET
* @tc.desc get the
value of DEVICE_TYPE_TABLET
* @tc.size: MediumTest
* @tc.type method
* @tc.level level 0
...
...
@@ -81,8 +81,8 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_DEVICE_TYPE_CAR_001
* @tc.name test
DeviceTypeCar001
* @tc.desc get the
device capability in promise mode
* @tc.name test
DEVICE_TYPE_CAR
* @tc.desc get the
value of DEVICE_TYPE_CAR
* @tc.size: MediumTest
* @tc.type method
* @tc.level level 0
...
...
@@ -96,8 +96,8 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_DEVICE_TYPE_PC_001
* @tc.name test
DeviceTypePC001
* @tc.desc get the
device capability in promise mode
* @tc.name test
DEVICE_TYPE_PC
* @tc.desc get the
value of DEVICE_TYPE_PC
* @tc.size: MediumTest
* @tc.type method
* @tc.level level 0
...
...
@@ -111,8 +111,8 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_DEVICE_TYPE_TV_001
* @tc.name test
DeviceTypeTV001
* @tc.desc get the
device capability in promise mode
* @tc.name test
DEVICE_TYPE_TV
* @tc.desc get the
value of DEVICE_TYPE_TV
* @tc.size: MediumTest
* @tc.type method
* @tc.level level 0
...
...
@@ -126,8 +126,8 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_DEVICE_TYPE_WEARABLE_001
* @tc.name test
DeviceTypeWearable001
* @tc.desc get the
device capability in promise mode
* @tc.name test
DEVICE_TYPE_WEARABLE
* @tc.desc get the
* @tc.size: MediumTest
* @tc.type method
* @tc.level level 0
...
...
@@ -142,8 +142,8 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number: TEST_SCREEN_SDIP_001
* @tc.name: test
ScreenSdip001
* @tc.desc: get the
device capability in promise mode
* @tc.name: test
SCREEN_SDPI
* @tc.desc: get the
value of SCREEN_SDPI
* @tc.size: MediumTest
* @tc.type enum
* @tc.level level 0
...
...
@@ -157,8 +157,8 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_SCREEN_MDPI_001
* @tc.name test
ScreenMdpi001
* @tc.desc get the
device capability in promise mode
* @tc.name test
SCREEN_MDPI
* @tc.desc get the
value of SCREEN_MDPI
* @tc.size: MediumTest
* @tc.type enum
* @tc.level level 0
...
...
@@ -172,8 +172,8 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_SCREEN_LDPI-001
* @tc.name test
ScreenLdpi001
* @tc.desc get the
device capability in promise mode
* @tc.name test
SCREEN_LDPI
* @tc.desc get the
value of SCREEN_LDPI
* @tc.size: MediumTest
* @tc.type enum
* @tc.level level 0
...
...
@@ -187,8 +187,8 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_SCREEN_XLDPI_001
* @tc.name test
ScreenXldpi001
* @tc.desc get the
device capability in promise mode
* @tc.name test
SCREEN_XLDPI
* @tc.desc get the
value of SCREEN_XLDPI
* @tc.size: MediumTest
* @tc.type enum
* @tc.level level 0
...
...
@@ -202,8 +202,8 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_SCREEN_XXLDPI_001
* @tc.name test
ScreenXxldpi001
* @tc.desc get the
device capability in promise mode
* @tc.name test
SCREEN_XXLDPI
* @tc.desc get the
value of SCREEN_XXLDPI
* @tc.size: MediumTest
* @tc.type enum
* @tc.level level 0
...
...
@@ -217,8 +217,8 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_SCREEN_XXXLDPI_001
* @tc.name test
ScreenXxxldpi001
* @tc.desc get the
device capability in promise mode
* @tc.name test
SCREEN_XXXLDPI
* @tc.desc get the
value of SCREEN_XXXLDPI
* @tc.size: MediumTest
* @tc.type enum
* @tc.level level 0
...
...
@@ -232,7 +232,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGVALUERERESOURCECALLBACK_001
* @tc.name test
GetStringValueResourceCallback001
* @tc.name test
getString method in callback mode
* @tc.desc get the string in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -250,7 +250,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGVALUERESOURCEPROMISE_001
* @tc.name test
GetStringValueResourcePromise001
* @tc.name test
getString method in promise mode
* @tc.desc get the string in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -269,7 +269,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGVALUERESIDCALLBACK_001
* @tc.name test
GetStringValueResIdCallback001
* @tc.name test
getString method in callback mode
* @tc.desc get the string in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -286,7 +286,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGVALUERESIDCallback_002
* @tc.name test
GetStringValueResIdCallback002
* @tc.name test
getString method in callback mode
* @tc.desc get the string in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -316,7 +316,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGVALUERESIDCALLBACK_003
* @tc.name
testGetStringValueResIdCallback003
* @tc.name
test getString method in callback mode
* @tc.desc get the string in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -346,7 +346,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGVALUERESIDCALLBACK_004
* @tc.name
testGetStringValueResIdCallback004
* @tc.name
test getString method in callback mode
* @tc.desc get the string in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -375,7 +375,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGVALUERESIDCALLBACK_005
* @tc.name test
GetStringValueResIdCallback005
* @tc.name test
getString method in callback mode
* @tc.desc get the string in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -405,7 +405,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGVALUERESIDPROMISE_001
* @tc.name test
GetStringValueResIdPromise001
* @tc.name test
getString method in promise mode
* @tc.desc get the string in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -423,7 +423,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGVALUERESIDPROMISE_002
* @tc.name test
GetStringValueResIdPromise002
* @tc.name test
getString method in promise mode
* @tc.desc get the string in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -452,7 +452,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGVALUERESIDPROMISE_003
* @tc.name test
GetStringValueResIdPromise003
* @tc.name test
getString method in promise mode
* @tc.desc get the string in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -485,7 +485,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGVALUERESIDPROMISE_004
* @tc.name test
GetStringValueResIdPromise004
* @tc.name test
getString method in promise mode
* @tc.desc get the string in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -514,7 +514,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGVALUERESIDPROMISE_005
* @tc.name test
GetStringValueResIdPromise005
* @tc.name test
getStringValue method in promise mode
* @tc.desc get the string in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -543,7 +543,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGARRAYVALUERESOURCECALLBACK_001
* @tc.name test
GetStartArrayValueResourceCallback001
* @tc.name test
getStringValue method in callback mode
* @tc.desc get the string array in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -561,7 +561,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGARRAYVALUERESOURCEPROMISE_001
* @tc.name test
GetStartArrayValueResourcePromise001
* @tc.name test
getStringArrayValue method in promise mode
* @tc.desc get the string array in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -579,7 +579,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTARTARRAYVALUERESIDCALLBACK_001
* @tc.name test
GetStartArrayValueResIdCallback001
* @tc.name test
getStringArrayValue method in callback mode
* @tc.desc get the string array in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -602,7 +602,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTARTARRAYVALUERESIDPROMISE_001
* @tc.name test
GetStartArrayValueResIdPromise001
* @tc.name test
getStringArrayValue method in promise mode
* @tc.desc get the string array in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -626,7 +626,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETMEDIACONTENTRESOURCECALLBACK_001
* @tc.name test
GetMediaContentResourceCallback001
* @tc.name test
getMediaContent method in callback mode
* @tc.desc get the media in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -644,7 +644,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETMEDIACONTENTRESOURCEPROMISE_001
* @tc.name test
GetMediaContentResourcePromise001
* @tc.name test
getMediaContent method in promise mode
* @tc.desc get the media in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -662,7 +662,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETMEDIACONTENTRESIDCALLBACK_001
* @tc.name test
GetMediaContentResIdCallback001
* @tc.name test
getMediaContent method in callback mode
* @tc.desc get the media in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -678,7 +678,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETMEDIACONTENTRESIDPROMISE_001
* @tc.name test
GetMediaContentResIdPromise001
* @tc.name test
getMediaContent method in callback mode
* @tc.desc get the media in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -695,7 +695,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETMEDIACONTENTBASE64RESOURCECALLBACK_001
* @tc.name test
GetMediaContentBase64ResourceCallback001
* @tc.name test
getMediaContentBase64 method in callback mode
* @tc.desc get the media base64 in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -713,7 +713,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETMEDIACONTENTBASE64RESOURCEPROMISE_001
* @tc.name test
GetMediaContentBase64ResourcePromise001
* @tc.name test
getMediaContentBase64 method in promise mode
* @tc.desc get the media base64 in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -731,7 +731,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETMEDIACONTENTBASE64RESIDCALLBACK_001
* @tc.name test
GetMediaContentBase64ResIdCallback001
* @tc.name test
getMediaContentBase64 method in callback mode
* @tc.desc get the media base64 in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -747,7 +747,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETMEDIACONTENTBASE64RESIDPROMISE_001
* @tc.name test
GetMediaContentBase64ResIdPromise001
* @tc.name test
getMediaContentBase64 method in promise mode
* @tc.desc get the media base64 in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -763,7 +763,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETDEVICECAPABILITYCALLBACK_001
* @tc.name test
GetDeviceCapabilityCallback001
* @tc.name test
getDeviceCapability method in callback mode
* @tc.desc get the device capability in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -792,7 +792,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETDEVICECAPABILITYPROMISE_001
* @tc.name test
GetDeviceCapabilityPromise001
* @tc.name test
getDeviceCapability method in promise mode
* @tc.desc get the device capability in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -814,7 +814,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST-GETCONFIGURATIONCALLBACK_001
* @tc.name test
GetConfigurationCallback001
* @tc.name test
getConfiguration method in callback mode
* @tc.desc get the configuration in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -843,7 +843,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETCONFIGURATIONPROMISE_001
* @tc.name test
GetConfigurationPromise001
* @tc.name test
getConfiguration method in promise mode
* @tc.desc get the configuration in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -866,7 +866,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETPLURALSTRINGVALUERESOURCECALLBACK_001
* @tc.name test
GetPluralStringValueResourceCallback001
* @tc.name test
getPluralStringValue method in callback mode
* @tc.desc get the plural string in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -884,7 +884,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETPLURALSTRINGVALUERESOURCEPROMISE_001
* @tc.name test
GetPluralStringValueResourcePromise001
* @tc.name test
getPluralStringValue method in promise mode
* @tc.desc get the plural string in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -902,7 +902,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETPLURALSTRINGVALUERESIDCALLBACK_001
* @tc.name test
GetPluralStringValueResIdCallback001
* @tc.name test
getPluralStringValue method in callback mode
* @tc.desc get the plural string in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -919,7 +919,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETPLURALSTRINGVALUERESIDPROMISE_001
* @tc.name test
GetPluralStringValueResIdPromise001
* @tc.name test
getPluralStringValue method in promise mode
* @tc.desc get the plural string in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -936,7 +936,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGBYNAMECALLBACK_001
* @tc.name test
GetStringByNameCallback001
* @tc.name test
getStringByName method in callback mode
* @tc.desc get the string in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -953,7 +953,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGBYNAMEPromise_001
* @tc.name test
GetStringByNamePromise001
* @tc.name test
getStringByName method in promise mode
* @tc.desc get the string in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -971,7 +971,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGARRAYBYNAMECALLBACK_001
* @tc.name test
GetStringArrayByNameCallback001
* @tc.name test
getStringArrayByName method in callback mode
* @tc.desc get the string array in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -994,7 +994,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGARRAYBYNAMEPROMISE_001
* @tc.name test
GetStringArrayByNamePromise001
* @tc.name test
getStringArrayByName method in promise mode
* @tc.desc get the string array in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1018,7 +1018,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETMEDIABYNAMECALLBACK_001
* @tc.name test
GetMediaByNameCallback001
* @tc.name test
getMediaByName method in callback mode
* @tc.desc get the media in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1033,7 +1033,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETMEDIABYNAMEPROMISE_001
* @tc.name test
GetMediaByNamePromise001
* @tc.name test
getMediaByName method in promise mode
* @tc.desc get the media in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1048,7 +1048,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETMEDIABASE64BYNAMECALLBACK_001
* @tc.name test
GetMediaBase64ByNameCallback001
* @tc.name test
getMediaBase64ByName method in callback mode
* @tc.desc get the media base64 in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1064,7 +1064,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETMEDIABASE64BYNAMEPROMISE_001
* @tc.name test
GetMediaBase64ByNamePromise001
* @tc.name test
getMediaBase64ByName method in promise mode
* @tc.desc get the media base64 in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1080,7 +1080,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETPLURALSTRINGBYNAMECALLBACK_001
* @tc.name test
GetPluralStringByNameCallback001
* @tc.name test
getPluralStringByName method in callback mode
* @tc.desc get the plural string in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1097,7 +1097,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETPLURALSTRINGBYNAMEPROMISE_001
* @tc.name test
GetPluralStringByNamePromise001
* @tc.name test
getPluralStringByName method in promise mode
* @tc.desc get the plural string in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1114,7 +1114,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGSYNCRESID_001
* @tc.name test
GetStringSyncResId001
* @tc.name test
getStringSync method in sync mode
* @tc.desc get the string in sync mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1130,7 +1130,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGSYNCRESIDARGS_001
* @tc.name test
GetStringSyncResIdArgs001
* @tc.name test
getStringSync method in sync mode
* @tc.desc get the string in sync mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1146,7 +1146,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGSYNCRESOURCE_001
* @tc.name test
GetStringSyncResource001
* @tc.name test
getStringSync method in sync mode
* @tc.desc get the string in sync mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1164,7 +1164,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETSTRINGSYNCRESOURCEARGS_001
* @tc.name test
GetStringSyncResourceArgs001
* @tc.name test
getStringSync method in sync mode
* @tc.desc get the string in sync mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1183,7 +1183,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST-GETSTRINGBYNAMESYNC_001
* @tc.name test
GetStringByNameSync001
* @tc.name test
getStringByNameSync method in sync mode
* @tc.desc get the string in sync mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1206,7 +1206,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST-GETSTRINGBYNAMESYNC_002
* @tc.name test
GetStringByNameSync002
* @tc.name test
getStringByNameSync method in sync mode
* @tc.desc get the string in sync mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1222,7 +1222,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST-GETSTRINGBYNAMESYNCARGS_001
* @tc.name test
GetStringByNameSyncArgs001
* @tc.name test
getStringByNameSync method in sync mode
* @tc.desc get the string in sync mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1239,7 +1239,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST-GETBOOLEANRESID_001
* @tc.name test
GetBooleanResId001
* @tc.name test
getBoolean method
* @tc.desc get the boolean value
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1254,7 +1254,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETBOOLEANRESOURCE_001
* @tc.name test
GetBooleanResource001
* @tc.name test
getBoolean method
* @tc.desc get the boolean value
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1271,7 +1271,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETBOOLEANBYNAME_001
* @tc.name test
GetBooleanByName001
* @tc.name test
getBooleanByName method
* @tc.desc get the boolean value
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1286,7 +1286,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETNUMBERRESID_001
* @tc.name test
GetNumberResId001
* @tc.name test
getNumber method with interger id
* @tc.desc get the interger value
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1304,7 +1304,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETNUMBERRESID_002
* @tc.name test
GetNumberResId002
* @tc.name test
getNumber with float id
* @tc.desc get the float value
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1320,7 +1320,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETNUMBERRESOURCE_001
* @tc.name test
GetNumberResource001
* @tc.name test
getNumber method with interger id
* @tc.desc get the interger value
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1338,7 +1338,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETNUMBERRESOURCE_002
* @tc.name test
GetNumberResource002
* @tc.name test
getNumber with float id
* @tc.desc get the float value
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1357,7 +1357,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETNUMBERBYNAME_001
* @tc.name test
GetNumberByName001
* @tc.name test
getNumberByName with interger
* @tc.desc get the interger value
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1372,7 +1372,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETNUMBERBYNAME_002
* @tc.name test
GetNumberByName002
* @tc.name test
getNumberByName with float
* @tc.desc get the float value
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1387,7 +1387,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_RELEASE_001
* @tc.name test
Release001
* @tc.name test
release method
* @tc.desc get the release function
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1403,7 +1403,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETRAWFILECONTENTCALLBACK_001
* @tc.name test
GetRawFileContentCallback001
* @tc.name test
getRawFile method in callback mode
* @tc.desc get the getRawFile in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1419,7 +1419,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_GETRAWFILECONTENTPROMISE_001
* @tc.name test
GetRawFileContentPromise001
* @tc.name test
getRawFile method in promise mode
* @tc.desc get the getRawFile in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1435,7 +1435,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST-GETRAWFDCALLBACK_001
* @tc.name test
GetRawFdCallback001
* @tc.name test
getRawFileDescriptor method in callback mode
* @tc.desc get the RawFileDescriptor in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1457,7 +1457,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST-GETRAWFDPROMISE_001
* @tc.name test
GetRawFdPromise001
* @tc.name test
getRawFileDescriptor method in promise mode
* @tc.desc get the RawFileDescriptor in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1480,7 +1480,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_CLOSERAWFDCALLBACK_001
* @tc.name test
CloseRawFdCallback001
* @tc.name test
closeRawFileDescriptor method in callback mode
* @tc.desc get the closeRawFileDescriptor in callback mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1508,7 +1508,7 @@ describe('resourceManagerTest', function () {
/* *
* @tc.number TEST_CLOSERAWFDPROMISE_001
* @tc.name test
CloseRawFdPromise001
* @tc.name test
closeRawFd method in promise mode throw 9001005 error code
* @tc.desc get the closeRawFd in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
@@ -1535,7 +1535,7 @@ describe('resourceManagerTest', function () {
/*
* @tc.number TEST_CLOSERAWFDPROMISE_002
* @tc.name test
CloseRawFdPromise002
* @tc.name test
closeRawFd method in promise mode throw 401 error code
* @tc.desc get the closeRawFd in promise mode
* @tc.size: MediumTest
* @tc.type method
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录