From 5d2b218297a9e9d4ac24a1c1b6c88429bfa8df24 Mon Sep 17 00:00:00 2001 From: wangben Date: Fri, 10 Jun 2022 09:05:50 +0800 Subject: [PATCH] encode adds Chinese encoding Description:Add the corresponding xts use case issues:https://gitee.com/openharmony/js_util_module/issues/I5BM5H Signed-off-by: wangben --- .../src/main/js/test/util.test.js | 1337 ++++++----------- 1 file changed, 493 insertions(+), 844 deletions(-) diff --git a/compileruntime/util_lib_standard/src/main/js/test/util.test.js b/compileruntime/util_lib_standard/src/main/js/test/util.test.js index 51ec30524..edb23302e 100644 --- a/compileruntime/util_lib_standard/src/main/js/test/util.test.js +++ b/compileruntime/util_lib_standard/src/main/js/test/util.test.js @@ -51,7 +51,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilPrintf001 * @tc.desc: Returns the formatted string. - * @tc.require: AR000GFB4U * @tc.author: shikai */ it('testUtilPrintf001', 0, function () { @@ -66,7 +65,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilPrintf002 * @tc.desc: Returns the formatted string. - * @tc.require: AR000GFB4U * @tc.author: shikai */ it('testUtilPrintf002', 0, function () { @@ -79,7 +77,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilPrintf003 * @tc.desc: Returns the formatted string. - * @tc.require: AR000GFB4U * @tc.author: shikai */ it('testUtilPrintf003', 0, function () { @@ -93,7 +90,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilPrintf004 * @tc.desc: Returns the formatted string. - * @tc.require: AR000GFB4U * @tc.author: shikai */ it('testUtilPrintf004', 0, function () { @@ -107,7 +103,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilPrintf005 * @tc.desc: Returns the formatted string. - * @tc.require: AR000GFB4U * @tc.author: shikai */ it('testUtilPrintf005', 0, function () { @@ -121,7 +116,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilGetErrorString001 * @tc.desc: Get the string name of the system errno. - * @tc.require: AR000GFB4U * @tc.author: shikai */ it('testUtilGetErrorString001', 0, async function () { @@ -133,7 +127,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilGetErrorString002 * @tc.desc: Get the string name of the system errno. - * @tc.require: AR000GFB4U * @tc.author: shikai */ it('testUtilGetErrorString002', 0, async function () { @@ -145,7 +138,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilGetErrorString003 * @tc.desc: Get the string name of the system errno. - * @tc.require: AR000GFB4U * @tc.author: shikai */ it('testUtilGetErrorString003', 0, async function () { @@ -157,7 +149,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilGetErrorString004 * @tc.desc: Get the string name of the system errno. - * @tc.require: AR000GFB4U * @tc.author: shikai */ it('testUtilGetErrorString004', 0, async function () { @@ -169,7 +160,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilGetErrorString005 * @tc.desc: Get the string name of the system errno. - * @tc.require: AR000GFB4U * @tc.author: shikai */ it('testUtilGetErrorString005', 0, async function () { @@ -181,8 +171,7 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilPromiseWrapper001 * @tc.desc: Takes a function following the common error-first callback style, - taking an callback as the last argument, and return a version that returns promises. - * @tc.require: AR000GFB4U + taking an callback as the last argument, and return a version that returns promises. * @tc.author: shikai */ it('testUtilPromiseWrapper001', 0, async function () { @@ -202,8 +191,7 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilPromiseWrapper002 * @tc.desc: Takes a function following the common error-first callback style, - taking an callback as the last argument, and return a version that returns promises. - * @tc.require: AR000GFB4U + taking an callback as the last argument, and return a version that returns promises. * @tc.author: shikai */ it('testUtilPromiseWrapper002', 0, async function () { @@ -223,8 +211,7 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilPromiseWrapper003 * @tc.desc: Takes a function following the common error-first callback style, - taking an callback as the last argument, and return a version that returns promises. - * @tc.require: AR000GFB4U + taking an callback as the last argument, and return a version that returns promises. * @tc.author: shikai */ it('testUtilPromiseWrapper003', 0, async function () { @@ -236,8 +223,7 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilPromiseWrapper004 * @tc.desc: Takes a function following the common error-first callback style, - taking an callback as the last argument, and return a version that returns promises. - * @tc.require: AR000GFB4U + taking an callback as the last argument, and return a version that returns promises. * @tc.author: shikai */ it('testUtilPromiseWrapper004', 0, async function () { @@ -254,8 +240,7 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilPromiseWrapper005 * @tc.desc: Takes a function following the common error-first callback style, - taking an callback as the last argument, and return a version that returns promises. - * @tc.require: AR000GFB4U + taking an callback as the last argument, and return a version that returns promises. * @tc.author: shikai */ it('testUtilPromiseWrapper005', 0, async function () { @@ -275,8 +260,7 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilPromiseWrapper006 * @tc.desc: Takes a function following the common error-first callback style, - taking an callback as the last argument, and return a version that returns promises. - * @tc.require: AR000GFB4U + taking an callback as the last argument, and return a version that returns promises. * @tc.author: shikai */ it('testUtilPromiseWrapper006', 0, async function () { @@ -296,8 +280,7 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilPromiseWrapper007 * @tc.desc: Takes a function following the common error-first callback style, - taking an callback as the last argument, and return a version that returns promises. - * @tc.require: AR000GFB4U + taking an callback as the last argument, and return a version that returns promises. * @tc.author: shikai */ it('testUtilPromiseWrapper007', 0, async function () { @@ -313,8 +296,7 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilCallbackWrapper001 * @tc.desc: Takes an async function (or a function that returns a Promise) and - returns a function following the error-first callback style. - * @tc.require: AR000GFB4U + returns a function following the error-first callback style. * @tc.author: shikai */ it('testUtilCallbackWrapper001', 0, async function () { @@ -329,8 +311,7 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilCallbackWrapper002 * @tc.desc: Takes an async function (or a function that returns a Promise) and - returns a function following the error-first callback style. - * @tc.require: AR000GFB4U + returns a function following the error-first callback style. * @tc.author: shikai */ it('testUtilCallbackWrapper002', 0, async function () { @@ -347,8 +328,7 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilCallbackWrapper003 * @tc.desc: Takes an async function (or a function that returns a Promise) and - returns a function following the error-first callback style. - * @tc.require: AR000GFB4U + returns a function following the error-first callback style. * @tc.author: shikai */ it('testUtilCallbackWrapper003', 0, async function () { @@ -365,15 +345,13 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilCallbackWrapper004 * @tc.desc: Takes an async function (or a function that returns a Promise) and - returns a function following the error-first callback style. - * @tc.require: AR000GFB4U + returns a function following the error-first callback style. * @tc.author: shikai */ it('testUtilCallbackWrapper004', 0, async function () { async function promiseFn() { - var err = Error('value'); - return Promise.reject(err); - + var err = Error('value'); + return Promise.reject(err); } var cb = util.callbackWrapper(promiseFn); cb((err, ret) => { @@ -385,8 +363,7 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilCallbackWrapper005 * @tc.desc: Takes an async function (or a function that returns a Promise) and - returns a function following the error-first callback style. - * @tc.require: AR000GFB4U + returns a function following the error-first callback style. * @tc.author: shikai */ it('testUtilCallbackWrapper005', 0, async function () { @@ -403,8 +380,7 @@ describe('TextEncoderTest', function () { /** * @tc.name: testUtilCallbackWrapper006 * @tc.desc: Takes an async function (or a function that returns a Promise) and - returns a function following the error-first callback style. - * @tc.require: AR000GFB4U + returns a function following the error-first callback style. * @tc.author: shikai */ it('testUtilCallbackWrapper006', 0, async function () { @@ -422,7 +398,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testEncoding001 * @tc.desc: The source encoding's name, lowercased. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testEncoding001', 0, function () { @@ -434,7 +409,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testEncoding002 * @tc.desc: The source encoding's name, lowercased. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testEncoding002', 0, function () { @@ -446,7 +420,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testEncoding003 * @tc.desc: The source encoding's name, lowercased. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testEncoding003', 0, function () { @@ -458,7 +431,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testEncoding004 * @tc.desc: The source encoding's name, lowercased. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testEncoding004', 0, function () { @@ -470,7 +442,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testEncoding005 * @tc.desc: The source encoding's name, lowercased. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testEncoding005', 0, function () { @@ -483,7 +454,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testFatal001 * @tc.desc: Returns `true` if error mode is "fatal", and `false` otherwise. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testFatal001', 0, function () { @@ -495,7 +465,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testFatal002 * @tc.desc: Returns `true` if error mode is "fatal", and `false` otherwise. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testFatal002', 0, function () { @@ -507,7 +476,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testFatal003 * @tc.desc: Returns `true` if error mode is "fatal", and `false` otherwise. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testFatal003', 0, function () { @@ -519,7 +487,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testFatal004 * @tc.desc: Returns `true` if error mode is "fatal", and `false` otherwise. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testFatal004', 0, function () { @@ -531,7 +498,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testFatal005 * @tc.desc: Returns `true` if error mode is "fatal", and `false` otherwise. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testFatal005', 0, function () { @@ -543,7 +509,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testFatal006 * @tc.desc: Returns `true` if error mode is "fatal", and `false` otherwise. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testFatal006', 0, function () { @@ -555,7 +520,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testFatal007 * @tc.desc: Returns `true` if error mode is "fatal", and `false` otherwise. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testFatal007', 0, function () { @@ -567,7 +531,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testFatal008 * @tc.desc: Returns `true` if error mode is "fatal", and `false` otherwise. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testFatal008', 0, function () { @@ -579,7 +542,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testIgnoreBOM001 * @tc.desc: Returns `true` if ignore BOM flag is set, and `false` otherwise. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testIgnoreBOM001', 0, function () { @@ -591,7 +553,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testIgnoreBOM002 * @tc.desc: Returns `true` if ignore BOM flag is set, and `false` otherwise. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testIgnoreBOM002', 0, function () { @@ -603,7 +564,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testIgnoreBOM003 * @tc.desc: Returns `true` if ignore BOM flag is set, and `false` otherwise. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testIgnoreBOM003', 0, function () { @@ -615,7 +575,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testIgnoreBOM004 * @tc.desc: Returns `true` if ignore BOM flag is set, and `false` otherwise. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testIgnoreBOM004', 0, function () { @@ -627,7 +586,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testIgnoreBOM005 * @tc.desc: Returns `true` if ignore BOM flag is set, and `false` otherwise. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testIgnoreBOM005', 0, function () { @@ -639,7 +597,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testIgnoreBOM006 * @tc.desc: Returns `true` if ignore BOM flag is set, and `false` otherwise. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testIgnoreBOM006', 0, function () { @@ -651,7 +608,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testIgnoreBOM006 * @tc.desc: Returns `true` if ignore BOM flag is set, and `false` otherwise. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testIgnoreBOM006', 0, function () { @@ -663,7 +619,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testIgnoreBOM008 * @tc.desc: Returns `true` if ignore BOM flag is set, and `false` otherwise. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testIgnoreBOM008', 0, function () { @@ -675,7 +630,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testDecode001 * @tc.desc: Returns the result of running encoding's decoder. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testDecode001', 0, function () { @@ -692,7 +646,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testDecode002 * @tc.desc: Returns the result of running encoding's decoder. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testDecode002', 0, function () { @@ -712,7 +665,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testDecode003 * @tc.desc: Returns the result of running encoding's decoder. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testDecode003', 0, function () { @@ -732,7 +684,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testDecode004 * @tc.desc: Returns the result of running encoding's decoder. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testDecode004', 0, function () { @@ -754,7 +705,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testDecode005 * @tc.desc: Returns the result of running encoding's decoder. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testDecode005', 0, function () { @@ -778,7 +728,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testDecode006 * @tc.desc: Returns the result of running encoding's decoder. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testDecode006', 0, function () { @@ -800,7 +749,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testDecode007 * @tc.desc: Returns the result of running encoding's decoder. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testDecode007', 0, function () { @@ -822,7 +770,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testDecode008 * @tc.desc: Returns the result of running encoding's decoder. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testDecode008', 0, function () { @@ -844,7 +791,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testGetEncoding001 * @tc.desc: Encoding format. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testGetEncoding001', 0, function () { @@ -856,7 +802,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testEncode001 * @tc.desc: Returns the result of encoder. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testEncode001', 0, function () { @@ -867,10 +812,51 @@ describe('TextEncoderTest', function () { expect(result[0]).assertEqual(0x61) }) + /** + * @tc.name: testEncoding002 + * @tc.desc: Encoding format test gb18030. + * @tc.author: wangben + */ + it('testEncoding002', 0, function () { + let that = new util.TextEncoder('gb18030') + let str = that.encoding + expect(str).assertEqual('gb18030') + that = new util.TextEncoder('GB18030') + str = that.encoding; + expect(str).assertEqual('GB18030') + }) + + /** + * @tc.name: testEncoding003 + * @tc.desc: Encoding format test gbk. + * @tc.author: wangben + */ + it('testEncoding003', 0, function () { + let that = new util.TextEncoder('gbk') + let str = that.encoding + expect(str).assertEqual('gbk') + that = new util.TextEncoder('GBK') + str = that.encoding; + expect(str).assertEqual('GBK') + }) + + /** + * @tc.name: testEncoding004 + * @tc.desc: Encoding format test gb2313. + * @tc.author: wangben + */ + it('testEncoding004', 0, function () { + let that = new util.TextEncoder('gb2312') + let str = that.encoding + expect(str).assertEqual('gb2312') + that = new util.TextEncoder('GB2312') + str = that.encoding; + expect(str).assertEqual('GB2312') + }) + /** * @tc.name: testEncode002 * @tc.desc: Returns the result of encoder. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testEncode002', 0, function () { @@ -884,7 +870,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testEncode003 * @tc.desc: Returns the result of encoder. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testEncode003', 0, function () { @@ -898,7 +883,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testEncode004 * @tc.desc: Returns the result of encoder. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testEncode004', 0, function () { @@ -912,7 +896,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testEncode005 * @tc.desc: Returns the result of encoder. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testEncode005', 0, function () { @@ -927,7 +910,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testEncode006 * @tc.desc: Returns the result of encoder. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testEncode006', 0, function () { @@ -941,7 +923,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testEncode007 * @tc.desc: Returns the result of encoder. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testEncode007', 0, function () { @@ -955,7 +936,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testEncode008 * @tc.desc: Returns the result of encoder. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testEncode008', 0, function () { @@ -966,10 +946,128 @@ describe('TextEncoderTest', function () { expect(result[0]).assertEqual(0x24) }) + /** + * @tc.name: testEncode009 + * @tc.desc: Returns the result of encoder for gb18030. + * @tc.author: wangben + */ + it('testEncode009', 0, function () { + let that = new util.TextEncoder('gb18030') + let buffer = new ArrayBuffer(20) + let result = new Uint8Array(buffer) + result = that.encode('abc哈哈熠熠') + expect(result[0]).assertEqual(97) + expect(result[3]).assertEqual(185) + expect(result[4]).assertEqual(254) + expect(result[7]).assertEqual(236) + expect(result[8]).assertEqual(218) + }) + + /** + * @tc.name: testEncode010 + * @tc.desc: Returns the result of encoder for GB18030. + * @tc.author: wangben + */ + it('testEncode0010', 0, function () { + let that = new util.TextEncoder('GB18030') + let buffer = new ArrayBuffer(20) + let result = new Uint8Array(buffer) + result = that.encode('abc哈哈熠熠') + expect(result[0]).assertEqual(97) + expect(result[3]).assertEqual(185) + expect(result[4]).assertEqual(254) + expect(result[7]).assertEqual(236) + expect(result[8]).assertEqual(218) + }) + + /** + * @tc.name: testEncode011 + * @tc.desc: Returns the result of encoder for GB18030. + * @tc.author: wangben + */ + it('testEncode0011', 0, function () { + let that = new util.TextEncoder('GBK') + let buffer = new ArrayBuffer(20) + let result = new Uint8Array(buffer) + result = that.encode('abc哈哈熠熠') + expect(result[0]).assertEqual(97) + expect(result[3]).assertEqual(185) + expect(result[4]).assertEqual(254) + expect(result[7]).assertEqual(236) + expect(result[8]).assertEqual(218) + }) + + /** + * @tc.name: testEncode012 + * @tc.desc: Returns the result of encoder for gbk. + * @tc.author: wangben + */ + it('testEncode012', 0, function () { + let that = new util.TextEncoder('gbk') + let buffer = new ArrayBuffer(20) + let result = new Uint8Array(buffer) + result = that.encode('abc哈哈熠熠') + expect(result[0]).assertEqual(97) + expect(result[3]).assertEqual(185) + expect(result[4]).assertEqual(254) + expect(result[7]).assertEqual(236) + expect(result[8]).assertEqual(218) + }) + + /** + * @tc.name: testEncode013 + * @tc.desc: Returns the result of encoder for gb2312. + * @tc.author: wangben + */ + it('testEncode013', 0, function () { + let that = new util.TextEncoder('gb2312') + let buffer = new ArrayBuffer(20) + let result = new Uint8Array(buffer) + result = that.encode('abc哈哈熠熠') + expect(result[0]).assertEqual(97) + expect(result[3]).assertEqual(185) + expect(result[4]).assertEqual(254) + expect(result[7]).assertEqual(236) + expect(result[8]).assertEqual(218) + }) + + /** + * @tc.name: testEncode014 + * @tc.desc: Returns the result of encoder for gb2312. + * @tc.author: wangben + */ + it('testEncode014', 0, function () { + let that = new util.TextEncoder('GB2312') + let buffer = new ArrayBuffer(20) + let result = new Uint8Array(buffer) + result = that.encode('abc哈哈熠熠') + expect(result[0]).assertEqual(97) + expect(result[3]).assertEqual(185) + expect(result[4]).assertEqual(254) + expect(result[7]).assertEqual(236) + expect(result[8]).assertEqual(218) + }) + + /** + * @tc.name: testEncode015 + * @tc.desc: Returns the result of encoder for gb2312, input long string. + * @tc.author: wangben + */ + it('testEncode015', 0, function () { + let that = new util.TextEncoder('GB18030') + let buffer = new ArrayBuffer(900) + let result = new Uint8Array(buffer) + result = that.encode('abcd哈哈哈哈哈哈哈哈哈哈哈哈哈abcd哈哈哈哈哈哈哈哈哈哈哈哈哈abcd哈哈哈哈哈哈哈哈哈哈哈哈哈abcd哈哈哈哈哈哈哈哈哈哈哈哈哈') + expect(result[6]).assertEqual(185) + expect(result[30]).assertEqual(97) + expect(result[57]).assertEqual(254) + expect(result[98]).assertEqual(185) + expect(result[119]).assertEqual(254) + }) + /** * @tc.name: testEncodeInto001 * @tc.desc: encode string, write the result to dest array. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testEncodeInto001', 0, function () { @@ -985,7 +1083,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testEncodeInto002 * @tc.desc: encode string, write the result to dest array. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testEncodeInto002', 0, function () { @@ -1001,7 +1098,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testEncodeInto003 * @tc.desc: encode string, write the result to dest array. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testEncodeInto003', 0, function () { @@ -1017,7 +1113,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testEncodeInto004 * @tc.desc: encode string, write the result to dest array. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testEncodeInto004', 0, function () { @@ -1033,7 +1128,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testEncodeInto005 * @tc.desc: encode string, write the result to dest array. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testEncodeInto005', 0, function () { @@ -1049,7 +1143,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testEncodeInto006 * @tc.desc: encode string, write the result to dest array. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testEncodeInto006', 0, function () { @@ -1065,7 +1158,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testEncodeInto007 * @tc.desc: encode string, write the result to dest array. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testEncodeInto007', 0, function () { @@ -1081,7 +1173,6 @@ describe('TextEncoderTest', function () { /** * @tc.name: testEncodeInto008 * @tc.desc: encode string, write the result to dest array. - * @tc.require: AR000GFB4U * @tc.author: wangben */ it('testEncodeInto008', 0, function () { @@ -1098,611 +1189,556 @@ describe('TextEncoderTest', function () { describe('ScopeTest', function () { /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-001 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Obtains the lower bound of the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-001', 0, function () { + it('SUB_Runtime_JSAPI_001', 0, function () { var result = range.getLower() expect(result.toString()).assertEqual('30') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-002 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Obtains the lower bound of the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-002', 0, function () { + it('SUB_Runtime_JSAPI_002', 0, function () { var result = rangeFir.getLower() expect(result.toString()).assertEqual('35') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-003 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Obtains the lower bound of the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-003', 0, function () { + it('SUB_Runtime_JSAPI_003', 0, function () { var result = rangeSec.getLower() expect(result.toString()).assertEqual('20') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-004 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Obtains the lower bound of the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-004', 0, function () { + it('SUB_Runtime_JSAPI_004', 0, function () { var result = rangeThi.getLower() expect(result.toString()).assertEqual('20') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-005 + * @tc.name: SUB_Runtime_JSAPI_005 * @tc.desc: Obtains the lower bound of the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-005', 0, function () { + it('SUB_Runtime_JSAPI_005', 0, function () { var result = rangeFif.getLower() expect(result.toString()).assertEqual('35') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-006 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Obtains the upper bound of the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-006', 0, function () { + it('SUB_Runtime_JSAPI_001', 0, function () { var result = range.getUpper() expect(result.toString()).assertEqual('40') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-007 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Obtains the upper bound of the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-007', 0, function () { + it('SUB_Runtime_JSAPI_002', 0, function () { var result = rangeFir.getUpper() expect(result.toString()).assertEqual('39') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-008 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Obtains the upper bound of the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-008', 0, function () { + it('SUB_Runtime_JSAPI_003', 0, function () { var result = rangeSec.getUpper() expect(result.toString()).assertEqual('45') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-009 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Obtains the upper bound of the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-009', 0, function () { + it('SUB_Runtime_JSAPI_004', 0, function () { var result = rangeThi.getUpper() expect(result.toString()).assertEqual('35') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-010 + * @tc.name: SUB_Runtime_JSAPI_005 * @tc.desc: Obtains the upper bound of the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-010', 0, function () { + it('SUB_Runtime_JSAPI_005', 0, function () { var result = rangeFif.getUpper() expect(result.toString()).assertEqual('45') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-011 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Clamps a given value to the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-011', 0, function () { + it('SUB_Runtime_JSAPI_001', 0, function () { var result =range.clamp(tempLess) expect(result.toString()).assertEqual('30') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-012 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Clamps a given value to the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-012', 0, function () { + it('SUB_Runtime_JSAPI_002', 0, function () { var result =range.clamp(tempMiDF) expect(result.toString()).assertEqual('35') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-013 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Clamps a given value to the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-013', 0, function () { + it('SUB_Runtime_JSAPI_003', 0, function () { var result =range.clamp(tempMore) expect(result.toString()).assertEqual('40') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-014 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Clamps a given value to the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-014', 0, function () { + it('SUB_Runtime_JSAPI_004', 0, function () { var result =range.clamp(tempLower) expect(result.toString()).assertEqual('30') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-015 + * @tc.name: SUB_Runtime_JSAPI_005 * @tc.desc: Clamps a given value to the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-015', 0, function () { + it('SUB_Runtime_JSAPI_005', 0, function () { var result =range.clamp(tempUpper) expect(result.toString()).assertEqual('40') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-016 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Checks whether a given value is within the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-016', 0, function () { + it('SUB_Runtime_JSAPI_001', 0, function () { var result = range.contains(tempLess) expect(result).assertEqual(false) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-017 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Checks whether a given value is within the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-017', 0, function () { + it('SUB_Runtime_JSAPI_002', 0, function () { var result = range.contains(tempMiDF) expect(result).assertEqual(true) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-018 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Checks whether a given value is within the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-018', 0, function () { + it('SUB_Runtime_JSAPI_003', 0, function () { var result = range.contains(tempMore) expect(result).assertEqual(false) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-019 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Checks whether a given value is within the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-019', 0, function () { + it('SUB_Runtime_JSAPI_004', 0, function () { var result = range.contains(tempLower) expect(result).assertEqual(true) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-020 + * @tc.name: SUB_Runtime_JSAPI_005 * @tc.desc: Checks whether a given value is within the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-020', 0, function () { + it('SUB_Runtime_JSAPI_005', 0, function () { var result = range.contains(tempUpper) expect(result).assertEqual(true) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-021 + * @tc.name: SUB_Runtime_JSAPI_006 * @tc.desc: Checks whether a given range is within the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-021', 0, function () { + it('SUB_Runtime_JSAPI_006', 0, function () { var result = range.contains(rangeFir) expect(result).assertEqual(true) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-022 + * @tc.name: SUB_Runtime_JSAPI_007 * @tc.desc: Checks whether a given range is within the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-022', 0, function () { + it('SUB_Runtime_JSAPI_007', 0, function () { var result = range.contains(rangeSec) expect(result).assertEqual(false) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-023 + * @tc.name: SUB_Runtime_JSAPI_008 * @tc.desc: Checks whether a given range is within the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-023', 0, function () { + it('SUB_Runtime_JSAPI_008', 0, function () { var result = range.contains(rangeThi) expect(result).assertEqual(false) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-024 + * @tc.name: SUB_Runtime_JSAPI_009 * @tc.desc: Checks whether a given range is within the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-024', 0, function () { + it('SUB_Runtime_JSAPI_009', 0, function () { var result = range.contains(rangeFif) expect(result).assertEqual(false) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-025 + * @tc.name: SUB_Runtime_JSAPI_010 * @tc.desc: Checks whether a given range is within the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-025', 0, function () { + it('SUB_Runtime_JSAPI_010', 0, function () { var result = range.contains(range) expect(result).assertEqual(true) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-026 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Creates the smallest range that includes the current range and the given lower and upper bounds. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-026', 0, function () { + it('SUB_Runtime_JSAPI_001', 0, function () { var result = range.expand(tempMiDF, tempMidS) expect(result.toString()).assertEqual('[30, 40]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-027 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Creates the smallest range that includes the current range and the given lower and upper bounds. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-027', 0, function () { + it('SUB_Runtime_JSAPI_002', 0, function () { var result = range.expand(tempLess, tempMore) expect(result.toString()).assertEqual('[20, 45]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-028 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Creates the smallest range that includes the current range and the given lower and upper bounds. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-028', 0, function () { + it('SUB_Runtime_JSAPI_003', 0, function () { var result = range.expand(tempLess, tempMiDF) expect(result.toString()).assertEqual('[20, 40]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-029 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Creates the smallest range that includes the current range and the given lower and upper bounds. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-029', 0, function () { + it('SUB_Runtime_JSAPI_004', 0, function () { var result = range.expand(tempMiDF, tempMore) expect(result.toString()).assertEqual('[30, 45]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-030 + * @tc.name: SUB_Runtime_JSAPI_005 * @tc.desc: Creates the smallest range that includes the current range and the given lower and upper bounds. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-030', 0, function () { + it('SUB_Runtime_JSAPI_005', 0, function () { var result = range.expand(tempLower, tempUpper) expect(result.toString()).assertEqual('[30, 40]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-031 + * @tc.name: SUB_Runtime_JSAPI_006 * @tc.desc: Creates the smallest range that includes the current range and a given range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-031', 0, function () { + it('SUB_Runtime_JSAPI_006', 0, function () { var result = range.expand(rangeFir) expect(result.toString()).assertEqual('[30, 40]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-032 + * @tc.name: SUB_Runtime_JSAPI_007 * @tc.desc: Creates the smallest range that includes the current range and a given range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-032', 0, function () { + it('SUB_Runtime_JSAPI_007', 0, function () { var result = range.expand(rangeSec) expect(result.toString()).assertEqual('[20, 45]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-033 + * @tc.name: SUB_Runtime_JSAPI_008 * @tc.desc: Creates the smallest range that includes the current range and a given range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-033', 0, function () { + it('SUB_Runtime_JSAPI_008', 0, function () { var result = range.expand(rangeThi) expect(result.toString()).assertEqual('[20, 40]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-034 + * @tc.name: SUB_Runtime_JSAPI_009 * @tc.desc: Creates the smallest range that includes the current range and a given range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-034', 0, function () { + it('SUB_Runtime_JSAPI_009', 0, function () { var result = range.expand(rangeFif) expect(result.toString()).assertEqual('[30, 45]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-035 + * @tc.name: SUB_Runtime_JSAPI_010 * @tc.desc: Creates the smallest range that includes the current range and a given range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-035', 0, function () { + it('SUB_Runtime_JSAPI_010', 0, function () { var result = range.expand(range) expect(result.toString()).assertEqual('[30, 40]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-036 + * @tc.name: SUB_Runtime_JSAPI_011 * @tc.desc: Creates the smallest range that includes the current range and a given value. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-036', 0, function () { + it('SUB_Runtime_JSAPI_011', 0, function () { var result = range.expand(tempMiDF) expect(result.toString()).assertEqual('[30, 40]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-037 + * @tc.name: SUB_Runtime_JSAPI_012 * @tc.desc: Creates the smallest range that includes the current range and a given value. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-037', 0, function () { + it('SUB_Runtime_JSAPI_012', 0, function () { var result = range.expand(tempLess) expect(result.toString()).assertEqual('[20, 40]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-038 + * @tc.name: SUB_Runtime_JSAPI_013 * @tc.desc: Creates the smallest range that includes the current range and a given value. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-038', 0, function () { + it('SUB_Runtime_JSAPI_013', 0, function () { var result = range.expand(tempMore) expect(result.toString()).assertEqual('[30, 45]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-039 + * @tc.name: SUB_Runtime_JSAPI_014 * @tc.desc: Creates the smallest range that includes the current range and a given value. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-039', 0, function () { + it('SUB_Runtime_JSAPI_014', 0, function () { var result = range.expand(tempLower) expect(result.toString()).assertEqual('[30, 40]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-040 + * @tc.name: SUB_Runtime_JSAPI_015 * @tc.desc: Creates the smallest range that includes the current range and a given value. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-040', 0, function () { + it('SUB_Runtime_JSAPI_015', 0, function () { var result = range.expand(tempUpper) expect(result.toString()).assertEqual('[30, 40]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-041 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Returns the intersection of a given range and the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-041', 0, function () { + it('SUB_Runtime_JSAPI_001', 0, function () { var result = range.intersect(rangeFir) expect(result.toString()).assertEqual('[35, 39]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-042 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Returns the intersection of a given range and the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-042', 0, function () { + it('SUB_Runtime_JSAPI_002', 0, function () { var result = range.intersect(rangeSec) expect(result.toString()).assertEqual('[30, 40]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-043 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Returns the intersection of a given range and the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-043', 0, function () { + it('SUB_Runtime_JSAPI_003', 0, function () { var result = range.intersect(rangeThi) expect(result.toString()).assertEqual('[30, 35]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-044 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Returns the intersection of a given range and the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-044', 0, function () { + it('SUB_Runtime_JSAPI_004', 0, function () { var result = range.intersect(rangeFif) expect(result.toString()).assertEqual('[35, 40]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-045 + * @tc.name: SUB_Runtime_JSAPI_005 * @tc.desc: Returns the intersection of a given range and the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-045', 0, function () { + it('SUB_Runtime_JSAPI_005', 0, function () { var result = range.intersect(range) expect(result.toString()).assertEqual('[30, 40]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-046 + * @tc.name: SUB_Runtime_JSAPI_006 * @tc.desc: Returns the intersection of the current range and the range specified by - the given lower and upper bounds. - * @tc.require: AR000GFB4U + the given lower and upper bounds. * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-046', 0, function () { + it('SUB_Runtime_JSAPI_006', 0, function () { var result = range.intersect(tempMiDF, tempMidS) expect(result.toString()).assertEqual('[35, 39]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-047 + * @tc.name: SUB_Runtime_JSAPI_007 * @tc.desc: Returns the intersection of the current range and the range specified by - the given lower and upper bounds. - * @tc.require: AR000GFB4U + the given lower and upper bounds. * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-047', 0, function () { + it('SUB_Runtime_JSAPI_007', 0, function () { var result = range.intersect(tempLess, tempMore) expect(result.toString()).assertEqual('[30, 40]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-048 + * @tc.name: SUB_Runtime_JSAPI_008 * @tc.desc: Returns the intersection of the current range and the range specified by - the given lower and upper bounds. - * @tc.require: AR000GFB4U + the given lower and upper bounds. * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-048', 0, function () { + it('SUB_Runtime_JSAPI_008', 0, function () { var result = range.intersect(tempLess, tempMiDF) expect(result.toString()).assertEqual('[30, 35]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-049 + * @tc.name: SUB_Runtime_JSAPI_009 * @tc.desc: Returns the intersection of the current range and the range specified by - the given lower and upper bounds. - * @tc.require: AR000GFB4U + the given lower and upper bounds. * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-049', 0, function () { + it('SUB_Runtime_JSAPI_009', 0, function () { var result = range.intersect(tempMiDF, tempMore) expect(result.toString()).assertEqual('[35, 40]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-050 + * @tc.name: SUB_Runtime_JSAPI_010 * @tc.desc: Returns the intersection of the current range and the range specified by - the given lower and upper bounds. - * @tc.require: AR000GFB4U + the given lower and upper bounds. * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-050', 0, function () { + it('SUB_Runtime_JSAPI_010', 0, function () { var result = range.intersect(tempLower, tempUpper) expect(result.toString()).assertEqual('[30, 40]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-051 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Obtains a string representation of the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-051', 0, function () { + it('SUB_Runtime_JSAPI_001', 0, function () { var result = range.toString() expect(result.toString()).assertEqual('[30, 40]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-052 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Obtains a string representation of the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-052', 0, function () { + it('SUB_Runtime_JSAPI_002', 0, function () { var result = rangeFir.toString() expect(result.toString()).assertEqual('[35, 39]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-053 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Obtains a string representation of the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-053', 0, function () { + it('SUB_Runtime_JSAPI_003', 0, function () { var result = rangeSec.toString() expect(result.toString()).assertEqual('[20, 45]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-054 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Obtains a string representation of the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-054', 0, function () { + it('SUB_Runtime_JSAPI_004', 0, function () { var result = rangeThi.toString() expect(result.toString()).assertEqual('[20, 35]') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR36-055 + * @tc.name: SUB_Runtime_JSAPI_005 * @tc.desc: Obtains a string representation of the current range. - * @tc.require: AR000GFB4U * @tc.author: jiangkai */ - it('SUB_Runtime_JSAPI_SR000GGR36-055', 0, function () { + it('SUB_Runtime_JSAPI_005', 0, function () { var result = rangeFif.toString() expect(result.toString()).assertEqual('[35, 45]') }) @@ -1711,13 +1747,12 @@ describe('ScopeTest', function () { describe('Base64Test', function () { /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_001 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Encodes all bytes from the specified u8 array into a newly-allocated u8 - array using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q + array using the Base64 encoding scheme. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_001', 0, function () { + it('SUB_Runtime_JSAPI_001', 0, function () { var that = new util.Base64() var array = new Uint8Array([115,49,51]); var rarray = new Uint8Array([99,122,69,122]); @@ -1728,13 +1763,12 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_004 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Encodes all bytes from the specified u8 array into a newly-allocated u8 - array using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q + array using the Base64 encoding scheme. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_004', 0, function () { + it('SUB_Runtime_JSAPI_002', 0, function () { var that = new util.Base64() var array = new Uint8Array([66, 97, 115, 101, 54, 52, 32, 78, 111, 100, 101, 46, 106, 115]); var rarray = new Uint8Array([81,109,70,122,90,84,89,48,73,69,53,118,90,71,85,117,97,110,77,61]); @@ -1745,18 +1779,17 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_005 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Encodes all bytes from the specified u8 array into a newly-allocated u8 - array using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q + array using the Base64 encoding scheme. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_005', 0, function () { + it('SUB_Runtime_JSAPI_003', 0, function () { var that = new util.Base64() var array = new Uint8Array([66,97,115,101,54,52,32,69,110,99,111,100,105,110,103,32,105, - 110,32,78,111,100,101,46,106,115]); + 110,32,78,111,100,101,46,106,115]); var rarray = new Uint8Array([81,109,70,122,90,84,89,48,73,69,86,117,89,50,57,107,97,87,53,110, - 73,71,108,117,73,69,53,118,90,71,85,117,97,110,77,61]); + 73,71,108,117,73,69,53,118,90,71,85,117,97,110,77,61]); var result = that.encodeSync(array); for (var i = 0; i < 36; i++) { expect(result[i]).assertEqual(rarray[i]); @@ -1764,13 +1797,12 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_002 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Encodes all bytes from the specified u8 array into a newly-allocated u8 - array using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q + array using the Base64 encoding scheme. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_002', 0, function () { + it('SUB_Runtime_JSAPI_004', 0, function () { var that = new util.Base64() var array = new Uint8Array([168, 174, 155, 255]); var rarray = new Uint8Array([113,75,54,98,47,119,61,61]); @@ -1781,13 +1813,12 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_003 + * @tc.name: SUB_Runtime_JSAPI_005 * @tc.desc: Encodes all bytes from the specified u8 array into a newly-allocated u8 - array using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q + array using the Base64 encoding scheme. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_003', 0, function () { + it('SUB_Runtime_JSAPI_005', 0, function () { var that = new util.Base64() var array = new Uint8Array([66, 97, 115, 101, 54, 52]); var rarray = new Uint8Array([81, 109, 70, 122, 90, 84, 89, 48]); @@ -1798,12 +1829,11 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_006 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Encodes the specified byte array into a String using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_006', 0, function () { + it('SUB_Runtime_JSAPI_001', 0, function () { var that = new util.Base64() var array = new Uint8Array([115,49,51]); var result = that.encodeToStringSync(array) @@ -1811,12 +1841,11 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_009 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Encodes the specified byte array into a String using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_009', 0, function () { + it('SUB_Runtime_JSAPI_002', 0, function () { var that = new util.Base64() var array = new Uint8Array([66, 97, 115, 101, 54, 52, 32, 78, 111, 100, 101, 46, 106, 115]); var result = that.encodeToStringSync(array); @@ -1824,26 +1853,24 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_010 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Encodes the specified byte array into a String using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_010', 0, function () { + it('SUB_Runtime_JSAPI_003', 0, function () { var that = new util.Base64() var array = new Uint8Array([66,97,115,101,54,52,32,69,110,99,111,100,105,110,103,32,105,110, - 32,78,111,100,101,46,106,115]); + 32,78,111,100,101,46,106,115]); var result = that.encodeToStringSync(array); expect(result).assertEqual('QmFzZTY0IEVuY29kaW5nIGluIE5vZGUuanM=') }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_007 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Encodes the specified byte array into a String using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_007', 0, function () { + it('SUB_Runtime_JSAPI_004', 0, function () { var that = new util.Base64() var array = new Uint8Array([168, 174, 155, 255]); var result = that.encodeToStringSync(array); @@ -1851,12 +1878,11 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_008 + * @tc.name: SUB_Runtime_JSAPI_005 * @tc.desc: Encodes the specified byte array into a String using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_008', 0, function () { + it('SUB_Runtime_JSAPI_005', 0, function () { var that = new util.Base64() var array = new Uint8Array([66, 97, 115, 101, 54, 52]); var result = that.encodeToStringSync(array); @@ -1864,13 +1890,12 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_011 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Decodes a Base64 encoded String or input u8 array into a newly-allocated u8 - array using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q + array using the Base64 encoding scheme. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_011', 0, function () { + it('SUB_Runtime_JSAPI_001', 0, function () { var that = new util.Base64() var buff = 'czEz'; var rarray = new Uint8Array([115,49,51]); @@ -1881,13 +1906,12 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_013 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Decodes a Base64 encoded String or input u8 array into a newly-allocated u8 - array using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q + array using the Base64 encoding scheme. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_013', 0, function () { + it('SUB_Runtime_JSAPI_002', 0, function () { var that = new util.Base64() var buff = 'QmFzZTY0IE5vZGUuanM='; var rarray = new Uint8Array([66, 97, 115, 101, 54, 52, 32, 78, 111, 100, 101, 46, 106, 115]); @@ -1898,17 +1922,16 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_014 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Decodes a Base64 encoded String or input u8 array into a newly-allocated u8 - array using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q + array using the Base64 encoding scheme. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_014', 0, function () { + it('SUB_Runtime_JSAPI_003', 0, function () { var that = new util.Base64() var buff = 'QmFzZTY0IEVuY29kaW5nIGluIE5vZGUuanM='; var rarray = new Uint8Array([66,97,115,101,54,52,32,69,110,99,111,100,105,110,103,32, - 105,110,32,78,111,100,101,46,106,115]); + 105,110,32,78,111,100,101,46,106,115]); var result = that.decodeSync(buff); for (var i = 0; i < 26; i++) { expect(result[i]).assertEqual(rarray[i]); @@ -1916,13 +1939,12 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_012 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Decodes a Base64 encoded String or input u8 array into a newly-allocated u8 - array using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q + array using the Base64 encoding scheme. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_012', 0, function () { + it('SUB_Runtime_JSAPI_004', 0, function () { var that = new util.Base64() var buff = 'qK6b/w=='; var rarray = new Uint8Array([168, 174, 155, 255]); @@ -1935,8 +1957,7 @@ describe('Base64Test', function () { /** * @tc.name: testDecodeSync005 * @tc.desc: Decodes a Base64 encoded String or input u8 array into a newly-allocated u8 - array using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q + array using the Base64 encoding scheme. * @tc.author: bihu */ it('testDecodeSync005', 0, function () { @@ -1950,13 +1971,12 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_011 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Decodes a Base64 encoded String or input u8 array into a newly-allocated u8 - array using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q + array using the Base64 encoding scheme. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_011', 0, function () { + it('SUB_Runtime_JSAPI_001', 0, function () { var that = new util.Base64() var array = new Uint8Array([99,122,69,122]); var rarray = new Uint8Array([115,49,51]); @@ -1967,13 +1987,12 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_013 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Decodes a Base64 encoded String or input u8 array into a newly-allocated u8 - array using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q + array using the Base64 encoding scheme. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_013', 0, function () { + it('SUB_Runtime_JSAPI_002', 0, function () { var that = new util.Base64() var array = new Uint8Array([81,109,70,122,90,84,89,48,73,69,53,118,90,71,85,117,97,110,77,61]); var rarray = new Uint8Array([66, 97, 115, 101, 54, 52, 32, 78, 111, 100, 101, 46, 106, 115]); @@ -1984,18 +2003,17 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_014 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Decodes a Base64 encoded String or input u8 array into a newly-allocated u8 - array using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q + array using the Base64 encoding scheme. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_014', 0, function () { + it('SUB_Runtime_JSAPI_003', 0, function () { var that = new util.Base64() var array = new Uint8Array([81,109,70,122,90,84,89,48,73,69,86,117,89,50,57,107,97,87, - 53,110,73,71,108,117,73,69,53,118,90,71,85,117,97,110,77,61]); + 53,110,73,71,108,117,73,69,53,118,90,71,85,117,97,110,77,61]); var rarray = new Uint8Array([66,97,115,101,54,52,32,69,110,99,111,100,105,110,103,32,105, - 110,32,78,111,100,101,46,106,115]); + 110,32,78,111,100,101,46,106,115]); var result = that.decodeSync(array); for (var i = 0; i < 26; i++) { expect(result[i]).assertEqual(rarray[i]); @@ -2003,13 +2021,12 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_012 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Decodes a Base64 encoded String or input u8 array into a newly-allocated u8 - array using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q + array using the Base64 encoding scheme. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_012', 0, function () { + it('SUB_Runtime_JSAPI_004', 0, function () { var that = new util.Base64() var array = new Uint8Array([113,75,54,98,47,119,61,61]); var rarray = new Uint8Array([168, 174, 155, 255]); @@ -2022,8 +2039,7 @@ describe('Base64Test', function () { /** * @tc.name: testDecodeSync005 * @tc.desc: Decodes a Base64 encoded String or input u8 array into a newly-allocated u8 - array using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q + array using the Base64 encoding scheme. * @tc.author: bihu */ it('testDecodeSync005', 0, function () { @@ -2038,13 +2054,12 @@ describe('Base64Test', function () { //base64 EncodeAsync test /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_015 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Asynchronously encodes all bytes in the specified u8 array into the newly - allocated u8 array using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q + allocated u8 array using the Base64 encoding scheme. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_015', 0, async function () { + it('SUB_Runtime_JSAPI_001', 0, async function () { var that = await new util.Base64(); var array = new Uint8Array([115,49,51]); var rarray = new Uint8Array([99,122,69,122]); @@ -2056,13 +2071,12 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_018 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Asynchronously encodes all bytes in the specified u8 array into the newly - allocated u8 array using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q + allocated u8 array using the Base64 encoding scheme. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_018', 0, async function () { + it('SUB_Runtime_JSAPI_002', 0, async function () { var that = new util.Base64() var array = new Uint8Array([66, 97, 115, 101, 54, 52, 32, 78, 111, 100, 101, 46, 106, 115]); var rarray = new Uint8Array([81,109,70,122,90,84,89,48,73,69,53,118,90,71,85,117,97,110,77,61]); @@ -2074,18 +2088,17 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_019 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Asynchronously encodes all bytes in the specified u8 array into the newly allocated u8 - array using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q + array using the Base64 encoding scheme. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_019', 0, async function () { + it('SUB_Runtime_JSAPI_003', 0, async function () { var that = new util.Base64() var array = new Uint8Array([66,97,115,101,54,52,32,69,110,99,111,100,105,110,103,32,105,110,32, - 78,111,100,101,46,106,115]); + 78,111,100,101,46,106,115]); var rarray = new Uint8Array([81,109,70,122,90,84,89,48,73,69,86,117,89,50,57,107,97,87,53,110,73, - 71,108,117,73,69,53,118,90,71,85,117,97,110,77,61]); + 71,108,117,73,69,53,118,90,71,85,117,97,110,77,61]); that.encode(array).then(val=>{ for (var i = 0; i < rarray.length; i++) { expect(val[i]).assertEqual(rarray[i]) @@ -2094,13 +2107,12 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_016 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Asynchronously encodes all bytes in the specified u8 array into the newly allocated u8 - array using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q + array using the Base64 encoding scheme. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_016', 0, async function () { + it('SUB_Runtime_JSAPI_004', 0, async function () { var that = new util.Base64() var array = new Uint8Array([168, 174, 155, 255]); var rarray = new Uint8Array([113,75,54,98,47,119,61,61]); @@ -2112,13 +2124,12 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_017 + * @tc.name: SUB_Runtime_JSAPI_005 * @tc.desc: Asynchronously encodes all bytes in the specified u8 array into the newly allocated u8 - array using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q + array using the Base64 encoding scheme. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_017', 0, async function () { + it('SUB_Runtime_JSAPI_005', 0, async function () { var that = new util.Base64() var array = new Uint8Array([66, 97, 115, 101, 54, 52]); var rarray = new Uint8Array([81, 109, 70, 122, 90, 84, 89, 48]); @@ -2130,12 +2141,11 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_020 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Asynchronously encodes the specified byte array into a String using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_020', 0, async function () { + it('SUB_Runtime_JSAPI_001', 0, async function () { var that = new util.Base64() var array = new Uint8Array([115,49,51]); that.encodeToString(array).then(val=>{ @@ -2144,12 +2154,11 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_023 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Asynchronously encodes the specified byte array into a String using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_023', 0, async function () { + it('SUB_Runtime_JSAPI_002', 0, async function () { var that = new util.Base64() var array = new Uint8Array([66, 97, 115, 101, 54, 52, 32, 78, 111, 100, 101, 46, 106, 115]); that.encodeToString(array).then(val=>{ @@ -2158,27 +2167,25 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_024 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Asynchronously encodes the specified byte array into a String using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_024', 0, async function () { + it('SUB_Runtime_JSAPI_003', 0, async function () { var that = new util.Base64() var array = new Uint8Array([81,109,70,122,90,84,89,48,73,69,86,117,89,50,57,107,97,87,53,110,73,71,108, - 117,73,69,53,118,90,71,85,117,97,110,77,61]); + 117,73,69,53,118,90,71,85,117,97,110,77,61]); that.encodeToString(array).then(val=>{ expect(val).assertEqual('QmFzZTY0IEVuY29kaW5nIGluIE5vZGUuanM=') }) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_021 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Asynchronously encodes the specified byte array into a String using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_021', 0, async function () { + it('SUB_Runtime_JSAPI_004', 0, async function () { var that = new util.Base64() var array = new Uint8Array([168, 174, 155, 255]); that.encodeToString(array).then(val=>{ @@ -2187,12 +2194,11 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_022 + * @tc.name: SUB_Runtime_JSAPI_005 * @tc.desc: Asynchronously encodes the specified byte array into a String using the Base64 encoding scheme. - * @tc.require: AR000GFB2Q * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_022', 0, async function () { + it('SUB_Runtime_JSAPI_005', 0, async function () { var that = new util.Base64() var array = new Uint8Array([66, 97, 115, 101, 54, 52]); that.encodeToString(array).then(val=>{ @@ -2201,13 +2207,12 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_025 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Use the Base64 encoding scheme to asynchronously decode a Base64-encoded string or input u8 - array into a newly allocated u8 array. - * @tc.require: AR000GFB2Q + array into a newly allocated u8 array. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_025', 0, async function () { + it('SUB_Runtime_JSAPI_001', 0, async function () { var that = new util.Base64() var buff = 'czEz'; var array = new Uint8Array([115,49,51]); @@ -2219,13 +2224,12 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_027 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Use the Base64 encoding scheme to asynchronously decode a Base64-encoded string or input u8 - array into a newly allocated u8 array. - * @tc.require: AR000GFB2Q + array into a newly allocated u8 array. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_027', 0, async function () { + it('SUB_Runtime_JSAPI_002', 0, async function () { var that = new util.Base64() var buff = 'QmFzZTY0IE5vZGUuanM='; var array = new Uint8Array([66, 97, 115, 101, 54, 52, 32, 78, 111, 100, 101, 46, 106, 115]); @@ -2237,17 +2241,16 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_028 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Use the Base64 encoding scheme to asynchronously decode a Base64-encoded string or input u8 - array into a newly allocated u8 array. - * @tc.require: AR000GFB2Q + array into a newly allocated u8 array. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_028', 0, async function () { + it('SUB_Runtime_JSAPI_003', 0, async function () { var that = new util.Base64() var buff = 'QmFzZTY0IEVuY29kaW5nIGluIE5vZGUuanM='; var array = new Uint8Array([66,97,115,101,54,52,32,69,110,99,111,100,105,110,103,32,105,110,32,78, - 111,100,101,46,106,115]); + 111,100,101,46,106,115]); that.decode(buff).then(val=>{ for (var i = 0; i < array.length; i++) { expect(val[i]).assertEqual(array[i]) @@ -2256,13 +2259,12 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_026 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Use the Base64 encoding scheme to asynchronously decode a Base64-encoded string or input u8 - array into a newly allocated u8 array. - * @tc.require: AR000GFB2Q + array into a newly allocated u8 array. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_026', 0, async function () { + it('SUB_Runtime_JSAPI_004', 0, async function () { var that = new util.Base64() var buff = 'qK6b/w=='; var array = new Uint8Array([168, 174, 155, 255]); @@ -2276,8 +2278,7 @@ describe('Base64Test', function () { /** * @tc.name: testDecode005 * @tc.desc: Use the Base64 encoding scheme to asynchronously decode a Base64-encoded string or input u8 - array into a newly allocated u8 array. - * @tc.require: AR000GFB2Q + array into a newly allocated u8 array. * @tc.author: bihu */ it('testDecode005', 0, async function () { @@ -2292,13 +2293,12 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_025 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Use the Base64 encoding scheme to asynchronously decode a Base64-encoded string or input u8 - array into a newly allocated u8 array. - * @tc.require: AR000GFB2Q + array into a newly allocated u8 array. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_025', 0, async function () { + it('SUB_Runtime_JSAPI_001', 0, async function () { var that = new util.Base64() var array = new Uint8Array([99,122,69,122]); var rarray = new Uint8Array([115,49,51]); @@ -2310,13 +2310,12 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_027 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Use the Base64 encoding scheme to asynchronously decode a Base64-encoded string or input u8 - array into a newly allocated u8 array. - * @tc.require: AR000GFB2Q + array into a newly allocated u8 array. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_027', 0, async function () { + it('SUB_Runtime_JSAPI_002', 0, async function () { var that = new util.Base64() var array = new Uint8Array([81,109,70,122,90,84,89,48,73,69,53,118,90,71,85,117,97,110,77,61]); var rarray = new Uint8Array([66, 97, 115, 101, 54, 52, 32, 78, 111, 100, 101, 46, 106, 115]); @@ -2328,18 +2327,17 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_028 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Use the Base64 encoding scheme to asynchronously decode a Base64-encoded string or input u8 - array into a newly allocated u8 array. - * @tc.require: AR000GFB2Q + array into a newly allocated u8 array. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_028', 0, async function () { + it('SUB_Runtime_JSAPI_003', 0, async function () { var that = new util.Base64() var array = new Uint8Array([81,109,70,122,90,84,89,48,73,69,86,117,89,50,57,107,97,87,53,110,73,71,108, - 117,73,69,53,118,90,71,85,117,97,110,77,61]); + 117,73,69,53,118,90,71,85,117,97,110,77,61]); var rarray = new Uint8Array([66,97,115,101,54,52,32,69,110,99,111,100,105,110,103,32,105,110,32,78,111, - 100,101,46,106,115]); + 100,101,46,106,115]); that.decode(array).then(val=>{ for (var i = 0; i < rarray.length; i++) { expect(val[i]).assertEqual(rarray[i]) @@ -2348,13 +2346,12 @@ describe('Base64Test', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR37_026 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Use the Base64 encoding scheme to asynchronously decode a Base64-encoded string or input u8 array - into a newly allocated u8 array. - * @tc.require: AR000GFB2Q + into a newly allocated u8 array. * @tc.author: bihu */ - it('SUB_Runtime_JSAPI_SR000GGR37_026', 0, async function () { + it('SUB_Runtime_JSAPI_004', 0, async function () { var that = new util.Base64() var array = new Uint8Array([113,75,54,98,47,119,61,61]); var rarray = new Uint8Array([168, 174, 155, 255]); @@ -2368,8 +2365,7 @@ describe('Base64Test', function () { /** * @tc.name: testDecode005 * @tc.desc: Use the Base64 encoding scheme to asynchronously decode a Base64-encoded string or input u8 - array into a newly allocated u8 array. - * @tc.require: AR000GFB2Q + array into a newly allocated u8 array. * @tc.author: bihu */ it('testDecode005', 0, async function () { @@ -2387,12 +2383,11 @@ describe('Base64Test', function () { describe('RationalNumberFunTest', function () { /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_001 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Creates a RationalNumber object based on a given string. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_001', 0, function () { + it('SUB_Runtime_JSAPI_001', 0, function () { var pro = new util.RationalNumber(1, 2) var res = pro.createRationalFromString('-1:2') var result1 = res.valueOf() @@ -2400,12 +2395,11 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_002 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Creates a RationalNumber object based on a given string. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_002', 0, function () { + it('SUB_Runtime_JSAPI_002', 0, function () { var pro = new util.RationalNumber(1, 2) var res = pro.createRationalFromString('+3/4') var result1 = res.valueOf() @@ -2413,12 +2407,11 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_003 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Creates a RationalNumber object based on a given string. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_003', 0, function () { + it('SUB_Runtime_JSAPI_003', 0, function () { var pro = new util.RationalNumber(1, 2) var res = pro.createRationalFromString('+3:-4') var result1 = res.valueOf() @@ -2426,12 +2419,11 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_004 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Creates a RationalNumber object based on a given string. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_004', 0, function () { + it('SUB_Runtime_JSAPI_004', 0, function () { var pro = new util.RationalNumber(1, 2) var res = pro.createRationalFromString('+2:4') var result1 = res.valueOf() @@ -2441,7 +2433,6 @@ describe('RationalNumberFunTest', function () { /** * @tc.name: testRationalNumberCreateRationalFromString005 * @tc.desc: Creates a RationalNumber object based on a given string. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ it('testRationalNumberCreateRationalFromString005', 0, function () { @@ -2452,12 +2443,11 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_010 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Compares the current RationalNumber object with a given object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_010', 0, function () { + it('SUB_Runtime_JSAPI_001', 0, function () { var pro = new util.RationalNumber(2, 1) var proc = new util.RationalNumber(3, 4) var res = pro.compareTo(proc) @@ -2465,12 +2455,11 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_007 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Compares the current RationalNumber object with a given object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_007', 0, function () { + it('SUB_Runtime_JSAPI_002', 0, function () { var pro = new util.RationalNumber(2, 1) var proc = new util.RationalNumber(0, 0) var res = pro.compareTo(proc) @@ -2478,12 +2467,11 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_011 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Compares the current RationalNumber object with a given object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_011', 0, function () { + it('SUB_Runtime_JSAPI_003', 0, function () { var pro = new util.RationalNumber(2, 1) var proc = new util.RationalNumber(8, 3) var res = pro.compareTo(proc) @@ -2491,12 +2479,11 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_005 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Compares the current RationalNumber object with a given object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_005', 0, function () { + it('SUB_Runtime_JSAPI_004', 0, function () { var pro = new util.RationalNumber(2, 1) var proc = new util.RationalNumber(2, 1) var res = pro.compareTo(proc) @@ -2504,12 +2491,11 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_006 + * @tc.name: SUB_Runtime_JSAPI_005 * @tc.desc: Compares the current RationalNumber object with a given object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_006', 0, function () { + it('SUB_Runtime_JSAPI_005', 0, function () { var pro = new util.RationalNumber(0, 0) var proc = new util.RationalNumber(2, 1) var res = pro.compareTo(proc) @@ -2517,12 +2503,11 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_016 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Checks whether a given object is the same as the current RationalNumber object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_016', 0, function () { + it('SUB_Runtime_JSAPI_001', 0, function () { var pro = new util.RationalNumber(2, 1) var proc = new util.RationalNumber(3, 4) var res = pro.equals(proc) @@ -2530,12 +2515,11 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_014 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Checks whether a given object is the same as the current RationalNumber object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_014', 0, function () { + it('SUB_Runtime_JSAPI_002', 0, function () { var pro = new util.RationalNumber(2, 1) var proc = new util.RationalNumber(4, 2) var res = pro.equals(proc) @@ -2545,7 +2529,6 @@ describe('RationalNumberFunTest', function () { /** * @tc.name: testRationalNumberEquals003 * @tc.desc: Checks whether a given object is the same as the current RationalNumber object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ it('testRationalNumberEquals003', 0, function () { @@ -2558,7 +2541,6 @@ describe('RationalNumberFunTest', function () { /** * @tc.name: testRationalNumberEquals004 * @tc.desc: Checks whether a given object is the same as the current RationalNumber object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ it('testRationalNumberEquals004', 0, function () { @@ -2569,12 +2551,11 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_015 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Checks whether a given object is the same as the current RationalNumber object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_015', 0, function () { + it('SUB_Runtime_JSAPI_004', 0, function () { var pro = new util.RationalNumber(-2, 0) var proc = new util.RationalNumber(2, 0) var res = pro.equals(proc) @@ -2584,7 +2565,6 @@ describe('RationalNumberFunTest', function () { /** * @tc.name: testRationalNumberValueOf001 * @tc.desc: Obtains the value of the current RationalNumber object as a number. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ it('testRationalNumberValueOf001', 0, function () { @@ -2594,12 +2574,11 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_012 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Obtains the value of the current RationalNumber object as a number. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_012', 0, function () { + it('SUB_Runtime_JSAPI_002', 0, function () { var pro = new util.RationalNumber(2, 10) var res = pro.valueOf() expect(res).assertEqual(0.2) @@ -2608,7 +2587,6 @@ describe('RationalNumberFunTest', function () { /** * @tc.name: testRationalNumberValueOf003 * @tc.desc: Obtains the value of the current RationalNumber object as a number. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ it('testRationalNumberValueOf003', 0, function () { @@ -2618,12 +2596,11 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_013 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Obtains the value of the current RationalNumber object as a number. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_013', 0, function () { + it('SUB_Runtime_JSAPI_004', 0, function () { var pro = new util.RationalNumber(4, 2) var res = pro.valueOf() expect(res).assertEqual(2) @@ -2632,34 +2609,31 @@ describe('RationalNumberFunTest', function () { /** * @tc.name: testRationalNumberValueOf005 * @tc.desc: Obtains the value of the current RationalNumber object as a number. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('testRationalNumberValue005', 0, function () { + it('testRationalNumberValueOf005', 0, function () { var pro = new util.RationalNumber(4, 1) var res = pro.valueOf() expect(res).assertEqual(4) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_017 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Obtains the greatest common divisor of two specified numbers. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_017', 0, function () { + it('SUB_Runtime_JSAPI_001', 0, function () { var pro = new util.RationalNumber(0, 0) var res = pro.getCommonDivisor(4, 8) expect(res).assertEqual(4) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_018 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Obtains the greatest common divisor of two specified numbers. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_018', 0, function () { + it('SUB_Runtime_JSAPI_002', 0, function () { var pro = new util.RationalNumber(0, 0) var res = pro.getCommonDivisor(10, 15) expect(res).assertEqual(5) @@ -2668,7 +2642,6 @@ describe('RationalNumberFunTest', function () { /** * @tc.name: testRationalNumberGetCommonDivisor003 * @tc.desc: Obtains the greatest common divisor of two specified numbers. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ it('testRationalNumberGetCommonDivisor003', 0, function () { @@ -2678,12 +2651,11 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_019 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Obtains the greatest common divisor of two specified numbers. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_019', 0, function () { + it('SUB_Runtime_JSAPI_004', 0, function () { var pro = new util.RationalNumber(0, 0) var res = pro.getCommonDivisor(8, 16) expect(res).assertEqual(8) @@ -2692,7 +2664,6 @@ describe('RationalNumberFunTest', function () { /** * @tc.name: testRationalNumberGetCommonDivisor005 * @tc.desc: Obtains the greatest common divisor of two specified numbers. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ it('testRationalNumberGetCommonDivisor005', 0, function () { @@ -2702,12 +2673,11 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_023 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Obtains the denominator of the current RationalNumber object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_023', 0, function () { + it('SUB_Runtime_JSAPI_001', 0, function () { var pro = new util.RationalNumber(2, 1) var res = pro.getDenominator() expect(res).assertEqual(1) @@ -2716,7 +2686,6 @@ describe('RationalNumberFunTest', function () { /** * @tc.name: testRationalNumberGetDenominator002 * @tc.desc: Obtains the denominator of the current RationalNumber object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ it('testRationalNumberGetDenominator002', 0, function () { @@ -2726,12 +2695,11 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_025 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Obtains the denominator of the current RationalNumber object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_025', 0, function () { + it('SUB_Runtime_JSAPI_003', 0, function () { var pro = new util.RationalNumber(2, 0) var res = pro.getDenominator() expect(res).assertEqual(0) @@ -2740,7 +2708,6 @@ describe('RationalNumberFunTest', function () { /** * @tc.name: testRationalNumberGetDenominator004 * @tc.desc: Obtains the denominator of the current RationalNumber object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ it('testRationalNumberGetDenominator004', 0, function () { @@ -2752,7 +2719,6 @@ describe('RationalNumberFunTest', function () { /** * @tc.name: testRationalNumberGetDenominator005 * @tc.desc: Obtains the denominator of the current RationalNumber object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ it('testRationalNumberGetDenominator005', 0, function () { @@ -2762,48 +2728,44 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_024 + * @tc.name: SUB_Runtime_JSAPI_006 * @tc.desc: Obtains the denominator of the current RationalNumber object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_024', 0, function () { + it('SUB_Runtime_JSAPI_006', 0, function () { var pro = new util.RationalNumber(6, -3) var res = pro.getDenominator() expect(res).assertEqual(1) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_021 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Obtains the numerator of the current RationalNumber object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_021', 0, function () { + it('SUB_Runtime_JSAPI_001', 0, function () { var pro = new util.RationalNumber(-2, 1) var res = pro.getNumerator() expect(res).assertEqual(-2) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_022 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Obtains the numerator of the current RationalNumber object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_022', 0, function () { + it('SUB_Runtime_JSAPI_002', 0, function () { var pro = new util.RationalNumber(0, 3) var res = pro.getNumerator() expect(res).assertEqual(0) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_020 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Obtains the numerator of the current RationalNumber object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_020', 0, function () { + it('SUB_Runtime_JSAPI_003', 0, function () { var pro = new util.RationalNumber(2, 4) var res = pro.getNumerator() expect(res).assertEqual(1) @@ -2812,7 +2774,6 @@ describe('RationalNumberFunTest', function () { /** * @tc.name: testRationalNumberGetNumerator004 * @tc.desc: Obtains the numerator of the current RationalNumber object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ it('testRationalNumberGetNumerator004', 0, function () { @@ -2824,7 +2785,6 @@ describe('RationalNumberFunTest', function () { /** * @tc.name: testRationalNumberGetNumerator005 * @tc.desc: Obtains the numerator of the current RationalNumber object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ it('testRationalNumberGetNumerator005', 0, function () { @@ -2834,12 +2794,11 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_028 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Checks whether the current RationalNumber object represents a finite value. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_028', 0, function () { + it('SUB_Runtime_JSAPI_001', 0, function () { var pro = new util.RationalNumber(-2, 1) var res = pro.isFinite() expect(res).assertEqual(true) @@ -2848,7 +2807,6 @@ describe('RationalNumberFunTest', function () { /** * @tc.name: testRationalNumberIsFinite002 * @tc.desc: Checks whether the current RationalNumber object represents a finite value. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ it('testRationalNumberIsFinite002', 0, function () { @@ -2858,24 +2816,22 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_026 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Checks whether the current RationalNumber object represents a finite value. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_026', 0, function () { + it('SUB_Runtime_JSAPI_003', 0, function () { var pro = new util.RationalNumber(2, 0) var res = pro.isFinite() expect(res).assertEqual(false) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_027 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Checks whether the current RationalNumber object represents a finite value. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_027', 0, function () { + it('SUB_Runtime_JSAPI_004', 0, function () { var pro = new util.RationalNumber(1, 3) var res = pro.isFinite() expect(res).assertEqual(true) @@ -2884,7 +2840,6 @@ describe('RationalNumberFunTest', function () { /** * @tc.name: testRationalNumberIsFinite005 * @tc.desc: Checks whether the current RationalNumber object represents a finite value. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ it('testRationalNumberIsFinite005', 0, function () { @@ -2894,48 +2849,44 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_030 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Checks whether the current RationalNumber object represents a finite value. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_030', 0, function () { + it('SUB_Runtime_JSAPI_001', 0, function () { var pro = new util.RationalNumber(-2, 1) var res = pro.isNaN() expect(res).assertEqual(false) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_031 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Checks whether the current RationalNumber object represents a Not-a-Number (NaN) value. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_031', 0, function () { + it('SUB_Runtime_JSAPI_002', 0, function () { var pro = new util.RationalNumber(0, 3) var res = pro.isNaN() expect(res).assertEqual(false) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_029 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Checks whether the current RationalNumber object represents a Not-a-Number (NaN) value. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_029', 0, function () { + it('SUB_Runtime_JSAPI_003', 0, function () { var pro = new util.RationalNumber(0, 0) var res = pro.isNaN() expect(res).assertEqual(true) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_032 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Checks whether the current RationalNumber object represents a Not-a-Number (NaN) value. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_032', 0, function () { + it('SUB_Runtime_JSAPI_004', 0, function () { var pro = new util.RationalNumber(10, 0) var res = pro.isNaN() expect(res).assertEqual(false) @@ -2944,7 +2895,6 @@ describe('RationalNumberFunTest', function () { /** * @tc.name: testRationalNumberIsNaN005 * @tc.desc: Checks whether the current RationalNumber object represents a Not-a-Number (NaN) value. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ it('testRationalNumberIsNaN005', 0, function () { @@ -2954,48 +2904,44 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_034 + * @tc.name: SUB_Runtime_JSAPI_001 * @tc.desc: Checks whether the current RationalNumber object represents the value 0. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_034', 0, function () { + it('SUB_Runtime_JSAPI_001', 0, function () { var pro = new util.RationalNumber(-2, 1) var res = pro.isZero() expect(res).assertEqual(false) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_033 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Checks whether the current RationalNumber object represents the value 0. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_033', 0, function () { + it('SUB_Runtime_JSAPI_002', 0, function () { var pro = new util.RationalNumber(0, 3) var res = pro.isZero() expect(res).assertEqual(true) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_035 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Checks whether the current RationalNumber object represents the value 0. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_035', 0, function () { + it('SUB_Runtime_JSAPI_003', 0, function () { var pro = new util.RationalNumber(0, 0) var res = pro.isZero() expect(res).assertEqual(false) }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_036 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Checks whether the current RationalNumber object represents the value 0. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_036', 0, function () { + it('SUB_Runtime_JSAPI_004', 0, function () { var pro = new util.RationalNumber(10, 2) var res = pro.isZero() expect(res).assertEqual(false) @@ -3004,7 +2950,6 @@ describe('RationalNumberFunTest', function () { /** * @tc.name: testRationalNumberIsZero005 * @tc.desc: Checks whether the current RationalNumber object represents the value 0. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ it('testRationalNumberIsZero005', 0, function () { @@ -3016,7 +2961,6 @@ describe('RationalNumberFunTest', function () { /** * @tc.name: testRationalNumberToString001 * @tc.desc: Obtains a string representation of the current RationalNumber object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ it('testRationalNumberToString001', 0, function () { @@ -3026,48 +2970,44 @@ describe('RationalNumberFunTest', function () { }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_037 + * @tc.name: SUB_Runtime_JSAPI_002 * @tc.desc: Obtains a string representation of the current RationalNumber object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_037', 0, function () { + it('SUB_Runtime_JSAPI_002', 0, function () { var pro = new util.RationalNumber(0, 0) var res = pro.toString() expect(res).assertEqual("NaN") }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_038 + * @tc.name: SUB_Runtime_JSAPI_003 * @tc.desc: Obtains a string representation of the current RationalNumber object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_038', 0, function () { + it('SUB_Runtime_JSAPI_003', 0, function () { var pro = new util.RationalNumber(3, 0) var res = pro.toString() expect(res).assertEqual("Infinity") }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_039 + * @tc.name: SUB_Runtime_JSAPI_004 * @tc.desc: Obtains a string representation of the current RationalNumber object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_039', 0, function () { + it('SUB_Runtime_JSAPI_004', 0, function () { var pro = new util.RationalNumber(-3, 0) var res = pro.toString() expect(res).assertEqual("-Infinity") }) /** - * @tc.name: SUB_Runtime_JSAPI_SR000GGR38_040 + * @tc.name: SUB_Runtime_JSAPI_005 * @tc.desc: Obtains a string representation of the current RationalNumber object. - * @tc.require: AR000GFB5A * @tc.author: liuqiang */ - it('SUB_Runtime_JSAPI_SR000GGR38_040', 0, function () { + it('SUB_Runtime_JSAPI_005', 0, function () { var pro = new util.RationalNumber(2, 3) var res = pro.toString() expect(res).assertEqual('2/3') @@ -3079,7 +3019,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferUpdateGetCapacity001 * @tc.desc: Updates the buffer capacity to a specified capacity. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferUpdateGetCapacity001', 0, function () { @@ -3092,7 +3031,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferUpdateGetCapacity002 * @tc.desc: Updates the buffer capacity to a specified capacity. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferUpdateGetCapacity002', 0, function () { @@ -3105,7 +3043,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferUpdateGetCapacity003 * @tc.desc: Updates the buffer capacity to a specified capacity. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferUpdateGetCapacity003', 0, function () { @@ -3118,7 +3055,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferUpdateGetCapacity004 * @tc.desc: Updates the buffer capacity to a specified capacity. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferUpdateGetCapacity004', 0, function () { @@ -3131,7 +3067,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferUpdateGetCapacity005 * @tc.desc: Updates the buffer capacity to a specified capacity. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferUpdateGetCapacity005', 0, function () { @@ -3144,7 +3079,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGet001 * @tc.desc: Obtains the value associated with a specified key. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGet001', 0, function () { @@ -3157,7 +3091,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGet002 * @tc.desc: Obtains the value associated with a specified key. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGet002', 0, function () { @@ -3170,7 +3103,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGet003 * @tc.desc: Obtains the value associated with a specified key. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGet003', 0, function () { @@ -3189,7 +3121,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGet004 * @tc.desc: Obtains the value associated with a specified key. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGet004', 0, function () { @@ -3210,7 +3141,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGet005 * @tc.desc: Obtains the value associated with a specified key. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGet005', 0, function () { @@ -3232,7 +3162,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferPut001 * @tc.desc: Adds a key-value pair to the buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferPut001', 0, function () { @@ -3244,7 +3173,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferPut002 * @tc.desc: Adds a key-value pair to the buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferPut002', 0, function () { @@ -3257,7 +3185,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferPut003 * @tc.desc: Adds a key-value pair to the buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferPut003', 0, function () { @@ -3276,7 +3203,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferPut004 * @tc.desc: Adds a key-value pair to the buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferPut004', 0, function () { @@ -3297,7 +3223,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferPut005 * @tc.desc: Adds a key-value pair to the buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferPut005', 0, function () { @@ -3319,7 +3244,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetCreateCount001 * @tc.desc: Obtains the number of times createDefault(Object) returned a value. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetCreateCount001', 0, function () { @@ -3337,7 +3261,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetCreateCount002 * @tc.desc: Obtains the number of times createDefault(Object) returned a value. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetCreateCount002', 0, function () { @@ -3355,7 +3278,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetCreateCount003 * @tc.desc: Obtains the number of times createDefault(Object) returned a value. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetCreateCount003', 0, function () { @@ -3371,7 +3293,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetCreateCount004 * @tc.desc: Obtains the number of times createDefault(Object) returned a value. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetCreateCount004', 0, function () { @@ -3389,7 +3310,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetCreateCount005 * @tc.desc: Obtains the number of times createDefault(Object) returned a value. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetCreateCount005', 0, function () { @@ -3407,7 +3327,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetMissCount001 * @tc.desc: Obtains the number of times that the queried values are not matched. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetMissCount001', 0, function () { @@ -3425,7 +3344,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetMissCount002 * @tc.desc: Obtains the number of times that the queried values are not matched. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetMissCount002', 0, function () { @@ -3443,7 +3361,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetMissCount003 * @tc.desc: Obtains the number of times that the queried values are not matched. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetMissCount003', 0, function () { @@ -3461,7 +3378,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetMissCount004 * @tc.desc: Obtains the number of times that the queried values are not matched. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetMissCount004', 0, function () { @@ -3479,7 +3395,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetMissCount005 * @tc.desc: Obtains the number of times that the queried values are not matched. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetMissCount005', 0, function () { @@ -3499,7 +3414,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetMissCount006 * @tc.desc: Obtains the number of times that the queried values are not matched. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetMissCount006', 0, function () { @@ -3517,7 +3431,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetRemovalCount001 * @tc.desc: Obtains the number of times that values are evicted from the buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetRemovalCount001', 0, function () { @@ -3534,7 +3447,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetRemovalCount002 * @tc.desc: Obtains the number of times that values are evicted from the buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetRemovalCount002', 0, function () { @@ -3550,7 +3462,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetRemovalCount003 * @tc.desc: Obtains the number of times that values are evicted from the buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetRemovalCount003', 0, function () { @@ -3565,7 +3476,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetRemovalCount004 * @tc.desc: Obtains the number of times that values are evicted from the buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetRemovalCount004', 0, function () { @@ -3583,7 +3493,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetRemovalCount005 * @tc.desc: Obtains the number of times that values are evicted from the buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetRemovalCount005', 0, function () { @@ -3602,7 +3511,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetMatchCount001 * @tc.desc: Obtains the number of times that the queried values are successfully matched. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetMatchCount001', 0, function () { @@ -3620,7 +3528,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetMatchCount002 * @tc.desc: Obtains the number of times that the queried values are successfully matched. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetMatchCount002', 0, function () { @@ -3639,7 +3546,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetMatchCount003 * @tc.desc: Obtains the number of times that the queried values are successfully matched. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetMatchCount003', 0, function () { @@ -3657,7 +3563,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetMatchCount004 * @tc.desc: Obtains the number of times that the queried values are successfully matched. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetMatchCount004', 0, function () { @@ -3678,7 +3583,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetMatchCount005 * @tc.desc: Obtains the number of times that the queried values are successfully matched. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetMatchCount005', 0, function () { @@ -3702,7 +3606,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetMatchCount006 * @tc.desc: Obtains the number of times that the queried values are successfully matched. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetMatchCount006', 0, function () { @@ -3718,7 +3621,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetPutCount001 * @tc.desc: Obtains the number of times that values are added to the buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetPutCount001', 0, function () { @@ -3731,7 +3633,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetPutCount002 * @tc.desc: Obtains the number of times that values are added to the buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetPutCount002', 0, function () { @@ -3745,7 +3646,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetPutCount003 * @tc.desc: Obtains the number of times that values are added to the buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetPutCount003', 0, function () { @@ -3760,7 +3660,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetPutCount004 * @tc.desc: Obtains the number of times that values are added to the buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetPutCount004', 0, function () { @@ -3775,7 +3674,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetPutCount005 * @tc.desc: Obtains the number of times that values are added to the buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetPutCount005', 0, function () { @@ -3791,7 +3689,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetCapacity001 * @tc.desc: Obtains the capacity of the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetCapacity001', 0, function () { @@ -3803,7 +3700,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetCapacity002 * @tc.desc: Obtains the capacity of the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetCapacity002', 0, function () { @@ -3815,7 +3711,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetCapacity003 * @tc.desc: Obtains the capacity of the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetCapacity003', 0, function () { @@ -3827,7 +3722,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetCapacity004 * @tc.desc: Obtains the capacity of the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetCapacity004', 0, function () { @@ -3840,7 +3734,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferGetCapacity005 * @tc.desc: Obtains the capacity of the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferGetCapacity005', 0, function () { @@ -3853,7 +3746,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferLength001 * @tc.desc: Obtains the total number of values in the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferLength001', 0, function () { @@ -3865,7 +3757,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferLength002 * @tc.desc: Obtains the total number of values in the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferLength002', 0, function () { @@ -3878,7 +3769,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferLength003 * @tc.desc: Obtains the total number of values in the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferLength003', 0, function () { @@ -3892,7 +3782,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferLength004 * @tc.desc: Obtains the total number of values in the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferLength004', 0, function () { @@ -3908,7 +3797,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferLength005 * @tc.desc: Obtains the total number of values in the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferLength005', 0, function () { @@ -3927,7 +3815,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferClear001 * @tc.desc: Clears key-value pairs from the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferClear001', 0, function () { @@ -3943,7 +3830,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferClear002 * @tc.desc: Clears key-value pairs from the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferClear002', 0, function () { @@ -3962,7 +3848,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferClear003 * @tc.desc: Clears key-value pairs from the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferClear003', 0, function () { @@ -3981,7 +3866,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferClear004 * @tc.desc: Clears key-value pairs from the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferClear004', 0, function () { @@ -4000,7 +3884,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferClear005 * @tc.desc: Clears key-value pairs from the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferClear005', 0, function () { @@ -4020,7 +3903,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferIsEmpty001 * @tc.desc: Checks whether the current buffer is empty. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferIsEmpty001', 0, function () { @@ -4033,7 +3915,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferIsEmpty002 * @tc.desc: Checks whether the current buffer is empty. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferIsEmpty002', 0, function () { @@ -4047,7 +3928,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferIsEmpty003 * @tc.desc: Checks whether the current buffer is empty. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferIsEmpty003', 0, function () { @@ -4062,7 +3942,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferIsEmpty004 * @tc.desc: Checks whether the current buffer is empty. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferIsEmpty004', 0, function () { @@ -4077,7 +3956,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferIsEmpty005 * @tc.desc: Checks whether the current buffer is empty. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferIsEmpty005', 0, function () { @@ -4093,7 +3971,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferContains001 * @tc.desc: Checks whether the current buffer contains a specified key. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferContains001', 0, function () { @@ -4106,7 +3983,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferContains002 * @tc.desc: Checks whether the current buffer contains a specified key. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferContains002', 0, function () { @@ -4119,7 +3995,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferContains003 * @tc.desc: Checks whether the current buffer contains a specified key. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferContains003', 0, function () { @@ -4132,7 +4007,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferContains004 * @tc.desc: Checks whether the current buffer contains a specified key. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferContains004', 0, function () { @@ -4148,7 +4022,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferContains005 * @tc.desc: Checks whether the current buffer contains a specified key. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferContains005', 0, function () { @@ -4166,7 +4039,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferRemove001 * @tc.desc: Deletes a specified key and its associated value from the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferRemove001', 0, function () { @@ -4179,7 +4051,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferRemove002 * @tc.desc: Deletes a specified key and its associated value from the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferRemove002', 0, function () { @@ -4195,7 +4066,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferRemove003 * @tc.desc: Deletes a specified key and its associated value from the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferRemove003', 0, function () { @@ -4210,7 +4080,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferRemove004 * @tc.desc: Deletes a specified key and its associated value from the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferRemove004', 0, function () { @@ -4226,7 +4095,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferRemove005 * @tc.desc: Deletes a specified key and its associated value from the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferRemove005', 0, function () { @@ -4245,7 +4113,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferCreateDefault001 * @tc.desc: Executes subsequent operations if miss to compute a value for the specific key. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferCreateDefault001', 0, function () { @@ -4257,7 +4124,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferCreateDefault002 * @tc.desc: Executes subsequent operations if miss to compute a value for the specific key. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferCreateDefault002', 0, function () { @@ -4269,7 +4135,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferCreateDefault003 * @tc.desc: Executes subsequent operations if miss to compute a value for the specific key. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferCreateDefault003', 0, function () { @@ -4281,7 +4146,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferCreateDefault004 * @tc.desc: Executes subsequent operations if miss to compute a value for the specific key. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferCreateDefault004', 0, function () { @@ -4293,7 +4157,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferCreateDefault005 * @tc.desc: Executes subsequent operations if miss to compute a value for the specific key. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferCreateDefault005', 0, function () { @@ -4307,7 +4170,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferKeys001 * @tc.desc: Obtains a list of keys for the values in the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferKeys001', 0, function () { @@ -4320,7 +4182,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferKeys002 * @tc.desc: Obtains a list of keys for the values in the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferKeys002', 0, function () { @@ -4339,7 +4200,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferKeys003 * @tc.desc: Obtains a list of keys for the values in the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferKeys003', 0, function () { @@ -4359,7 +4219,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferKeys004 * @tc.desc: Obtains a list of keys for the values in the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferKeys004', 0, function () { @@ -4380,7 +4239,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferKeys005 * @tc.desc: Obtains a list of keys for the values in the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferKeys005', 0, function () { @@ -4403,7 +4261,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferValues001 * @tc.desc: Obtains a list of all values in the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferValues001', 0, function () { @@ -4416,7 +4273,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferValues002 * @tc.desc: Obtains a list of all values in the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferValues002', 0, function () { @@ -4435,7 +4291,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferValues003 * @tc.desc: Obtains a list of all values in the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferValues003', 0, function () { @@ -4455,7 +4310,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferValues004 * @tc.desc: Obtains a list of all values in the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferValues004', 0, function () { @@ -4476,7 +4330,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferValues005 * @tc.desc: Obtains a list of all values in the current buffer. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferValues005', 0, function () { @@ -4499,7 +4352,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferToString001 * @tc.desc: Returns a string representation of the object. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferToString001', 0, function () { @@ -4513,7 +4365,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferToString002 * @tc.desc: Returns a string representation of the object. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferToString002', 0, function () { @@ -4529,7 +4380,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferToString003 * @tc.desc: Returns a string representation of the object. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferToString003', 0, function () { @@ -4546,7 +4396,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferToString004 * @tc.desc: Returns a string representation of the object. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferToString004', 0, function () { @@ -4564,7 +4413,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferToString005 * @tc.desc: Returns a string representation of the object. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferToString005', 0, function () { @@ -4584,7 +4432,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferEntries001 * @tc.desc: Returns an array of key-value pairs of enumeratable properties of a given object. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferEntries001', 0, function () { @@ -4604,7 +4451,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferEntries002 * @tc.desc: Returns an array of key-value pairs of enumeratable properties of a given object. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferEntries002', 0, function () { @@ -4627,7 +4473,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferEntries003 * @tc.desc: Returns an array of key-value pairs of enumeratable properties of a given object. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferEntries003', 0, function () { @@ -4651,7 +4496,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferEntries004 * @tc.desc: Returns an array of key-value pairs of enumeratable properties of a given object. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferEntries004', 0, function () { @@ -4677,7 +4521,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferEntries005 * @tc.desc: Returns an array of key-value pairs of enumeratable properties of a given object. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferEntries005', 0, function () { @@ -4707,7 +4550,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBuffer[Symbol.iterator]001 * @tc.desc: Returns a two - dimensional array in the form of key - value pairs. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBuffer[Symbol.iterator]001', 0, function () { @@ -4728,7 +4570,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBuffer[Symbol.iterator]002 * @tc.desc: Returns a two - dimensional array in the form of key - value pairs. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBuffer[Symbol.iterator]002', 0, function () { @@ -4751,7 +4592,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBuffer[Symbol.iterator]003 * @tc.desc: Returns a two - dimensional array in the form of key - value pairs. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBuffer[Symbol.iterator]003', 0, function () { @@ -4775,7 +4615,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBuffer[Symbol.iterator]004 * @tc.desc: Returns a two - dimensional array in the form of key - value pairs. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBuffer[Symbol.iterator]004', 0, function () { @@ -4801,7 +4640,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBuffer[Symbol.iterator]005 * @tc.desc: Returns a two - dimensional array in the form of key - value pairs. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBuffer[Symbol.iterator]005', 0, function () { @@ -4831,7 +4669,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferAfterRemoval001 * @tc.desc: Executes subsequent operations after a value is deleted. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferAfterRemoval001', 0, function () { @@ -4865,7 +4702,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferAfterRemoval002 * @tc.desc: Executes subsequent operations after a value is deleted. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferAfterRemoval002', 0, function () { @@ -4899,7 +4735,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferAfterRemoval003 * @tc.desc: Executes subsequent operations after a value is deleted. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferAfterRemoval003', 0, function () { @@ -4933,7 +4768,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferAfterRemoval004 * @tc.desc: Executes subsequent operations after a value is deleted. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferAfterRemoval004', 0, function () { @@ -4967,7 +4801,6 @@ describe('LruBufferFunTest', function () { /** * @tc.name: testLruBufferAfterRemoval005 * @tc.desc: Executes subsequent operations after a value is deleted. - * @tc.require: AR000GFB59 * @tc.author: lixingyang */ it('testLruBufferAfterRemoval005', 0, function () { @@ -5004,7 +4837,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsAnyArrayBuffer001 * @tc.desc: Check whether the entered value is of arraybuffer or sharedarraybuffer type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsAnyArrayBuffer001', 0, function() { @@ -5016,7 +4848,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsAnyArrayBuffer002 * @tc.desc: Check whether the entered value is of arraybuffer or sharedarraybuffer type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsAnyArrayBuffer002', 0, function() { @@ -5028,7 +4859,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsAnyArrayBuffer003 * @tc.desc: Check whether the entered value is of arraybuffer or sharedarraybuffer type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsAnyArrayBuffer003', 0, function() { @@ -5040,7 +4870,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsAnyArrayBuffer004 * @tc.desc: Check whether the entered value is of arraybuffer or sharedarraybuffer type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsAnyArrayBuffer004', 0, function() { @@ -5053,7 +4882,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsAnyArrayBuffer005 * @tc.desc: Check whether the entered value is of arraybuffer or sharedarraybuffer type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsAnyArrayBuffer005', 0, function() { @@ -5065,9 +4893,8 @@ describe('TypesTest', function() { /** * @tc.name: testIsArrayBufferView001 * @tc.desc: Check whether the entered value is napi_ int8_ array or napi_ uint8_ array - or naPi_ uint8_ clamped_ array or naPi_ int16_ array or naPi_ uint16_ array or napi_ int32_ array or napi_ - uint32_ array or napi_ float32_ array or napi_ float64_ array array or DataView type. - * @tc.require: AR000GFB59 + or naPi_ uint8_ clamped_ array or naPi_ int16_ array or naPi_ uint16_ array or napi_ int32_ array or napi_ + uint32_ array or napi_ float32_ array or napi_ float64_ array array or DataView type. * @tc.author: wangjingwu */ it('testIsArrayBufferView001', 0, function() { @@ -5079,9 +4906,8 @@ describe('TypesTest', function() { /** * @tc.name: testIsArrayBufferView002 * @tc.desc: Check whether the entered value is napi_ int8_ array or napi_ uint8_ array - or naPi_ uint8_ clamped_ array or naPi_ int16_ array or naPi_ uint16_ array or napi_ - int32_ array or napi_ uint32_ array or napi_ float32_ array or napi_ float64_ array array or DataView type. - * @tc.require: AR000GFB59 + or naPi_ uint8_ clamped_ array or naPi_ int16_ array or naPi_ uint16_ array or napi_ + int32_ array or napi_ uint32_ array or napi_ float32_ array or napi_ float64_ array array or DataView type. * @tc.author: wangjingwu */ it('testIsArrayBufferView002', 0, function() { @@ -5093,9 +4919,8 @@ describe('TypesTest', function() { /** * @tc.name: testIsArrayBufferView003 * @tc.desc: Check whether the entered value is napi_ int8_ array or napi_ uint8_ - array or naPi_ uint8_ clamped_ array or naPi_ int16_ array or naPi_ uint16_ array or napi_ int32_ array or - napi_ uint32_ array or napi_ float32_ array or napi_ float64_ array array or DataView type. - * @tc.require: AR000GFB59 + array or naPi_ uint8_ clamped_ array or naPi_ int16_ array or naPi_ uint16_ array or napi_ int32_ array or + napi_ uint32_ array or napi_ float32_ array or napi_ float64_ array array or DataView type. * @tc.author: wangjingwu */ it('testIsArrayBufferView003', 0, function() { @@ -5107,9 +4932,8 @@ describe('TypesTest', function() { /** * @tc.name: testIsArrayBufferView004 * @tc.desc: Check whether the entered value is napi_ int8_ array or napi_ uint8_ array or naPi_ uint8_ - clamped_ array or naPi_ int16_ array or naPi_ uint16_ array or napi_ int32_ array or napi_ uint32_ array or - napi_ float32_ array or napi_ float64_ array array or DataView type. - * @tc.require: AR000GFB59 + clamped_ array or naPi_ int16_ array or naPi_ uint16_ array or napi_ int32_ array or napi_ uint32_ array or + napi_ float32_ array or napi_ float64_ array array or DataView type. * @tc.author: wangjingwu */ it('testIsArrayBufferView004', 0, function() { @@ -5121,9 +4945,8 @@ describe('TypesTest', function() { /** * @tc.name: testIsArrayBufferView005 * @tc.desc: Check whether the entered value is napi_ int8_ array or napi_ uint8_ array or naPi_ uint8_ - clamped_ array or naPi_ int16_ array or naPi_ uint16_ array or napi_ int32_ array or napi_ uint32_ array or - napi_ float32_ array or napi_ float64_ array array or DataView type. - * @tc.require: AR000GFB59 + clamped_ array or naPi_ int16_ array or naPi_ uint16_ array or napi_ int32_ array or napi_ uint32_ array or + napi_ float32_ array or napi_ float64_ array array or DataView type. * @tc.author: wangjingwu */ it('testIsArrayBufferView005', 0, function() { @@ -5135,7 +4958,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsArgumentsObject001 * @tc.desc: Check whether the entered value is an arguments object type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsArgumentsObject001', 0, function() { @@ -5150,7 +4972,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsArgumentsObject002 * @tc.desc: Check whether the entered value is an arguments object type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsArgumentsObject002', 0, function() { @@ -5162,7 +4983,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsArgumentsObject003 * @tc.desc: Check whether the entered value is an arguments object type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsArgumentsObject003', 0, function() { @@ -5174,7 +4994,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsArgumentsObject004 * @tc.desc: Check whether the entered value is an arguments object type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsArgumentsObject004', 0, function() { @@ -5186,7 +5005,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsArgumentsObject005 * @tc.desc: Check whether the entered value is an arguments object type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsArgumentsObject005', 0, function() { @@ -5198,7 +5016,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsArrayBuffer001 * @tc.desc: Check whether the entered value is of arraybuffer type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsArrayBuffer001', 0, function() { @@ -5210,7 +5027,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsArrayBuffer002 * @tc.desc: Check whether the entered value is of arraybuffer type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsArrayBuffer002', 0, function() { @@ -5222,7 +5038,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsArrayBuffer003 * @tc.desc: Check whether the entered value is of arraybuffer type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsArrayBuffer003', 0, function() { @@ -5234,7 +5049,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsArrayBuffer004 * @tc.desc: Check whether the entered value is of arraybuffer type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsArrayBuffer004', 0, function() { @@ -5246,7 +5060,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsArrayBuffer005 * @tc.desc: Check whether the entered value is of arraybuffer type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsArrayBuffer005', 0, function() { @@ -5258,7 +5071,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsAsyncFunction001 * @tc.desc: Check whether the value entered is an asynchronous function type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsAsyncFunction001', 0, function() { @@ -5270,7 +5082,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsAsyncFunction002 * @tc.desc: Check whether the value entered is an asynchronous function type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsAsyncFunction002', 0, function() { @@ -5282,7 +5093,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsAsyncFunction003 * @tc.desc: Check whether the value entered is an asynchronous function type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsAsyncFunction003', 0, function() { @@ -5294,7 +5104,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsAsyncFunction004 * @tc.desc: Check whether the value entered is an asynchronous function type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsAsyncFunction004', 0, function() { @@ -5306,7 +5115,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsBigInt64Array001 * @tc.desc: Check whether the entered value is of bigint64array array type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsBigInt64Array001', 0, function() { @@ -5318,7 +5126,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsBigUint64Array001 * @tc.desc: Check whether the entered value is of biguint64array array array type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsBigUint64Array001', 0, function() { @@ -5330,7 +5137,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsBooleanObject001 * @tc.desc: Check whether the entered value is a Boolean object type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsBooleanObject001', 0, function() { @@ -5342,7 +5148,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsBooleanObject002 * @tc.desc: Check whether the entered value is a Boolean object type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsBooleanObject002', 0, function() { @@ -5354,7 +5159,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsBooleanObject003 * @tc.desc: Check whether the entered value is a Boolean object type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsBooleanObject003', 0, function() { @@ -5366,7 +5170,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsBooleanObject004 * @tc.desc: Check whether the entered value is a Boolean object type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsBooleanObject004', 0, function() { @@ -5378,7 +5181,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsBooleanObject005 * @tc.desc: Check whether the entered value is a Boolean object type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsBooleanObject005', 0, function() { @@ -5390,7 +5192,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsBoxedPrimitive001 * @tc.desc: Check whether the entered value is a Boolean or number or string or symbol object type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsBoxedPrimitive001', 0, function() { @@ -5402,7 +5203,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsBoxedPrimitive002 * @tc.desc: Check whether the entered value is a Boolean or number or string or symbol object type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsBoxedPrimitive002', 0, function() { @@ -5414,7 +5214,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsBoxedPrimitive003 * @tc.desc: Check whether the entered value is a Boolean or number or string or symbol object type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsBoxedPrimitive003', 0, function() { @@ -5426,7 +5225,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsBoxedPrimitive004 * @tc.desc: Check whether the entered value is a Boolean or number or string or symbol object type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsBoxedPrimitive004', 0, function() { @@ -5438,7 +5236,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsBoxedPrimitive005 * @tc.desc: Check whether the entered value is a Boolean or number or string or symbol object type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsBoxedPrimitive005', 0, function() { @@ -5450,7 +5247,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsDataView001 * @tc.desc: Check whether the entered value is of DataView type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsDataView001', 0, function() { @@ -5463,7 +5259,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsDataView002 * @tc.desc: Check whether the entered value is of DataView type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsDataView002', 0, function() { @@ -5475,7 +5270,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsDataView003 * @tc.desc: Check whether the entered value is of DataView type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsDataView003', 0, function() { @@ -5487,7 +5281,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsDataView004 * @tc.desc: Check whether the entered value is of DataView type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsDataView004', 0, function() { @@ -5499,7 +5292,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsDataView005 * @tc.desc: Check whether the entered value is of DataView type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsDataView005', 0, function() { @@ -5511,7 +5303,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsDate001 * @tc.desc: Check whether the entered value is of type date. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsDate001', 0, function() { @@ -5523,7 +5314,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsDate002 * @tc.desc: Check whether the entered value is of type date. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsDate002', 0, function() { @@ -5535,7 +5325,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsDate003 * @tc.desc: Check whether the entered value is of type date. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsDate003', 0, function() { @@ -5547,7 +5336,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsDate004 * @tc.desc: Check whether the entered value is of type date. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsDate004', 0, function() { @@ -5559,7 +5347,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsDate005 * @tc.desc: Check whether the entered value is of type date. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsDate005', 0, function() { @@ -5571,7 +5358,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsExternal001 * @tc.desc: Check whether the entered value is a native external value type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsExternal001', 0, function() { @@ -5584,7 +5370,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsExternal002 * @tc.desc: Check whether the entered value is a native external value type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsExternal002', 0, function() { @@ -5596,7 +5381,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsExternal003 * @tc.desc: Check whether the entered value is a native external value type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsExternal003', 0, function() { @@ -5608,7 +5392,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsExternal004 * @tc.desc: Check whether the entered value is a native external value type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsExternal004', 0, function() { @@ -5620,7 +5403,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsExternal005 * @tc.desc: Check whether the entered value is a native external value type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsExternal005', 0, function() { @@ -5632,7 +5414,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsFloat32Array001 * @tc.desc: Check whether the entered value is of float32array array type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsFloat32Array001', 0, function() { @@ -5644,7 +5425,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsFloat32Array002 * @tc.desc: Check whether the entered value is of float32array array type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsFloat32Array002', 0, function() { @@ -5656,7 +5436,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsFloat32Array003 * @tc.desc: Check whether the entered value is of float32array array type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsFloat32Array003', 0, function() { @@ -5668,7 +5447,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsFloat32Array004 * @tc.desc: Check whether the entered value is of float32array array type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsFloat32Array004', 0, function() { @@ -5680,7 +5458,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsFloat32Array005 * @tc.desc: Check whether the entered value is of float32array array type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsFloat32Array005', 0, function() { @@ -5692,7 +5469,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsFloat64Array001 * @tc.desc: Check whether the entered value is of float64array array type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsFloat64Array001', 0, function() { @@ -5704,7 +5480,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsFloat64Array002 * @tc.desc: Check whether the entered value is of float64array array type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsFloat64Array002', 0, function() { @@ -5716,7 +5491,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsFloat64Array003 * @tc.desc: Check whether the entered value is of float64array array type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsFloat64Array003', 0, function() { @@ -5728,7 +5502,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsFloat64Array004 * @tc.desc: Check whether the entered value is of float64array array type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsFloat64Array004', 0, function() { @@ -5740,7 +5513,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsFloat64Array005 * @tc.desc: Check whether the entered value is of float64array array type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsFloat64Array005', 0, function() { @@ -5752,7 +5524,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsGeneratorFunction001 * @tc.desc: Check whether the input value is a generator function type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsGeneratorFunction001', 0, function() { @@ -5764,7 +5535,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsGeneratorFunction002 * @tc.desc: Check whether the input value is a generator function type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsGeneratorFunction002', 0, function() { @@ -5776,7 +5546,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsGeneratorFunction003 * @tc.desc: Check whether the input value is a generator function type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsGeneratorFunction003', 0, function() { @@ -5788,7 +5557,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsGeneratorFunction004 * @tc.desc: Check whether the input value is a generator function type. - * @tc.require: AR000GFB59 * @tc.author: wangjingwu */ it('testIsGeneratorFunction004', 0, function() { @@ -5800,7 +5568,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsGeneratorObject001 * @tc.desc: Check whether the entered value is a generator object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsGeneratorObject001', 0, function() { @@ -5812,7 +5579,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsGeneratorObject002 * @tc.desc: Check whether the entered value is a generator object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsGeneratorObject002', 0, function() { @@ -5824,7 +5590,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsGeneratorObject003 * @tc.desc: Check whether the entered value is a generator object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsGeneratorObject003', 0, function() { @@ -5836,7 +5601,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsGeneratorObject004 * @tc.desc: Check whether the entered value is a generator object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsGeneratorObject004', 0, function() { @@ -5848,7 +5612,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsInt8Array001 * @tc.desc: Check whether the entered value is of int8array array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsInt8Array001', 0, function() { @@ -5860,7 +5623,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsInt8Array002 * @tc.desc: Check whether the entered value is of int8array array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsInt8Array002', 0, function() { @@ -5872,7 +5634,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsInt8Array003 * @tc.desc: Check whether the entered value is of int8array array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsInt8Array003', 0, function() { @@ -5884,7 +5645,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsInt8Array004 * @tc.desc: Check whether the entered value is of int8array array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsInt8Array004', 0, function() { @@ -5896,7 +5656,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsInt8Array005 * @tc.desc: Check whether the entered value is of int8array array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsInt8Array005', 0, function() { @@ -5908,7 +5667,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsInt16Array001 * @tc.desc: Check whether the entered value is the int16array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsInt16Array001', 0, function() { @@ -5920,7 +5678,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsInt16Array002 * @tc.desc: Check whether the entered value is the int16array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsInt16Array002', 0, function() { @@ -5932,7 +5689,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsInt16Array003 * @tc.desc: Check whether the entered value is the int16array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsInt16Array003', 0, function() { @@ -5944,7 +5700,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsInt16Array004 * @tc.desc: Check whether the entered value is the int16array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsInt16Array004', 0, function() { @@ -5956,7 +5711,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsInt16Array005 * @tc.desc: Check whether the entered value is the int16array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsInt16Array005', 0, function() { @@ -5968,7 +5722,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsInt32Array001 * @tc.desc: Check whether the entered value is the int32array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsInt32Array001', 0, function() { @@ -5980,7 +5733,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsInt32Array002 * @tc.desc: Check whether the entered value is the int32array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsInt32Array002', 0, function() { @@ -5992,7 +5744,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsInt32Array003 * @tc.desc: Check whether the entered value is the int32array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsInt32Array003', 0, function() { @@ -6004,7 +5755,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsInt32Array004 * @tc.desc: Check whether the entered value is the int32array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsInt32Array004', 0, function() { @@ -6016,7 +5766,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsInt32Array005 * @tc.desc: Check whether the entered value is the int32array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsInt32Array005', 0, function() { @@ -6028,7 +5777,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsMap001 * @tc.desc: Check whether the entered value is of map type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsMap001', 0, function() { @@ -6040,7 +5788,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsMap002 * @tc.desc: Check whether the entered value is of map type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsMap002', 0, function() { @@ -6052,7 +5799,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsMap003 * @tc.desc: Check whether the entered value is of map type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsMap003', 0, function() { @@ -6064,7 +5810,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsMap004 * @tc.desc: Check whether the entered value is of map type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsMap004', 0, function() { @@ -6076,7 +5821,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsMap005 * @tc.desc: Check whether the entered value is of map type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsMap005', 0, function() { @@ -6088,7 +5832,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsMapIterator001 * @tc.desc: Check whether the entered value is the iterator type of map. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsMapIterator001', 0, function() { @@ -6101,7 +5844,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsMapIterator002 * @tc.desc: Check whether the entered value is the iterator type of map. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsMapIterator002', 0, function() { @@ -6114,7 +5856,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsMapIterator003 * @tc.desc: Check whether the entered value is the iterator type of map. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsMapIterator003', 0, function() { @@ -6127,7 +5868,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsMapIterator004 * @tc.desc: Check whether the entered value is the iterator type of map. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsMapIterator004', 0, function() { @@ -6140,7 +5880,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsMapIterator005 * @tc.desc: Check whether the entered value is the iterator type of map. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsMapIterator005', 0, function() { @@ -6153,7 +5892,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsModuleNamespaceObject001 * @tc.desc: Check whether the entered value is the module namespace object object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsModuleNamespaceObject001', 0, function() { @@ -6165,7 +5903,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsModuleNamespaceObject002 * @tc.desc: Check whether the entered value is the module namespace object object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsModuleNamespaceObject002', 0, function() { @@ -6177,7 +5914,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsModuleNamespaceObject003 * @tc.desc: Check whether the entered value is the module namespace object object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsModuleNamespaceObject003', 0, function() { @@ -6189,7 +5925,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsModuleNamespaceObject004 * @tc.desc: Check whether the entered value is the module namespace object object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsModuleNamespaceObject004', 0, function() { @@ -6201,7 +5936,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsModuleNamespaceObject005 * @tc.desc: Check whether the entered value is the module namespace object object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsModuleNamespaceObject005', 0, function() { @@ -6213,7 +5947,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsNativeError001 * @tc.desc: Check whether the value entered is of type error. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsNativeError001', 0, function() { @@ -6225,7 +5958,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsNativeError002 * @tc.desc: Check whether the value entered is of type error. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsNativeError002', 0, function() { @@ -6237,7 +5969,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsNativeError003 * @tc.desc: Check whether the value entered is of type error. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsNativeError003', 0, function() { @@ -6249,7 +5980,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsNativeError004 * @tc.desc: Check whether the value entered is of type error. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsNativeError004', 0, function() { @@ -6261,7 +5991,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsNativeError005 * @tc.desc: Check whether the value entered is of type error. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsNativeError005', 0, function() { @@ -6273,7 +6002,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsNumberObject001 * @tc.desc: Check whether the entered value is of the number object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsNumberObject001', 0, function() { @@ -6285,7 +6013,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsNumberObject002 * @tc.desc: Check whether the entered value is of the number object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsNumberObject002', 0, function() { @@ -6297,7 +6024,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsNumberObject003 * @tc.desc: Check whether the entered value is of the number object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsNumberObject003', 0, function() { @@ -6309,7 +6035,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsNumberObject004 * @tc.desc: Check whether the entered value is of the number object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsNumberObject004', 0, function() { @@ -6321,7 +6046,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsNumberObject005 * @tc.desc: Check whether the entered value is of the number object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsNumberObject005', 0, function() { @@ -6333,7 +6057,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsPromise001 * @tc.desc: Check whether the entered value is of promise type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsPromise001', 0, function() { @@ -6345,7 +6068,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsPromise002 * @tc.desc: Check whether the entered value is of promise type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsPromise002', 0, function() { @@ -6357,7 +6079,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsPromise003 * @tc.desc: Check whether the entered value is of promise type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsPromise003', 0, function() { @@ -6369,7 +6090,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsPromise004 * @tc.desc: Check whether the entered value is of promise type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsPromise004', 0, function() { @@ -6382,12 +6102,11 @@ describe('TypesTest', function() { /** * @tc.name: testIsPromise005 * @tc.desc: Check whether the entered value is of promise type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsPromise005', 0, function() { var proc = new util.types(); - var err = Error(23); + var err = Error(23); var result = proc.isPromise(Promise.reject(err)); expect(result).assertEqual(true); }) @@ -6395,7 +6114,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsProxy001 * @tc.desc: Check whether the value entered is of proxy type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsProxy001', 0, function() { @@ -6409,7 +6127,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsProxy002 * @tc.desc: Check whether the value entered is of proxy type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsProxy002', 0, function() { @@ -6423,7 +6140,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsProxy003 * @tc.desc: Check whether the value entered is of proxy type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsProxy003', 0, function() { @@ -6441,7 +6157,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsProxy004 * @tc.desc: Check whether the value entered is of proxy type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsProxy004', 0, function() { @@ -6459,7 +6174,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsProxy005 * @tc.desc: Check whether the value entered is of proxy type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsProxy005', 0, function() { @@ -6477,7 +6191,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsRegExp001 * @tc.desc: Check whether the entered value is of type regexp. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsRegExp001', 0, function() { @@ -6489,7 +6202,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsRegExp002 * @tc.desc: Check whether the entered value is of type regexp. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsRegExp002', 0, function() { @@ -6501,7 +6213,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsRegExp003 * @tc.desc: Check whether the entered value is of type regexp. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsRegExp003', 0, function() { @@ -6513,7 +6224,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsRegExp004 * @tc.desc: Check whether the entered value is of type regexp. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsRegExp004', 0, function() { @@ -6525,7 +6235,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsRegExp005 * @tc.desc: Check whether the entered value is of type regexp. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsRegExp005', 0, function() { @@ -6537,7 +6246,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsSet001 * @tc.desc: Check whether the entered value is of type set. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsSet001', 0, function() { @@ -6549,7 +6257,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsSet002 * @tc.desc: Check whether the entered value is of type set. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsSet002', 0, function() { @@ -6561,7 +6268,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsSet003 * @tc.desc: Check whether the entered value is of type set. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsSet003', 0, function() { @@ -6573,7 +6279,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsSet004 * @tc.desc: Check whether the entered value is of type set. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsSet004', 0, function() { @@ -6585,7 +6290,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsSet005 * @tc.desc: Check whether the entered value is of type set. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsSet005', 0, function() { @@ -6597,7 +6301,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsSetIterator001 * @tc.desc: Check whether the entered value is the iterator type of set. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsSetIterator001', 0, function() { @@ -6610,7 +6313,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsSetIterator002 * @tc.desc: Check whether the entered value is the iterator type of set. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsSetIterator002', 0, function() { @@ -6623,7 +6325,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsSetIterator003 * @tc.desc: Check whether the entered value is the iterator type of set. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsSetIterator003', 0, function() { @@ -6636,7 +6337,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsSetIterator004 * @tc.desc: Check whether the entered value is the iterator type of set. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsSetIterator004', 0, function() { @@ -6649,7 +6349,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsSetIterator005 * @tc.desc: Check whether the entered value is the iterator type of set. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsSetIterator005', 0, function() { @@ -6662,7 +6361,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsSharedArrayBuffer001 * @tc.desc: Check whether the entered value is of type sharedarraybuffer. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsSharedArrayBuffer001', 0, function() { @@ -6674,7 +6372,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsSharedArrayBuffer002 * @tc.desc: Check whether the entered value is of type sharedarraybuffer. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsSharedArrayBuffer002', 0, function() { @@ -6686,7 +6383,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsSharedArrayBuffer003 * @tc.desc: Check whether the entered value is of type sharedarraybuffer. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsSharedArrayBuffer003', 0, function() { @@ -6698,7 +6394,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsSharedArrayBuffer004 * @tc.desc: Check whether the entered value is of type sharedarraybuffer. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsSharedArrayBuffer004', 0, function() { @@ -6710,7 +6405,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsSharedArrayBuffer005 * @tc.desc: Check whether the entered value is of type sharedarraybuffer. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsSharedArrayBuffer005', 0, function() { @@ -6722,7 +6416,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsStringObject001 * @tc.desc: Check whether the entered value is a string object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsStringObject001', 0, function() { @@ -6734,7 +6427,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsStringObject002 * @tc.desc: Check whether the entered value is a string object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsStringObject002', 0, function() { @@ -6746,7 +6438,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsStringObject003 * @tc.desc: Check whether the entered value is a string object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsStringObject003', 0, function() { @@ -6758,7 +6449,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsStringObject004 * @tc.desc: Check whether the entered value is a string object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsStringObject004', 0, function() { @@ -6770,7 +6460,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsStringObject005 * @tc.desc: Check whether the entered value is a string object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsStringObject005', 0, function() { @@ -6782,7 +6471,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsSymbolObject001 * @tc.desc: Check whether the entered value is a symbol object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsSymbolObject001', 0, function() { @@ -6795,7 +6483,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsSymbolObject002 * @tc.desc: Check whether the entered value is a symbol object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsSymbolObject002', 0, function() { @@ -6808,7 +6495,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsSymbolObject003 * @tc.desc: Check whether the entered value is a symbol object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsSymbolObject003', 0, function() { @@ -6821,7 +6507,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsSymbolObject004 * @tc.desc: Check whether the entered value is a symbol object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsSymbolObject004', 0, function() { @@ -6834,7 +6519,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsSymbolObject005 * @tc.desc: Check whether the entered value is a symbol object type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsSymbolObject005', 0, function() { @@ -6847,7 +6531,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsTypedArray001 * @tc.desc: Check whether the entered value is a type contained in typedarray. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsTypedArray001', 0, function() { @@ -6859,7 +6542,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsTypedArray002 * @tc.desc: Check whether the entered value is a type contained in typedarray. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsTypedArray002', 0, function() { @@ -6871,7 +6553,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsTypedArray003 * @tc.desc: Check whether the entered value is a type contained in typedarray. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsTypedArray003', 0, function() { @@ -6883,7 +6564,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsTypedArray004 * @tc.desc: Check whether the entered value is a type contained in typedarray. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsTypedArray004', 0, function() { @@ -6895,7 +6575,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsTypedArray005 * @tc.desc: Check whether the entered value is a type contained in typedarray. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsTypedArray005', 0, function() { @@ -6907,7 +6586,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsUint8Array001 * @tc.desc: Check whether the entered value is the uint8array array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsUint8Array001', 0, function() { @@ -6919,7 +6597,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsUint8Array002 * @tc.desc: Check whether the entered value is the uint8array array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsUint8Array002', 0, function() { @@ -6931,7 +6608,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsUint8Array003 * @tc.desc: Check whether the entered value is the uint8array array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsUint8Array003', 0, function() { @@ -6943,7 +6619,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsUint8Array004 * @tc.desc: Check whether the entered value is the uint8array array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsUint8Array004', 0, function() { @@ -6955,7 +6630,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsUint8Array005 * @tc.desc: Check whether the entered value is the uint8array array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsUint8Array005', 0, function() { @@ -6967,7 +6641,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsUint8ClampedArray001 * @tc.desc: Check whether the entered value is the uint8clapedarray array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsUint8ClampedArray001', 0, function() { @@ -6979,7 +6652,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsUint8ClampedArray002 * @tc.desc: Check whether the entered value is the uint8clapedarray array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsUint8ClampedArray002', 0, function() { @@ -6991,7 +6663,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsUint8ClampedArray003 * @tc.desc: Check whether the entered value is the uint8clapedarray array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsUint8ClampedArray003', 0, function() { @@ -7003,7 +6674,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsUint8ClampedArray004 * @tc.desc: Check whether the entered value is the uint8clapedarray array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsUint8ClampedArray004', 0, function() { @@ -7015,7 +6685,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsUint8ClampedArray005 * @tc.desc: Check whether the entered value is the uint8clapedarray array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsUint8ClampedArray005', 0, function() { @@ -7027,7 +6696,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsUint16Array001 * @tc.desc: Check whether the entered value is the uint16array array array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsUint16Array001', 0, function() { @@ -7039,7 +6707,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsUint16Array002 * @tc.desc: Check whether the entered value is the uint16array array array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsUint16Array002', 0, function() { @@ -7051,7 +6718,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsUint16Array003 * @tc.desc: Check whether the entered value is the uint16array array array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsUint16Array003', 0, function() { @@ -7063,7 +6729,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsUint16Array004 * @tc.desc: Check whether the entered value is the uint16array array array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsUint16Array004', 0, function() { @@ -7075,7 +6740,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsUint16Array005 * @tc.desc: Check whether the entered value is the uint16array array array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsUint16Array005', 0, function() { @@ -7087,7 +6751,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsUint32Array001 * @tc.desc: Check whether the entered value is the uint32array array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsUint32Array001', 0, function() { @@ -7099,7 +6762,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsUint32Array002 * @tc.desc: Check whether the entered value is the uint32array array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsUint32Array002', 0, function() { @@ -7111,7 +6773,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsUint32Array003 * @tc.desc: Check whether the entered value is the uint32array array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsUint32Array003', 0, function() { @@ -7123,7 +6784,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsUint32Array004 * @tc.desc: Check whether the entered value is the uint32array array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsUint32Array004', 0, function() { @@ -7135,7 +6795,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsUint32Array005 * @tc.desc: Check whether the entered value is the uint32array array type. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsUint32Array005', 0, function() { @@ -7147,7 +6806,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsWeakMap001 * @tc.desc: Check whether the entered value is of type weakmap. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsWeakMap001', 0, function() { @@ -7159,7 +6817,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsWeakMap002 * @tc.desc: Check whether the entered value is of type weakmap. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsWeakMap002', 0, function() { @@ -7171,7 +6828,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsWeakMap003 * @tc.desc: Check whether the entered value is of type weakmap. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsWeakMap003', 0, function() { @@ -7183,7 +6839,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsWeakMap004 * @tc.desc: Check whether the entered value is of type weakmap. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsWeakMap004', 0, function() { @@ -7195,7 +6850,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsWeakMap005 * @tc.desc: Check whether the entered value is of type weakmap. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsWeakMap005', 0, function() { @@ -7207,7 +6861,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsWeakSet001 * @tc.desc: Check whether the entered value is of type weakset. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsWeakSet001', 0, function() { @@ -7219,7 +6872,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsWeakSet002 * @tc.desc: Check whether the entered value is of type weakset. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsWeakSet002', 0, function() { @@ -7231,7 +6883,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsWeakSet003 * @tc.desc: Check whether the entered value is of type weakset. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsWeakSet003', 0, function() { @@ -7243,7 +6894,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsWeakSet004 * @tc.desc: Check whether the entered value is of type weakset. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsWeakSet004', 0, function() { @@ -7255,7 +6905,6 @@ describe('TypesTest', function() { /** * @tc.name: testIsWeakSet005 * @tc.desc: Check whether the entered value is of type weakset. - * @tc.require: AR000GFB59 * @tc.author: bihu */ it('testIsWeakSet005', 0, function() { -- GitLab