提交 70be4d71 编写于 作者: T tongtongdad

<liwei200@hisilicon.com>

Signed-off-by: Ntongtongdad <liwei200@hisilicon.com>
上级 ddaa0158
......@@ -20,7 +20,7 @@ ohos_js_hap_suite("image_js_hap") {
":image_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ImageJsTest"
hap_name = "ActsImageJsTest"
}
ohos_js_assets("image_js_assets") {
source_dir = "./src/main/js/default"
......
......@@ -29,7 +29,7 @@
"./resource/image/test_hw.jpg ->/data/local/tmp",
"./resource/image/test_large.webp ->/data/local/tmp",
"./resource/image/hasNoExif.jpg ->/data/local/tmp",
"./resource/image/Moving_test.gif ->/data/local/tmp",
"./resource/image/moving_test.gif ->/data/local/tmp",
"./resource/image/test.9.png ->/data/local/tmp"
]
},
......@@ -46,7 +46,7 @@
},
{
"test-file-name": [
"ImageJsTest.hap"
"ActsImageJsTest.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
......
......@@ -2444,6 +2444,7 @@ describe('Image', function () {
let bufferSize = testimagebuffer.length;
let offset = 0;
const incSouce = image.createIncrementalSource(new ArrayBuffer(1));
let ret;
let isFinished = false;
while (offset < testimagebuffer.length) {
console.info('TC_053 0006 ' + testimagebuffer.length);
......@@ -2497,6 +2498,7 @@ describe('Image', function () {
let offset = 0;
const incSouce = image.createIncrementalSource(new ArrayBuffer(1));
let isFinished = false;
let ret;
while (offset < testimagebuffer.length) {
console.info('TC_053-1 0006 ' + testimagebuffer.length);
var oneStep = testimagebuffer.slice(offset, offset + bufferSize);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册