diff --git a/multimedia/image/image_js_standard/image/src/main/js/test/addImage.test.js b/multimedia/image/image_js_standard/image/src/main/js/test/addImage.test.js index 9e2b3a2adb1ca86f7ed4116cc7cd39eb63356c80..53b3c7dc18adfe6fc46bcf57a6c25023d456e887 100644 --- a/multimedia/image/image_js_standard/image/src/main/js/test/addImage.test.js +++ b/multimedia/image/image_js_standard/image/src/main/js/test/addImage.test.js @@ -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; diff --git a/multimedia/image/image_js_standard/image/src/main/js/test/image.test.js b/multimedia/image/image_js_standard/image/src/main/js/test/image.test.js index e19da436ab142a35b6f1b59de2bda4aca2731d17..e52bc59355c90abdb90178aa504150487b289b6a 100644 --- a/multimedia/image/image_js_standard/image/src/main/js/test/image.test.js +++ b/multimedia/image/image_js_standard/image/src/main/js/test/image.test.js @@ -2294,7 +2294,7 @@ export default function imageJsTest() { console.info('SUB_GRAPHIC_IMAGE_CREATEINCREMENTALSOURCE_UPDATEDATA_0100 0003 ' + testimagebuffer.length); let bufferSize = testimagebuffer.length; let offset = 0; - const incSouce = image.createIncrementalSource(new ArrayBuffer(1)); + const incSouce = image.CreateIncrementalSource(new ArrayBuffer(1)); let ret; let isFinished = false; while (offset < testimagebuffer.length) { @@ -2347,7 +2347,7 @@ export default function imageJsTest() { console.info('SUB_GRAPHIC_IMAGE_CREATEINCREMENTALSOURCE_UPDATEDATA_0200 0003 ' + testimagebuffer.length); let bufferSize = testimagebuffer.length; let offset = 0; - const incSouce = image.createIncrementalSource(new ArrayBuffer(1)); + const incSouce = image.CreateIncrementalSource(new ArrayBuffer(1)); let isFinished = false; let ret; while (offset < testimagebuffer.length) {