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

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

Signed-off-by: Nrenhw <renhongwei9@huawei.com>
上级 c5e11618
......@@ -69,10 +69,10 @@ export default function addImage() {
let offset = 0;
if (type == "sourceOpts") {
console.info(`${testNum} have sourceopts`);
incSouce = image.createIncrementalSource(new ArrayBuffer(1), opts);
incSouce = image.CreateIncrementalSource(new ArrayBuffer(1), opts);
} else {
console.info(`${testNum} no sourceopts`);
incSouce = image.createIncrementalSource(new ArrayBuffer(1));
incSouce = image.CreateIncrementalSource(new ArrayBuffer(1));
}
let ret;
let isFinished = false;
......@@ -120,9 +120,9 @@ export default function addImage() {
let bufferSize = 5000;
let offset = 0;
if (type == "sourceOpts") {
incSouce = image.createIncrementalSource(new ArrayBuffer(1), opts);
incSouce = image.CreateIncrementalSource(new ArrayBuffer(1), opts);
} else {
incSouce = image.createIncrementalSource(new ArrayBuffer(1));
incSouce = image.CreateIncrementalSource(new ArrayBuffer(1));
}
let ret;
let isFinished = false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册