提交 5128b0b4 编写于 作者: L lixiteng

图形重复用例整改

Signed-off-by: Nlixiteng <lixiteng@huawei.com>
上级 979060cf
...@@ -576,8 +576,8 @@ export default function effectKitTest() { ...@@ -576,8 +576,8 @@ export default function effectKitTest() {
* @tc.name Test createColorPicker * @tc.name Test createColorPicker
* @tc.desc Create a color picker to get the main color. * @tc.desc Create a color picker to get the main color.
*/ */
it('createColorPicker5', 0, function (done) { it('createColorPicker6', 0, function (done) {
let caseName = 'createColorPicker5' let caseName = 'createColorPicker6'
let msgStr = 'jsunittest effectKitTest' + caseName + ' ' let msgStr = 'jsunittest effectKitTest' + caseName + ' '
console.log(msgStr + 'begin') console.log(msgStr + 'begin')
console.info(msgStr + "Napi create ImageSource") console.info(msgStr + "Napi create ImageSource")
......
...@@ -150,7 +150,7 @@ describe("Image", function () { ...@@ -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, * @tc.name : create pixelmap-promise (editable: true, pixelFormat: ALPHA_8,
* size: { height: 4, width: 6 }, bytes = buffer) * size: { height: 4, width: 6 }, bytes = buffer)
* @tc.desc : 1.create InitializationOptions object * @tc.desc : 1.create InitializationOptions object
...@@ -161,7 +161,7 @@ describe("Image", function () { ...@@ -161,7 +161,7 @@ describe("Image", function () {
* @tc.type : Functional * @tc.type : Functional
* @tc.level : Level 0 * @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); const Color = new ArrayBuffer(96);
let opts = { editable: true, pixelFormat: ALPHA_8, size: { height: 4, width: 6 } }; let opts = { editable: true, pixelFormat: ALPHA_8, size: { height: 4, width: 6 } };
image image
...@@ -172,7 +172,7 @@ describe("Image", function () { ...@@ -172,7 +172,7 @@ describe("Image", function () {
done(); done();
}) })
.catch((error) => { .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(); expect(false).assertTrue();
done(); done();
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册