提交 e2caebe8 编写于 作者: L lifansheng

Signed-off-by: lifansheng <lifansheng1@huawei.com>

 On branch master
 Your branch is up to date with 'origin/master'.
上级 4273c4d1
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index' import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'
import util from '@ohos.util' import util from '@ohos.util'
describe('TextEncoderTest', function () { describe('TextEncoderTest', function () {
/** /**
* @tc.name: testUtilPrintf001 * @tc.name: testUtilPrintf001
* @tc.desc: Returns the formatted string. * @tc.desc: Returns the formatted string.
...@@ -148,7 +149,8 @@ describe('TextEncoderTest', function () { ...@@ -148,7 +149,8 @@ describe('TextEncoderTest', function () {
/** /**
* @tc.name: testUtilPromiseWrapper001 * @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.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 * @tc.require: AR000GFB4U
* @tc.author: shikai * @tc.author: shikai
*/ */
...@@ -168,7 +170,8 @@ describe('TextEncoderTest', function () { ...@@ -168,7 +170,8 @@ describe('TextEncoderTest', function () {
/** /**
* @tc.name: testUtilPromiseWrapper002 * @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.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 * @tc.require: AR000GFB4U
* @tc.author: shikai * @tc.author: shikai
*/ */
...@@ -188,7 +191,8 @@ describe('TextEncoderTest', function () { ...@@ -188,7 +191,8 @@ describe('TextEncoderTest', function () {
/** /**
* @tc.name: testUtilPromiseWrapper003 * @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.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 * @tc.require: AR000GFB4U
* @tc.author: shikai * @tc.author: shikai
*/ */
...@@ -202,7 +206,8 @@ describe('TextEncoderTest', function () { ...@@ -202,7 +206,8 @@ describe('TextEncoderTest', function () {
/** /**
* @tc.name: testUtilPromiseWrapper004 * @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.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 * @tc.require: AR000GFB4U
* @tc.author: shikai * @tc.author: shikai
*/ */
...@@ -219,7 +224,8 @@ describe('TextEncoderTest', function () { ...@@ -219,7 +224,8 @@ describe('TextEncoderTest', function () {
/** /**
* @tc.name: testUtilPromiseWrapper005 * @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.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 * @tc.require: AR000GFB4U
* @tc.author: shikai * @tc.author: shikai
*/ */
...@@ -239,7 +245,8 @@ describe('TextEncoderTest', function () { ...@@ -239,7 +245,8 @@ describe('TextEncoderTest', function () {
/** /**
* @tc.name: testUtilPromiseWrapper006 * @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.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 * @tc.require: AR000GFB4U
* @tc.author: shikai * @tc.author: shikai
*/ */
...@@ -259,7 +266,8 @@ describe('TextEncoderTest', function () { ...@@ -259,7 +266,8 @@ describe('TextEncoderTest', function () {
/** /**
* @tc.name: testUtilPromiseWrapper007 * @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.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 * @tc.require: AR000GFB4U
* @tc.author: shikai * @tc.author: shikai
*/ */
...@@ -275,7 +283,8 @@ describe('TextEncoderTest', function () { ...@@ -275,7 +283,8 @@ describe('TextEncoderTest', function () {
/** /**
* @tc.name: testUtilCallbackWrapper001 * @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.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 * @tc.require: AR000GFB4U
* @tc.author: shikai * @tc.author: shikai
*/ */
...@@ -292,7 +301,8 @@ describe('TextEncoderTest', function () { ...@@ -292,7 +301,8 @@ describe('TextEncoderTest', function () {
/** /**
* @tc.name: testUtilCallbackWrapper002 * @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.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 * @tc.require: AR000GFB4U
* @tc.author: shikai * @tc.author: shikai
*/ */
...@@ -309,7 +319,8 @@ describe('TextEncoderTest', function () { ...@@ -309,7 +319,8 @@ describe('TextEncoderTest', function () {
/** /**
* @tc.name: testUtilCallbackWrapper003 * @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.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 * @tc.require: AR000GFB4U
* @tc.author: shikai * @tc.author: shikai
*/ */
...@@ -326,7 +337,8 @@ describe('TextEncoderTest', function () { ...@@ -326,7 +337,8 @@ describe('TextEncoderTest', function () {
/** /**
* @tc.name: testUtilCallbackWrapper004 * @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.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 * @tc.require: AR000GFB4U
* @tc.author: shikai * @tc.author: shikai
*/ */
...@@ -343,7 +355,8 @@ describe('TextEncoderTest', function () { ...@@ -343,7 +355,8 @@ describe('TextEncoderTest', function () {
/** /**
* @tc.name: testUtilCallbackWrapper005 * @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.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 * @tc.require: AR000GFB4U
* @tc.author: shikai * @tc.author: shikai
*/ */
...@@ -361,7 +374,8 @@ describe('TextEncoderTest', function () { ...@@ -361,7 +374,8 @@ describe('TextEncoderTest', function () {
/** /**
* @tc.name: testUtilCallbackWrapper006 * @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.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 * @tc.require: AR000GFB4U
* @tc.author: shikai * @tc.author: shikai
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册