提交 4a03f374 编写于 作者: H hu0475

修改hap包名称

Signed-off-by: Nhu0475 <huyanqiang5@huawei.com>
上级 671424e0
...@@ -16,9 +16,9 @@ group("commonlibrary") { ...@@ -16,9 +16,9 @@ group("commonlibrary") {
testonly = true testonly = true
if (is_standard_system) { if (is_standard_system) {
deps = [ deps = [
"crossplatform/commonlibraryxmletstest:ActsCrossplatformXmlTest",
"ets_utils:ets_utils", "ets_utils:ets_utils",
"toolchain:toolchain", "toolchain:toolchain",
"crossplatform/commonlibraryxmletstest:xml_ets_test"
] ]
} }
} }
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
"versionName": "1.0.0", "versionName": "1.0.0",
"icon": "$media:app_icon", "icon": "$media:app_icon",
"label": "$string:app_name", "label": "$string:app_name",
"minAPIVersion": 9, "minAPIVersion": 10,
"targetAPIVersion": 9, "targetAPIVersion": 10,
"car": { "car": {
"apiCompatibleVersion": 9, "apiCompatibleVersion": 10,
"singleUser": false "singleUser": false
} }
} }
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("xml_ets_test") { ohos_js_hap_suite("ActsCrossplatformXmlTest") {
hap_profile = "src/main/module.json" hap_profile = "src/main/module.json"
deps = [ deps = [
":windowStage_js_assets", ":windowStage_js_assets",
...@@ -20,7 +20,7 @@ ohos_js_hap_suite("xml_ets_test") { ...@@ -20,7 +20,7 @@ ohos_js_hap_suite("xml_ets_test") {
] ]
ets2abc = true ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "xml_ets_test" hap_name = "ActsCrossplatformXmlTest"
subsystem_name = "commonlibrary" subsystem_name = "commonlibrary"
part_name = "ets_utils" part_name = "ets_utils"
} }
......
{ {
"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.commonlibrary.crossplatform.convertxml.normal", "bundle-name": "ohos.acts.commonlibrary.crossplatform.convertxml.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" "ActsCrossplatformXmlTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册