From 7664ee58518dc3eebdb87bee0377cfa5cec6ecff Mon Sep 17 00:00:00 2001 From: hu0475 Date: Fri, 14 Jul 2023 14:25:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90global=E5=AD=90=E7=B3=BB?= =?UTF-8?q?=E7=BB=9Fi18n,resourceManager=E6=A8=A1=E5=9D=97=E7=9A=84?= =?UTF-8?q?=E8=B7=A8=E5=B9=B3=E5=8F=B0=E6=B5=8B=E8=AF=95=E5=A5=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: hu0475 --- .../src/main/ets/test/l18n.test.ets | 277 +++++++++++------- .../main/ets/test/resourceManager.test.ets | 196 ++++++------- 2 files changed, 264 insertions(+), 209 deletions(-) diff --git a/global/crossplatform/i18netstest/src/main/ets/test/l18n.test.ets b/global/crossplatform/i18netstest/src/main/ets/test/l18n.test.ets index 0c82cef70..79f0ee82d 100644 --- a/global/crossplatform/i18netstest/src/main/ets/test/l18n.test.ets +++ b/global/crossplatform/i18netstest/src/main/ets/test/l18n.test.ets @@ -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 testGetDateOrder001 + * @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 testGetDateOrder002 + * @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 testGetDateOrder003 + * @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 testGetCalendar001 + * @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 testSetTime001 + * @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 testSetTime002 + * @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 testSetTime003 + * @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 testSet001 + * @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 testSet002 + * @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 testSet003 + * @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 testSetTimeZoneAndGetTimeZone001 + * @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 testSetTimeZoneAndGetTimeZone002 + * @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 testGetFirstDayOfWeekAndSetFirstDayOfWeek001 + * @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 testGetFirstDayOfWeekAndSetFirstDayOfWeek002 + * @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 testGetFirstDayOfWeekAndSetFirstDayOfWeek003 + * @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 testGetFirstDayOfWeekAndSetFirstDayOfWeek004 + * @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 testSetMinimalDaysInFirstWeekAndGetMinimalDaysInFirstWeek001 + * @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 testSetMinimalDaysInFirstWeekAndGetMinimalDaysInFirstWeek002 + * @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 testSetMinimalDaysInFirstWeekAndGetMinimalDaysInFirstWeek003 + * @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 testSetMinimalDaysInFirstWeekAndGetMinimalDaysInFirstWeek004 + * @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 testGet001 + * @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 testGet002 + * @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 testGet003 + * @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 testIsWeekend001 + * @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 testI18n.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 testI18n.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 testI18n.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 testIsDigit001 + * @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 testIsDigit002 + * @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 testIsDigit003 + * @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 testIsDigit004 + * @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 testIsDigit005 + * @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 testIsSpaceChar001 + * @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 testIsSpaceChar002 + * @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 testIsSpaceChar003 + * @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 testIsWhitespace001 + * @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 testIsWhitespace002 + * @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 testI18n.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 testI18n.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 testI18n.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 testI18n.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 testIsIdeograph001 + * @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 testIsIdeograph002 + * @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 testIsIdeograph003 + * @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 testIsIdeograph004 + * @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 testIsLetter001 + * @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 testIsLetter002 + * @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 testIsLetter003 + * @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 testIsLetter004 + * @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 testIsLowerCase001 + * @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 testIsLowerCase003 + * @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 testIsLowerCase004 + * @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 testIsUpperCase001 + * @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 testIsUpperCase002 + * @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 testIsUpperCase003 + * @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 testIsUpperCase004 + * @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 testGetType001 + * @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 testGetType003 + * @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 testGetType004 + * @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 testGetType005 + * @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 testGetType006 + * @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 testGetType007 + * @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 testGetTimeZone001 + * @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 testGetID001 + * @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 testGetRawOffSet001 + * @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 testGetOffSet001 + * @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 testGetOffSet002 + * @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 testGetOffSet003 + * @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 testGetOffSet004 + * @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 testGetAvailableIDs001 + * @tc.name test getAvailableIDs method * @tc.desc get the getAvailableIDs value * @tc.size MediumTest * @tc.type Method diff --git a/global/crossplatform/resourcemanageretstest/src/main/ets/test/resourceManager.test.ets b/global/crossplatform/resourcemanageretstest/src/main/ets/test/resourceManager.test.ets index 0b64c2611..c00eaf750 100644 --- a/global/crossplatform/resourcemanageretstest/src/main/ets/test/resourceManager.test.ets +++ b/global/crossplatform/resourcemanageretstest/src/main/ets/test/resourceManager.test.ets @@ -21,8 +21,8 @@ describe('resourceManagerTest', function () { /* * * @tc.number TEST_DIRECTION_VERTICAL_001 - * @tc.name testDirectionVertical001 - * @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 testDirectionHorizontal001 - * @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 testDeviceTypePhone001 - * @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 testDeviceTypeTable001 - * @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 testDeviceTypeCar001 - * @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 testDeviceTypePC001 - * @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 testDeviceTypeTV001 - * @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 testDeviceTypeWearable001 - * @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: testScreenSdip001 - * @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 testScreenMdpi001 - * @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 testScreenLdpi001 - * @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 testScreenXldpi001 - * @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 testScreenXxldpi001 - * @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 testScreenXxxldpi001 - * @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 testGetStringValueResourceCallback001 + * @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 testGetStringValueResourcePromise001 + * @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 testGetStringValueResIdCallback001 + * @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 testGetStringValueResIdCallback002 + * @tc.name test getString method in callback mode * @tc.desc get the string in callback mode * @tc.size: MediumTest * @tc.type method @@ -315,9 +315,9 @@ describe('resourceManagerTest', function () { }) /* * - * @tc.number TEST_GETSTRINGVALUERESIDCALLBACK_003 - * @tc.name testGetStringValueResIdCallback003 - * @tc.desc get the string in callback mode + * @tc.number TEST_GETSTRINGVALUERESIDCALLBACK_003 + * @tc.name test getString method in callback mode + * @tc.desc get the string in callback mode * @tc.size: MediumTest * @tc.type method * @tc.level level 2 @@ -345,9 +345,9 @@ describe('resourceManagerTest', function () { }) /* * - * @tc.number TEST_GETSTRINGVALUERESIDCALLBACK_004 - * @tc.name testGetStringValueResIdCallback004 - * @tc.desc get the string in callback mode + * @tc.number TEST_GETSTRINGVALUERESIDCALLBACK_004 + * @tc.name test getString method in callback mode + * @tc.desc get the string in callback mode * @tc.size: MediumTest * @tc.type method * @tc.level level 2 @@ -375,7 +375,7 @@ describe('resourceManagerTest', function () { /* * * @tc.number TEST_GETSTRINGVALUERESIDCALLBACK_005 - * @tc.name testGetStringValueResIdCallback005 + * @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 testGetStringValueResIdPromise001 + * @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 testGetStringValueResIdPromise002 + * @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 testGetStringValueResIdPromise003 + * @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 testGetStringValueResIdPromise004 + * @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 testGetStringValueResIdPromise005 + * @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 testGetStartArrayValueResourceCallback001 + * @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 testGetStartArrayValueResourcePromise001 + * @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 testGetStartArrayValueResIdCallback001 + * @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 testGetStartArrayValueResIdPromise001 + * @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 testGetMediaContentResourceCallback001 + * @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 testGetMediaContentResourcePromise001 + * @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 testGetMediaContentResIdCallback001 + * @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 testGetMediaContentResIdPromise001 + * @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 testGetMediaContentBase64ResourceCallback001 + * @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 testGetMediaContentBase64ResourcePromise001 + * @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 testGetMediaContentBase64ResIdCallback001 + * @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 testGetMediaContentBase64ResIdPromise001 + * @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 testGetDeviceCapabilityCallback001 + * @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 testGetDeviceCapabilityPromise001 + * @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 testGetConfigurationCallback001 + * @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 testGetConfigurationPromise001 + * @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 testGetPluralStringValueResourceCallback001 + * @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 testGetPluralStringValueResourcePromise001 + * @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 testGetPluralStringValueResIdCallback001 + * @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 testGetPluralStringValueResIdPromise001 + * @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 testGetStringByNameCallback001 + * @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 testGetStringByNamePromise001 + * @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 testGetStringArrayByNameCallback001 + * @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 testGetStringArrayByNamePromise001 + * @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 testGetMediaByNameCallback001 + * @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 testGetMediaByNamePromise001 + * @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 testGetMediaBase64ByNameCallback001 + * @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 testGetMediaBase64ByNamePromise001 + * @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 testGetPluralStringByNameCallback001 + * @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 testGetPluralStringByNamePromise001 + * @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 testGetStringSyncResId001 + * @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 testGetStringSyncResIdArgs001 + * @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 testGetStringSyncResource001 + * @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 testGetStringSyncResourceArgs001 + * @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 testGetStringByNameSync001 + * @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 testGetStringByNameSync002 + * @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 testGetStringByNameSyncArgs001 + * @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 testGetBooleanResId001 + * @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 testGetBooleanResource001 + * @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 testGetBooleanByName001 + * @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 testGetNumberResId001 + * @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 testGetNumberResId002 + * @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 testGetNumberResource001 + * @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 testGetNumberResource002 + * @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 testGetNumberByName001 + * @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 testGetNumberByName002 + * @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 testRelease001 + * @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 testGetRawFileContentCallback001 + * @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 testGetRawFileContentPromise001 + * @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 testGetRawFdCallback001 + * @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 testGetRawFdPromise001 + * @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 testCloseRawFdCallback001 + * @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 testCloseRawFdPromise001 + * @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 testCloseRawFdPromise002 + * @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 -- GitLab