提交 c76aeb4a 编写于 作者: L lixiteng

跨平台display和image修改

Signed-off-by: Nlixiteng <lixiteng@huawei.com>
上级 03eb0b96
{ {
"description": "Configuration for hjunit demo Tests", "description": "Configuration for hjunit demo Tests",
// 指定设备执行的驱动
"driver": { "driver": {
"type": "OHJSUnitTest", "type": "OHJSUnitTest",
//test-timeout: 测试hap 整体执行用例的执行时长
"test-timeout": "60000", "test-timeout": "60000",
//shell-timeout: aa test 拉起命令执行时长
"shell-timeout": "60000", "shell-timeout": "60000",
//bundle-name: 与HAP的app.json bundleName 保持一致
"bundle-name": "ohos.acts.graphic.crossplatform.Display.normal", "bundle-name": "ohos.acts.graphic.crossplatform.Display.normal",
//module-name: 与HAP的module.json "module"字段的 name 保持一致
"module-name": "entry_test" "module-name": "entry_test"
//testcase-timeout: 测试hap 单条用例的执行时长
//"testcase-timeout": 5000
}, },
// kit的作用主要是为了支撑测试执行活动,在测试前执行预制操作(Setup),在测试后执行清理操作(Teardown)
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"ActsDemoStageTest.hap" "ActsCrossPlatformDisplayTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -23,7 +23,7 @@ ohos_js_hap_suite("ActsCrossplatformImageTest") { ...@@ -23,7 +23,7 @@ ohos_js_hap_suite("ActsCrossplatformImageTest") {
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsCrossplatformImageTest" hap_name = "ActsCrossplatformImageTest"
subsystem_name = "multimedia" subsystem_name = "multimedia"
part_name = "multimedia_image_framework" part_name = "image_framework"
} }
ohos_app_scope("windowStage_app_profile") { ohos_app_scope("windowStage_app_profile") {
app_profile = "AppScope/app.json" app_profile = "AppScope/app.json"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册