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

修改hap包名称

Signed-off-by: Nhu0475 <huyanqiang5@huawei.com>
上级 671424e0
......@@ -16,9 +16,9 @@ group("commonlibrary") {
testonly = true
if (is_standard_system) {
deps = [
"crossplatform/commonlibraryxmletstest:ActsCrossplatformXmlTest",
"ets_utils:ets_utils",
"toolchain:toolchain",
"crossplatform/commonlibraryxmletstest:xml_ets_test"
]
}
}
......@@ -6,10 +6,10 @@
"versionName": "1.0.0",
"icon": "$media:app_icon",
"label": "$string:app_name",
"minAPIVersion": 9,
"targetAPIVersion": 9,
"minAPIVersion": 10,
"targetAPIVersion": 10,
"car": {
"apiCompatibleVersion": 9,
"apiCompatibleVersion": 10,
"singleUser": false
}
}
......
......@@ -12,7 +12,7 @@
# limitations under the License.
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"
deps = [
":windowStage_js_assets",
......@@ -20,7 +20,7 @@ ohos_js_hap_suite("xml_ets_test") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "xml_ets_test"
hap_name = "ActsCrossplatformXmlTest"
subsystem_name = "commonlibrary"
part_name = "ets_utils"
}
......@@ -35,4 +35,4 @@ ohos_resources("windowStage_resources") {
sources = [ "src/main/resources" ]
deps = [ ":windowStage_app_profile" ]
hap_profile = "src/main/module.json"
}
\ No newline at end of file
}
{
"description": "Configuration for hjunit demo Tests",
// 指定设备执行的驱动
"driver": {
"type": "OHJSUnitTest",
//test-timeout: 测试hap 整体执行用例的执行时长
"test-timeout": "60000",
//shell-timeout: aa test 拉起命令执行时长
"shell-timeout": "60000",
//bundle-name: 与HAP的app.json bundleName 保持一致
"bundle-name": "ohos.acts.commonlibrary.crossplatform.convertxml.normal",
//module-name: 与HAP的module.json "module"字段的 name 保持一致
"module-name": "entry_test"
//testcase-timeout: 测试hap 单条用例的执行时长
//"testcase-timeout": 5000
},
// kit的作用主要是为了支撑测试执行活动,在测试前执行预制操作(Setup),在测试后执行清理操作(Teardown)
"kits": [
{
"test-file-name": [
"ActsDemoStageTest.hap"
"ActsCrossplatformXmlTest.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册