适配hvigor框架

Signed-off-by: bWX1145125 <bianjianliang1@huawei.com>
This commit is contained in:
bWX1145125 2024-10-22 19:01:23 +08:00
parent 64285cbd46
commit 3c35bf0242
14 changed files with 1615 additions and 1615 deletions

View File

@ -13,11 +13,11 @@
import("//test/xts/tools/build/suite.gni")
ohos_js_app_suite("DctsSubdisDeviceJsTest") {
ohos_js_app_suite("DctsSubDeviceJsTest") {
test_hap = true
testonly = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "DctsSubdisDeviceJsTest"
hap_name = "DctsSubDeviceJsTest"
subsystem_name = "distributedhardware"
part_name = "device_manager"
}

View File

@ -4,14 +4,14 @@
"type": "OHJSUnitTest",
"test-timeout": "160000",
"shell-timeout": "160000",
"bundle-name": "com.ohos.distributedscreenjstest",
"package-name": "com.ohos.distributedscreenjstest",
"bundle-name": "com.ohos.distributedjstest",
"package-name": "com.ohos.distributedjstest",
"testcase-timeout": 70000
},
"kits": [
{
"test-file-name": [
"DctsSubdisDeviceJsTest.hap"
"DctsSubDeviceJsTest.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true

View File

@ -1,7 +1,7 @@
{
"app": {
"bundleName": "com.ohos.distributedscreenjstest",
"vendor": "acts",
"bundleName": "com.ohos.distributedjstest",
"vendor": "dcts",
"version": {
"code": 1000000,
"name": "1.0.0"
@ -9,7 +9,7 @@
},
"deviceConfig": {},
"module": {
"package": "com.ohos.distributedscreenjstest",
"package": "com.ohos.distributedjstest",
"name": ".entry",
"mainAbility": ".MainAbility",
"deviceType": [
@ -25,14 +25,6 @@
"installationFree": false
},
"reqPermissions": [
{
"name": "ohos.permission.DISTRIBUTED_DATASYNC",
"reason": "need use ohos.permission.DISTRIBUTED_DATASYNC"
},
{
"name": "ohos.permission.ACCESS_SERVICE_DM",
"reason": "need use ohos.permission.ACCESS_SERVICE_DM"
}
],
"abilities": [
{

View File

@ -1,7 +1,7 @@
{
"app": {
"bundleName": "com.ohos.distributedscreenjstest",
"vendor": "acts",
"bundleName": "com.ohos.distributedjstest",
"vendor": "dcts",
"version": {
"code": 1000000,
"name": "1.0.0"
@ -9,7 +9,7 @@
},
"deviceConfig": {},
"module": {
"package": "com.ohos.distributedscreenjstest",
"package": "com.ohos.distributedjstest",
"name": ".entry_test",
"mainAbility": ".TestAbility",
"deviceType": [
@ -25,14 +25,6 @@
"installationFree": false
},
"reqPermissions": [
{
"name": "ohos.permission.DISTRIBUTED_DATASYNC",
"reason": "need use ohos.permission.DISTRIBUTED_DATASYNC"
},
{
"name": "ohos.permission.ACCESS_SERVICE_DM",
"reason": "need use ohos.permission.ACCESS_SERVICE_DM"
}
],
"abilities": [
{

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2023-2024 Huawei Device Co., Ltd.
* Copyright (C) 2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at

View File

@ -13,11 +13,11 @@
import("//test/xts/tools/build/suite.gni")
ohos_js_app_suite("DctsSubDeviceJsTest") {
ohos_js_app_suite("DctsSubdisDeviceJsTest") {
test_hap = true
testonly = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "DctsSubDeviceJsTest"
hap_name = "DctsSubdisDeviceJsTest"
subsystem_name = "distributedhardware"
part_name = "device_manager"
}

View File

@ -4,14 +4,14 @@
"type": "OHJSUnitTest",
"test-timeout": "160000",
"shell-timeout": "160000",
"bundle-name": "com.ohos.distributedjstest",
"package-name": "com.ohos.distributedjstest",
"bundle-name": "com.ohos.distributedscreenjstest",
"package-name": "com.ohos.distributedscreenjstest",
"testcase-timeout": 70000
},
"kits": [
{
"test-file-name": [
"DctsSubDeviceJsTest.hap"
"DctsSubdisDeviceJsTest.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true

View File

@ -1,7 +1,7 @@
{
"app": {
"bundleName": "com.ohos.distributedjstest",
"vendor": "acts",
"bundleName": "com.ohos.distributedscreenjstest",
"vendor": "dcts",
"version": {
"code": 1000000,
"name": "1.0.0"
@ -9,7 +9,7 @@
},
"deviceConfig": {},
"module": {
"package": "com.ohos.distributedjstest",
"package": "com.ohos.distributedscreenjstest",
"name": ".entry",
"mainAbility": ".MainAbility",
"deviceType": [
@ -25,6 +25,14 @@
"installationFree": false
},
"reqPermissions": [
{
"name": "ohos.permission.DISTRIBUTED_DATASYNC",
"reason": "need use ohos.permission.DISTRIBUTED_DATASYNC"
},
{
"name": "ohos.permission.ACCESS_SERVICE_DM",
"reason": "need use ohos.permission.ACCESS_SERVICE_DM"
}
],
"abilities": [
{

View File

@ -1,6 +1,6 @@
{
"app": {
"bundleName": "com.ohos.distributedjstest",
"bundleName": "com.ohos.distributedscreenjstest",
"vendor": "dcts",
"version": {
"code": 1000000,
@ -9,7 +9,7 @@
},
"deviceConfig": {},
"module": {
"package": "com.ohos.distributedjstest",
"package": "com.ohos.distributedscreenjstest",
"name": ".entry_test",
"mainAbility": ".TestAbility",
"deviceType": [
@ -25,6 +25,14 @@
"installationFree": false
},
"reqPermissions": [
{
"name": "ohos.permission.DISTRIBUTED_DATASYNC",
"reason": "need use ohos.permission.DISTRIBUTED_DATASYNC"
},
{
"name": "ohos.permission.ACCESS_SERVICE_DM",
"reason": "need use ohos.permission.ACCESS_SERVICE_DM"
}
],
"abilities": [
{

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2024 Huawei Device Co., Ltd.
* Copyright (C) 2023-2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at