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 f094a23d7f8f6292b9af3fbbbb0e876a500a7a4c..2996ec5c0fa45f53373e89d47d0cd19f23d8ce60 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 8095f43c943c558872ba7e90e22503dbaa6e5d0f..fc106f6a2d7974b5789f09429b84ac5fe9be8528 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 @@ -150,7 +150,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 @@ -161,7 +161,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 @@ -172,7 +172,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(); });