未验证 提交 ed015153 编写于 作者: R renhw 提交者: Gitee

update multimedia/image/image_js_standard/src/main/js/test/image.test.js.

Signed-off-by: Nrenhw <renhongwei9@huawei.com>
上级 653663bc
......@@ -303,7 +303,7 @@ describe('Image', function () {
bufferArr[i] = i + 1;
}
let opts = { editable: true, pixelFormat: 3, size: { height: 4, width: 6 } }
let opts = { editable: true, pixelFormat: 4, size: { height: 4, width: 6 } }
image.createPixelMap(color, opts)
.then(pixelmap => {
if (pixelmap == undefined) {
......@@ -361,7 +361,7 @@ describe('Image', function () {
bufferArr[i] = i + 1;
}
let opts = { editable: true, pixelFormat: 3, size: { height: 4, width: 6 } }
let opts = { editable: true, pixelFormat: 4, size: { height: 4, width: 6 } }
image.createPixelMap(color, opts, (err, pixelmap) => {
if (pixelmap == undefined) {
console.info('TC_020-1 createPixelMap failed');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册