提交 adfd5cae 编写于 作者: T tongtongdad 提交者: L刘

fixed 70be4d71 from https://gitee.com/l-liu/xts_acts_2/pulls/2781

<liwei200@hisilicon.com>
Signed-off-by: Ntongtongdad <liwei200@hisilicon.com>
上级 52e9daa9
......@@ -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.
先完成此消息的编辑!
想要评论请 注册