Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
70be4d71
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
70be4d71
编写于
3月 22, 2022
作者:
T
tongtongdad
1
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
<liwei200@hisilicon.com>
Signed-off-by:
N
tongtongdad
<
liwei200@hisilicon.com
>
上级
ddaa0158
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
5 addition
and
3 deletion
+5
-3
multimedia/image/image_js_standard/BUILD.gn
multimedia/image/image_js_standard/BUILD.gn
+1
-1
multimedia/image/image_js_standard/Test.json
multimedia/image/image_js_standard/Test.json
+2
-2
multimedia/image/image_js_standard/src/main/js/test/image.test.js
...ia/image/image_js_standard/src/main/js/test/image.test.js
+2
-0
未找到文件。
multimedia/image/image_js_standard/BUILD.gn
浏览文件 @
70be4d71
...
@@ -20,7 +20,7 @@ ohos_js_hap_suite("image_js_hap") {
...
@@ -20,7 +20,7 @@ ohos_js_hap_suite("image_js_hap") {
":image_resources",
":image_resources",
]
]
certificate_profile = "./signature/openharmony_sx.p7b"
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ImageJsTest"
hap_name = "
Acts
ImageJsTest"
}
}
ohos_js_assets("image_js_assets") {
ohos_js_assets("image_js_assets") {
source_dir = "./src/main/js/default"
source_dir = "./src/main/js/default"
...
...
multimedia/image/image_js_standard/Test.json
浏览文件 @
70be4d71
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
"./resource/image/test_hw.jpg ->/data/local/tmp"
,
"./resource/image/test_hw.jpg ->/data/local/tmp"
,
"./resource/image/test_large.webp ->/data/local/tmp"
,
"./resource/image/test_large.webp ->/data/local/tmp"
,
"./resource/image/hasNoExif.jpg ->/data/local/tmp"
,
"./resource/image/hasNoExif.jpg ->/data/local/tmp"
,
"./resource/image/
M
oving_test.gif ->/data/local/tmp"
,
"./resource/image/
m
oving_test.gif ->/data/local/tmp"
,
"./resource/image/test.9.png ->/data/local/tmp"
"./resource/image/test.9.png ->/data/local/tmp"
]
]
},
},
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
},
},
{
{
"test-file-name"
:
[
"test-file-name"
:
[
"ImageJsTest.hap"
"
Acts
ImageJsTest.hap"
],
],
"type"
:
"AppInstallKit"
,
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
"cleanup-apps"
:
true
...
...
multimedia/image/image_js_standard/src/main/js/test/image.test.js
浏览文件 @
70be4d71
...
@@ -2444,6 +2444,7 @@ describe('Image', function () {
...
@@ -2444,6 +2444,7 @@ describe('Image', function () {
let
bufferSize
=
testimagebuffer
.
length
;
let
bufferSize
=
testimagebuffer
.
length
;
let
offset
=
0
;
let
offset
=
0
;
const
incSouce
=
image
.
createIncrementalSource
(
new
ArrayBuffer
(
1
));
const
incSouce
=
image
.
createIncrementalSource
(
new
ArrayBuffer
(
1
));
let
ret
;
let
isFinished
=
false
;
let
isFinished
=
false
;
while
(
offset
<
testimagebuffer
.
length
)
{
while
(
offset
<
testimagebuffer
.
length
)
{
console
.
info
(
'
TC_053 0006
'
+
testimagebuffer
.
length
);
console
.
info
(
'
TC_053 0006
'
+
testimagebuffer
.
length
);
...
@@ -2497,6 +2498,7 @@ describe('Image', function () {
...
@@ -2497,6 +2498,7 @@ describe('Image', function () {
let
offset
=
0
;
let
offset
=
0
;
const
incSouce
=
image
.
createIncrementalSource
(
new
ArrayBuffer
(
1
));
const
incSouce
=
image
.
createIncrementalSource
(
new
ArrayBuffer
(
1
));
let
isFinished
=
false
;
let
isFinished
=
false
;
let
ret
;
while
(
offset
<
testimagebuffer
.
length
)
{
while
(
offset
<
testimagebuffer
.
length
)
{
console
.
info
(
'
TC_053-1 0006
'
+
testimagebuffer
.
length
);
console
.
info
(
'
TC_053-1 0006
'
+
testimagebuffer
.
length
);
var
oneStep
=
testimagebuffer
.
slice
(
offset
,
offset
+
bufferSize
);
var
oneStep
=
testimagebuffer
.
slice
(
offset
,
offset
+
bufferSize
);
...
...
鸿蒙社区
@harmonycommunity
mentioned in commit
adfd5cae
·
3月 24, 2022
mentioned in commit
adfd5cae
mentioned in commit adfd5cae6c72bb051fc693c5c892f9128803ce92
开关提交列表
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录