提交 0b1a033c 编写于 作者: L lwx1121892

<liuxueqi3@huawei.com>

Signed-off-by: Nlwx1121892 <liuxueqi3@huawei.com>
上级 dd830e9c
......@@ -2,38 +2,50 @@
"description": "Configuration for Image Tests",
"driver": {
"type": "JSUnitTest",
"test-timeout": "120000",
"test-timeout": "1500000",
"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"
......
......@@ -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": [
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册