From 0a1fd6e365509164dc25ff888cdc0842919c6fea Mon Sep 17 00:00:00 2001 From: lixiteng Date: Tue, 6 Jun 2023 20:29:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E5=BD=A2=E9=87=8D=E5=A4=8D=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lixiteng --- .../effectKit/entry/src/main/ets/test/effectKit.test.ets | 4 ++-- .../imageRGBA/src/main/js/test/RGBA.test.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/graphic/effectKit/entry/src/main/ets/test/effectKit.test.ets b/graphic/effectKit/entry/src/main/ets/test/effectKit.test.ets index 90f22ebc5..5d3775d9d 100644 --- a/graphic/effectKit/entry/src/main/ets/test/effectKit.test.ets +++ b/graphic/effectKit/entry/src/main/ets/test/effectKit.test.ets @@ -576,8 +576,8 @@ export default function effectKitTest() { * @tc.name Test createColorPicker * @tc.desc Create a color picker to get the main color. */ - it('createColorPicker5', 0, function (done) { - let caseName = 'createColorPicker5' + it('createColorPicker6', 0, function (done) { + let caseName = 'createColorPicker6' let msgStr = 'jsunittest effectKitTest' + caseName + ' ' console.log(msgStr + 'begin') console.info(msgStr + "Napi create ImageSource") diff --git a/multimedia/image/image_js_standard/imageRGBA/src/main/js/test/RGBA.test.js b/multimedia/image/image_js_standard/imageRGBA/src/main/js/test/RGBA.test.js index 411a8a03d..e2b19f13b 100644 --- a/multimedia/image/image_js_standard/imageRGBA/src/main/js/test/RGBA.test.js +++ b/multimedia/image/image_js_standard/imageRGBA/src/main/js/test/RGBA.test.js @@ -163,7 +163,7 @@ describe("Image", function () { }); /** - * @tc.number : SUB_GRAPHIC_IMAGE_RGBA_CREATE_PIXELMAP_CALLBACK_0300 + * @tc.number : SUB_GRAPHIC_IMAGE_RGBA_CREATE_PIXELMAP_PROMISE_0300 * @tc.name : create pixelmap-promise (editable: true, pixelFormat: ALPHA_8, * size: { height: 4, width: 6 }, bytes = buffer) * @tc.desc : 1.create InitializationOptions object @@ -174,7 +174,7 @@ describe("Image", function () { * @tc.type : Functional * @tc.level : Level 0 */ - it("SUB_GRAPHIC_IMAGE_RGBA_CREATE_PIXELMAP_CALLBACK_0300", 0, async function (done) { + it("SUB_GRAPHIC_IMAGE_RGBA_CREATE_PIXELMAP_PROMISE_0300", 0, async function (done) { const Color = new ArrayBuffer(96); let opts = { editable: true, pixelFormat: ALPHA_8, size: { height: 4, width: 6 } }; image @@ -186,7 +186,7 @@ describe("Image", function () { done(); }) .catch((error) => { - console.log("SUB_GRAPHIC_IMAGE_RGBA_CREATE_PIXELMAP_CALLBACK_0300 err" + error); + console.log("SUB_GRAPHIC_IMAGE_RGBA_CREATE_PIXELMAP_PROMISE_0300 err" + error); expect(false).assertTrue(); done(); }); -- GitLab