Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
a0efe9a8
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看板
未验证
提交
a0efe9a8
编写于
4月 28, 2022
作者:
O
openharmony_ci
提交者:
Gitee
4月 28, 2022
浏览文件
操作
浏览文件
下载
差异文件
!3077 【媒体子系统】image用例整改
Merge pull request !3077 from L刘/master
上级
f037d5a7
0b1a033c
变更
4
展开全部
隐藏空白更改
内联
并排
Showing
4 changed file
with
1852 addition
and
1700 deletion
+1852
-1700
multimedia/image/image_js_standard/Test.json
multimedia/image/image_js_standard/Test.json
+30
-18
multimedia/image/image_js_standard/signature/openharmony_sx.p7b
...edia/image/image_js_standard/signature/openharmony_sx.p7b
+0
-0
multimedia/image/image_js_standard/src/main/config.json
multimedia/image/image_js_standard/src/main/config.json
+30
-0
multimedia/image/image_js_standard/src/main/js/test/image.test.js
...ia/image/image_js_standard/src/main/js/test/image.test.js
+1792
-1682
未找到文件。
multimedia/image/image_js_standard/Test.json
浏览文件 @
a0efe9a8
...
...
@@ -2,38 +2,50 @@
"description"
:
"Configuration for Image Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"1
2
0000"
,
"test-timeout"
:
"1
50
0000"
,
"package"
:
"ohos.acts.multimedia.image"
,
"shell-timeout"
:
"120000"
},
"kits"
:
[
{
"type"
:
"PushKit"
,
"pre-push"
:
[
],
"push"
:
[
"./resource/image/test.tiff ->/storage/media/100/local/files"
,
"./resource/image/test.123 ->/storage/media/100/local/files"
,
"./resource/image/test.bmp ->/storage/media/100/local/files"
,
"./resource/image/test.png ->/storage/media/100/local/files"
,
"./resource/image/test.gif ->/storage/media/100/local/files"
,
"./resource/image/test.jpg ->/storage/media/100/local/files"
,
"./resource/image/test_exif.jpg ->/storage/media/100/local/files"
,
"./resource/image/moving_test.gif ->/storage/media/100/local/files"
]
},
{
"type"
:
"ShellKit"
,
"run-command"
:
[
"mkdir /data/accounts/account_0/appdata/image"
,
"mkdir /storage/media/100/local/files/cjh"
,
"cp /storage/media/100/local/files/test.tiff /storage/media/100/local/files/cjh/"
,
"cp /storage/media/100/local/files/test.123 /storage/media/100/local/files/cjh/"
,
"cp /storage/media/100/local/files/test.bmp /storage/media/100/local/files/cjh/"
,
"cp /storage/media/100/local/files/test.png /storage/media/100/local/files/cjh/"
,
"cp /storage/media/100/local/files/test.gif /storage/media/100/local/files/cjh/"
,
"cp /storage/media/100/local/files/test.jpg /storage/media/100/local/files/cjh/"
,
"cp /storage/media/100/local/files/test_exif.jpg /storage/media/100/local/files/cjh/"
,
"cp /storage/media/100/local/files/moving_test.gif /storage/media/100/local/files/cjh/"
,
"chmod -R 666 /data/media/*"
,
"chmod -R 666 /data/accounts/account_0/appdata/image/*"
"chmod -R 666 /storage/media/100/local/files/cjh/*"
,
"killall com.ohos.medialibrary.MediaScannerAbilityA"
,
"aa start -a MediaScannerAbility -b com.ohos.medialibrary.MediaScannerAbilityA"
],
"teardown-command"
:[
]
},
{
"type"
:
"PushKit"
,
"pre-push"
:
[
],
"push"
:
[
"./resource/image/test.tiff ->/data/accounts/account_0/appdata/image"
,
"./resource/image/test.123 ->/data/accounts/account_0/appdata/image"
,
"./resource/image/test.bmp ->/data/accounts/account_0/appdata/image"
,
"./resource/image/test.png ->/data/accounts/account_0/appdata/image"
,
"./resource/image/test.gif ->/data/accounts/account_0/appdata/image"
,
"./resource/image/test.jpg ->/data/accounts/account_0/appdata/image"
,
"./resource/image/test_exif.jpg ->/data/accounts/account_0/appdata/image"
,
"./resource/image/moving_test.gif ->/data/accounts/account_0/appdata/image"
]
},
{
"test-file-name"
:
[
"ActsImageJsTest.hap"
...
...
multimedia/image/image_js_standard/signature/openharmony_sx.p7b
浏览文件 @
a0efe9a8
无法预览此类型文件
multimedia/image/image_js_standard/src/main/config.json
浏览文件 @
a0efe9a8
...
...
@@ -56,6 +56,36 @@
"deliveryWithInstall"
:
true
,
"moduleName"
:
"entry"
},
"reqPermissions"
:
[
{
"name"
:
"ohos.permission.GET_BUNDLE_INFO"
,
"reason"
:
"use ohos.permission.GET_BUNDLE_INFO"
},
{
"name"
:
"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
,
"reason"
:
"use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name"
:
"ohos.permission.GRANT_SENSITIVE_PERMISSIONS"
,
"reason"
:
"use ohos.permission.GRANT_SENSITIVE_PERMISSIONS"
},
{
"name"
:
"ohos.permission.REVOKE_SENSITIVE_PERMISSIONS"
,
"reason"
:
"use ohos.permission.REVOKE_SENSITIVE_PERMISSIONS"
},
{
"name"
:
"ohos.permission.MEDIA_LOCATION"
,
"reason"
:
"use ohos.permission.MEDIA_LOCATION"
},
{
"name"
:
"ohos.permission.READ_MEDIA"
,
"reason"
:
"use ohos.permission.READ_MEDIA"
},
{
"name"
:
"ohos.permission.WRITE_MEDIA"
,
"reason"
:
"use ohos.permission.WRITE_MEDIA"
}
],
"package"
:
"ohos.acts.multimedia.image"
,
"name"
:
".MyApplication"
,
"js"
:
[
...
...
multimedia/image/image_js_standard/src/main/js/test/image.test.js
浏览文件 @
a0efe9a8
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录