提交 f05c4373 编写于 作者: Q quxianfei

LTS_3.0 HAP's name modified

Signed-off-by: Nquxianfei <quxianfei@huawei.com>
上级 d62ac972
...@@ -20,7 +20,7 @@ ohos_js_hap_suite("amsZipfileUnzipfileST") { ...@@ -20,7 +20,7 @@ ohos_js_hap_suite("amsZipfileUnzipfileST") {
":hjs_demo_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "amsZipfileUnzipfileST" hap_name = "ActsAmsZipfileUnzipfileSTest"
} }
ohos_js_assets("hjs_demo_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default" source_dir = "./entry/src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"amsZipfileUnzipfileST.hap" "ActsAmsZipfileUnzipfileSTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -20,7 +20,7 @@ ohos_js_hap_suite("FWKDataAccessor") { ...@@ -20,7 +20,7 @@ ohos_js_hap_suite("FWKDataAccessor") {
":hjs_demo_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FWKDataAccessor" hap_name = "ActsFWKDataAccessorTest"
} }
ohos_js_assets("hjs_demo_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default" source_dir = "./entry/src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"FWKDataAccessor.hap", "ActsFWKDataAccessorTest.hap",
"./resource/appexecfwk/amsStDataAbility.hap" "./resource/appexecfwk/amsStDataAbility.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
......
...@@ -15,7 +15,7 @@ import("//build/ohos_var.gni") ...@@ -15,7 +15,7 @@ import("//build/ohos_var.gni")
group("account") { group("account") {
testonly = true testonly = true
if (is_standard_system) { if (is_standard_system) {
deps = [ "OsAccountTest_js:osaccount_js_test" ] deps = [ "OsAccountTest_js:ActsOsAccountJSApiTest" ]
} else { } else {
deps = [ deps = [
"appaccount:appaccount_hap", "appaccount:appaccount_hap",
......
...@@ -12,20 +12,15 @@ ...@@ -12,20 +12,15 @@
# 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("osaccount_js_test") {
ohos_js_hap_suite("ActsOsAccountJSApiTest") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":osaccount_js_assets", ":osaccount_js_assets",
":osaccount_resources", ":osaccount_resources",
] ]
# shared_libraries = [
# "//third_party/giflib:libgif",
# "//third_party/libpng:libpng",
# ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "OsAccountJSApiTest" hap_name = "ActsOsAccountJSApiTest"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
} }
ohos_js_assets("osaccount_js_assets") { ohos_js_assets("osaccount_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"OsAccountJSApiTest.hap" "ActsOsAccountJSApiTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -13,7 +13,5 @@ ...@@ -13,7 +13,5 @@
group("ace") { group("ace") {
testonly = true testonly = true
deps = [ deps = [ "ace_standard:ace_standard_test" ]
"ace_standard:ace_standard_test",
]
} }
...@@ -11,22 +11,16 @@ ...@@ -11,22 +11,16 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# 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("ace_standard_test") { ohos_js_hap_suite("ace_standard_test") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":ace_js_assets", ":ace_js_assets",
":ace_resources", ":ace_resources",
] ]
# shared_libraries = [
# "//third_party/giflib:libgif",
# "//third_party/libpng:libpng",
# ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ace_standard" hap_name = "ActsAceStandardTest"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
} }
ohos_js_assets("ace_js_assets") { ohos_js_assets("ace_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"ace_standard.hap" "ActsAceStandardTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -67,5 +67,6 @@ hcpptest_suite("ActsAiEngineTest") { ...@@ -67,5 +67,6 @@ hcpptest_suite("ActsAiEngineTest") {
ldflags = [ ldflags = [
"-lstdc++", "-lstdc++",
"-ldl", "-ldl",
"-lpthread",] "-lpthread",
]
} }
...@@ -27,7 +27,7 @@ group("bundlemanager") { ...@@ -27,7 +27,7 @@ group("bundlemanager") {
#"actsbmsmetadatatest:ActsBmsMetaDataTest", #"actsbmsmetadatatest:ActsBmsMetaDataTest",
"actsbmsmoduleusagerecordtest:ActsBmsModuleUsageRecordTest", "actsbmsmoduleusagerecordtest:ActsBmsModuleUsageRecordTest",
"actsbundlemanagertest:ActsBundleManagerTest", "actsbundlemanagertest:ActsBundleManagerTest",
"actsbundlemanageruninstall:ActsBundleManagerUninstall", "actsbundlemanageruninstall:ActsBundleManagerUninstallTest",
"sceneProject/bmsgetinfosfifthscene:bmsThirdBundleTest5", "sceneProject/bmsgetinfosfifthscene:bmsThirdBundleTest5",
"sceneProject/bmsgetinfosfirstscene:bmsThirdBundleTest1", "sceneProject/bmsgetinfosfirstscene:bmsThirdBundleTest1",
"sceneProject/bmsgetinfosfirstsceneupdate:bmsThirdBundleTestA1", "sceneProject/bmsgetinfosfirstsceneupdate:bmsThirdBundleTestA1",
......
...@@ -13,14 +13,14 @@ ...@@ -13,14 +13,14 @@
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("ActsBundleManagerUninstall") { ohos_js_hap_suite("ActsBundleManagerUninstallTest") {
hap_profile = "./entry/src/main/config.json" hap_profile = "./entry/src/main/config.json"
deps = [ deps = [
":hjs_demo_js_assets", ":hjs_demo_js_assets",
":hjs_demo_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsBundleManagerUninstall" hap_name = "ActsBundleManagerUninstallTest"
} }
ohos_js_assets("hjs_demo_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default" source_dir = "./entry/src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"ActsBundleManagerUninstall.hap" "ActsBundleManagerUninstallTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -12,22 +12,15 @@ ...@@ -12,22 +12,15 @@
# 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("wifi_standard_test") { ohos_js_hap_suite("wifi_standard_test") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":wifi_js_assets", ":wifi_js_assets",
":wifi_resources", ":wifi_resources",
] ]
# shared_libraries = [
# "//third_party/giflib:libgif",
# "//third_party/libpng:libpng",
# ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "WifiJSApiTest" hap_name = "ActsWifiJSApiTest"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
} }
ohos_js_assets("wifi_js_assets") { ohos_js_assets("wifi_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"WifiJSApiTest.hap" "ActsWifiJSApiTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -12,22 +12,15 @@ ...@@ -12,22 +12,15 @@
# 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("process_js_test") { ohos_js_hap_suite("process_js_test") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":process_js_assets", ":process_js_assets",
":process_resources", ":process_resources",
] ]
# shared_libraries = [
# "//third_party/giflib:libgif",
# "//third_party/libpng:libpng",
# ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ProcessJSApiTest" hap_name = "ActsProcessJSApiTest"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
} }
ohos_js_assets("process_js_assets") { ohos_js_assets("process_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"ProcessJSApiTest.hap" "ActsProcessJSApiTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -12,22 +12,15 @@ ...@@ -12,22 +12,15 @@
# 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("url_js_test") { ohos_js_hap_suite("url_js_test") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":url_js_assets", ":url_js_assets",
":url_resources", ":url_resources",
] ]
# shared_libraries = [
# "//third_party/giflib:libgif",
# "//third_party/libpng:libpng",
# ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "UrlJsTest" hap_name = "ActsUrlJsTest"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
} }
ohos_js_assets("url_js_assets") { ohos_js_assets("url_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"UrlJsTest.hap" "ActsUrlJsTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -12,22 +12,15 @@ ...@@ -12,22 +12,15 @@
# 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("util_js_test") { ohos_js_hap_suite("util_js_test") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":util_js_assets", ":util_js_assets",
":util_resources", ":util_resources",
] ]
# shared_libraries = [
# "//third_party/giflib:libgif",
# "//third_party/libpng:libpng",
# ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "UtilJsTest" hap_name = "ActsUtilJsTest"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
} }
ohos_js_assets("util_js_assets") { ohos_js_assets("util_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"UtilJsTest.hap" "ActsUtilJsTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -12,22 +12,15 @@ ...@@ -12,22 +12,15 @@
# 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("worker_js_hap") { ohos_js_hap_suite("worker_js_hap") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":worker_js_assets", ":worker_js_assets",
":worker_resources", ":worker_resources",
] ]
# shared_libraries = [
# "//third_party/giflib:libgif",
# "//third_party/libpng:libpng",
# ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "WorkerJSTest" hap_name = "ActsWorkerJSTest"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
} }
ohos_js_assets("worker_js_assets") { ohos_js_assets("worker_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"WorkerJSTest.hap" "ActsWorkerJSTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -16,8 +16,6 @@ import("//build/ohos_var.gni") ...@@ -16,8 +16,6 @@ import("//build/ohos_var.gni")
group("demo") { group("demo") {
testonly = true testonly = true
if (is_standard_system) { if (is_standard_system) {
deps = [ deps = [ "hjsunit_sample:hjs_demo_test" ]
"hjsunit_sample:hjs_demo_test",
]
} }
} }
...@@ -12,20 +12,15 @@ ...@@ -12,20 +12,15 @@
# 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("hjs_demo_test") { ohos_js_hap_suite("hjs_demo_test") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":hjs_demo_js_assets", ":hjs_demo_js_assets",
":hjs_demo_resources", ":hjs_demo_resources",
] ]
# shared_libraries = [
# "//third_party/giflib:libgif",
# "//third_party/libpng:libpng",
# ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "Hjsdemotest" hap_name = "Hjsdemotest"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
} }
ohos_js_assets("hjs_demo_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -17,14 +17,14 @@ import("../../../../../developtools/profiler/device/base/config.gni") ...@@ -17,14 +17,14 @@ import("../../../../../developtools/profiler/device/base/config.gni")
############################################################################### ###############################################################################
config("module_private_config") { config("module_private_config") {
visibility = [":*"] visibility = [ ":*" ]
} }
ohos_moduletest_suite("hipluginmoduleapitest") { ohos_moduletest_suite("hipluginmoduleapitest") {
deps = [ deps = [
"//third_party/googletest:gtest",
"${OHOS_PROFILER_DIR}/protos/types/plugins/memory_data:memory_data_cpp",
"${OHOS_PROFILER_DIR}/device/plugins/memory_plugin:memdataplugin", "${OHOS_PROFILER_DIR}/device/plugins/memory_plugin:memdataplugin",
"${OHOS_PROFILER_DIR}/protos/types/plugins/memory_data:memory_data_cpp",
"//third_party/googletest:gtest",
] ]
include_dirs = [ include_dirs = [
"${OHOS_PROFILER_DIR}/interfaces/kits/", "${OHOS_PROFILER_DIR}/interfaces/kits/",
...@@ -42,11 +42,9 @@ ohos_moduletest_suite("hipluginmoduleapitest") { ...@@ -42,11 +42,9 @@ ohos_moduletest_suite("hipluginmoduleapitest") {
cflags = [ cflags = [
"-pthread", "-pthread",
"-Wno-inconsistent-missing-override", "-Wno-inconsistent-missing-override",
"-Dprivate=public", #allow test code access private members "-Dprivate=public", #allow test code access private members
]
external_deps = [
"hiviewdfx_hilog_native:libhilog",
] ]
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}" subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
defines = [ "HAVE_HILOG", ] defines = [ "HAVE_HILOG" ]
} }
...@@ -44,8 +44,8 @@ hcpptest_suite("ActsDMSTest") { ...@@ -44,8 +44,8 @@ hcpptest_suite("ActsDMSTest") {
deps = [ deps = [
"${appexecfwk_lite_path}/frameworks/bundle_lite:bundle", "${appexecfwk_lite_path}/frameworks/bundle_lite:bundle",
"//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared", "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared",
"//foundation/distributedschedule/samgr_lite/samgr:samgr",
"//foundation/distributedschedule/dmsfwk_lite:dtbschedmgr", "//foundation/distributedschedule/dmsfwk_lite:dtbschedmgr",
"//foundation/distributedschedule/samgr_lite/samgr:samgr",
"//third_party/bounds_checking_function:libsec_shared", "//third_party/bounds_checking_function:libsec_shared",
] ]
cflags = [ "-Wno-error" ] cflags = [ "-Wno-error" ]
......
...@@ -12,20 +12,15 @@ ...@@ -12,20 +12,15 @@
# 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("appdatamgr_js_test") { ohos_js_hap_suite("appdatamgr_js_test") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":appdatamgr_js_assets", ":appdatamgr_js_assets",
":appdatamgr_resources", ":appdatamgr_resources",
] ]
# shared_libraries = [
# "//third_party/giflib:libgif",
# "//third_party/libpng:libpng",
# ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "AppdatamagrJsTest" hap_name = "ActsAppdatamagrJsTest"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
} }
ohos_js_assets("appdatamgr_js_assets") { ohos_js_assets("appdatamgr_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"AppdatamagrJsTest.hap" "ActsAppdatamagrJsTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -12,20 +12,15 @@ ...@@ -12,20 +12,15 @@
# 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("distributeddatamgr_js_test") { ohos_js_hap_suite("distributeddatamgr_js_test") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":distributeddatamgr_js_assets", ":distributeddatamgr_js_assets",
":distributeddatamgr_resources", ":distributeddatamgr_resources",
] ]
# shared_libraries = [
# "//third_party/giflib:libgif",
# "//third_party/libpng:libpng",
# ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "DistributeddatamgrJsTest" hap_name = "ActsDistributedDatamgrJsTest"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
} }
ohos_js_assets("distributeddatamgr_js_assets") { ohos_js_assets("distributeddatamgr_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"DistributeddatamgrJsTest.hap" "ActsDistributedDatamgrJsTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -20,7 +20,7 @@ ohos_js_hap_suite("devicemanager_js_test") { ...@@ -20,7 +20,7 @@ ohos_js_hap_suite("devicemanager_js_test") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "devicemanagerjstest" hap_name = "ActsDeviceManagerJsTest"
} }
ohos_js_assets("devicemanager_js_assets") { ohos_js_assets("devicemanager_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"devicemanagerjstest.hap" "ActsDeviceManagerJsTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -18,7 +18,7 @@ group("global") { ...@@ -18,7 +18,7 @@ group("global") {
if (is_standard_system) { if (is_standard_system) {
deps = [ deps = [
"i18n_standard/intljs:intljs_test", "i18n_standard/intljs:intljs_test",
"i18n_standard/zone/src:ZoneUtiltest", "i18n_standard/zone/src:ActsZoneUtilTest",
"resmgr_standard/resmgrjs:resmgrjs_test", "resmgr_standard/resmgrjs:resmgrjs_test",
] ]
} else { } else {
......
...@@ -12,20 +12,15 @@ ...@@ -12,20 +12,15 @@
# 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("intljs_test") { ohos_js_hap_suite("intljs_test") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":intljs_assets", ":intljs_assets",
":intljs_resources", ":intljs_resources",
] ]
# shared_libraries = [
# "//third_party/giflib:libgif",
# "//third_party/libpng:libpng",
# ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "IntlJsTest" hap_name = "ActsIntlJsTest"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
} }
ohos_js_assets("intljs_assets") { ohos_js_assets("intljs_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"IntlJsTest.hap" "ActsIntlJsTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -16,7 +16,7 @@ import("//test/xts/tools/build/suite.gni") ...@@ -16,7 +16,7 @@ import("//test/xts/tools/build/suite.gni")
#SUBSYSTEM_DIR = "//base/global" #SUBSYSTEM_DIR = "//base/global"
module_output_path = "hit/global" module_output_path = "hit/global"
ohos_moduletest_suite("ZoneUtiltest") { ohos_moduletest_suite("ActsZoneUtilTest") {
module_out_path = module_output_path module_out_path = module_output_path
sources = [ sources = [
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"kits": [ "kits": [
{ {
"push": [ "push": [
"ZoneUtiltest->/data/local/tmp/ZoneUtiltest" "ActsZoneUtilTest->/data/local/tmp/ActsZoneUtilTest"
], ],
"type": "PushKit" "type": "PushKit"
} }
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
"driver": { "driver": {
"native-test-timeout": "120000", "native-test-timeout": "120000",
"type": "CppTest", "type": "CppTest",
"module-name": "ZoneUtiltest", "module-name": "ActsZoneUtilTest",
"runtime-hint": "1s", "runtime-hint": "1s",
"native-test-device-path": "/data/local/tmp" "native-test-device-path": "/data/local/tmp"
}, },
"description": "Configuration for ZoneUtiltest Tests" "description": "Configuration for ActsZoneUtilTest Tests"
} }
\ No newline at end of file
...@@ -12,20 +12,15 @@ ...@@ -12,20 +12,15 @@
# 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("resmgrjs_test") { ohos_js_hap_suite("resmgrjs_test") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":resmgrjs_assets", ":resmgrjs_assets",
":resmgrjs_resources", ":resmgrjs_resources",
] ]
# shared_libraries = [
# "//third_party/giflib:libgif",
# "//third_party/libpng:libpng",
# ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "resmgrjs" hap_name = "ActsResMgrJsTest"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
} }
ohos_js_assets("resmgrjs_assets") { ohos_js_assets("resmgrjs_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"resmgrjs.hap" "ActsResMgrJsTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -13,12 +13,12 @@ ...@@ -13,12 +13,12 @@
group("ActsGlobalTest") { group("ActsGlobalTest") {
deps = [ deps = [
"//test/xts/acts/global_lite/i18n_lite/number_posix:ActsNumberTest",
"//test/xts/acts/global_lite/i18n_lite/numberrecall_posix:ActsNumberRecallTest",
"//test/xts/acts/global_lite/i18n_lite/datetime_posix:ActsGlobalDateTimeTest", "//test/xts/acts/global_lite/i18n_lite/datetime_posix:ActsGlobalDateTimeTest",
"//test/xts/acts/global_lite/i18n_lite/datetimerecall_posix:ActsGlobalDateTimeRecallTest", "//test/xts/acts/global_lite/i18n_lite/datetimerecall_posix:ActsGlobalDateTimeRecallTest",
"//test/xts/acts/global_lite/i18n_lite/number_posix:ActsNumberTest",
"//test/xts/acts/global_lite/i18n_lite/numberrecall_posix:ActsNumberRecallTest",
"//test/xts/acts/global_lite/i18n_lite/week_plural_number/src:WeekPluralNumbertest", "//test/xts/acts/global_lite/i18n_lite/week_plural_number/src:WeekPluralNumbertest",
# depend on the resources # depend on the resources
#"//test/xts/acts/global_lite/i18n_lite/resource_parse_load/src:ResourceParseLoadtest", #"//test/xts/acts/global_lite/i18n_lite/resource_parse_load/src:ResourceParseLoadtest",
] ]
......
...@@ -15,7 +15,7 @@ import("//test/xts/tools/lite/build/suite_lite.gni") ...@@ -15,7 +15,7 @@ import("//test/xts/tools/lite/build/suite_lite.gni")
hcpptest_suite("ResourceParseLoadtest") { hcpptest_suite("ResourceParseLoadtest") {
suite_name = "acts" suite_name = "acts"
sources = [ sources = [
"global_test.cpp", "global_test.cpp",
"hap_manager_test.cpp", "hap_manager_test.cpp",
"hap_parser_test.cpp", "hap_parser_test.cpp",
...@@ -28,7 +28,7 @@ hcpptest_suite("ResourceParseLoadtest") { ...@@ -28,7 +28,7 @@ hcpptest_suite("ResourceParseLoadtest") {
"resource_manager_test.cpp", "resource_manager_test.cpp",
"string_utils_test.cpp", "string_utils_test.cpp",
"test_common.cpp", "test_common.cpp",
] ]
include_dirs = [ include_dirs = [
"//base/global/i18n_lite/interfaces/kits/i18n/include", "//base/global/i18n_lite/interfaces/kits/i18n/include",
......
...@@ -20,7 +20,6 @@ hcpptest_suite("WeekPluralNumbertest") { ...@@ -20,7 +20,6 @@ hcpptest_suite("WeekPluralNumbertest") {
include_dirs = [ include_dirs = [
"//base/global/i18n_lite/interfaces/kits/i18n/include", "//base/global/i18n_lite/interfaces/kits/i18n/include",
"//third_party/bounds_checking_function/include", "//third_party/bounds_checking_function/include",
] ]
deps = [ deps = [
......
...@@ -12,20 +12,15 @@ ...@@ -12,20 +12,15 @@
# 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("window_hap_test") { ohos_js_hap_suite("window_hap_test") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":window_js_assets", ":window_js_assets",
":window_resources", ":window_resources",
] ]
# shared_libraries = [
# "//third_party/giflib:libgif",
# "//third_party/libpng:libpng",
# ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "windowhaptest" hap_name = "ActsWindowHapTest"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
} }
ohos_js_assets("window_js_assets") { ohos_js_assets("window_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"windowhaptest.hap" "ActsWindowHapTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -15,13 +15,13 @@ group("hiviewdfxtestacts") { ...@@ -15,13 +15,13 @@ group("hiviewdfxtestacts") {
testonly = true testonly = true
if (is_standard_system) { if (is_standard_system) {
deps = [ deps = [
"faultloggertest/faultloggercpptest:faultloggertest", "faultloggertest/faultloggercpptest:ActsFaultLoggerTest",
"hiappeventtest/hiappeventjstest:hiappeventjstest", "hiappeventtest/hiappeventjstest:ActsHiAppEventJsTest",
"hicollietest/hicolliecpptest:HiCollieCppTest", "hicollietest/hicolliecpptest:ActsHiCollieCppTest",
"hilogtest/libhilogtest:libhilogtestacts", "hilogtest/libhilogtest:libhilogtestacts",
"hisyseventtest/hisyseventcpptest:HiSysEventCPPTest", "hisyseventtest/hisyseventcpptest:ActsHiSysEventCPPTest",
"hitracetest/hitracecpptest:HitraceCPPtest", "hitracetest/hitracecpptest:ActsHitraceCPPTest",
"hitracetest/hitracectest:HitraceCtest", "hitracetest/hitracectest:ActsHitraceCTest",
] ]
} }
} }
...@@ -24,7 +24,7 @@ config("faultloggertest_config") { ...@@ -24,7 +24,7 @@ config("faultloggertest_config") {
"genfault.h", "genfault.h",
] ]
} }
ohos_moduletest_suite("faultloggertest") { ohos_moduletest_suite("ActsFaultLoggerTest") {
module_out_path = module_output_path module_out_path = module_output_path
sources = [ sources = [
"faultloggertest.cpp", "faultloggertest.cpp",
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"kits": [ "kits": [
{ {
"push": [ "push": [
"faultloggertest->/data/local/tmp/faultloggertest" "ActsFaultLoggerTest->/data/local/tmp/ActsFaultLoggerTest"
], ],
"type": "PushKit" "type": "PushKit"
} }
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
"driver": { "driver": {
"native-test-timeout": "120000", "native-test-timeout": "120000",
"type": "CppTest", "type": "CppTest",
"module-name": "faultloggertest", "module-name": "ActsFaultLoggerTest",
"runtime-hint": "1s", "runtime-hint": "1s",
"native-test-device-path": "/data/local/tmp" "native-test-device-path": "/data/local/tmp"
}, },
"description": "Configuration for faultloggertest Tests" "description": "Configuration for ActsFaultLoggerTest Tests"
} }
\ No newline at end of file
...@@ -12,20 +12,15 @@ ...@@ -12,20 +12,15 @@
# 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("hiappeventjstest") {
ohos_js_hap_suite("ActsHiAppEventJsTest") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":hiappevent_js_assets", ":hiappevent_js_assets",
":hiappevent_resources", ":hiappevent_resources",
] ]
# shared_libraries = [
# "//third_party/giflib:libgif",
# "//third_party/libpng:libpng",
# ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "HiAppeventTest" hap_name = "ActsHiAppEventJsTest"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
} }
ohos_js_assets("hiappevent_js_assets") { ohos_js_assets("hiappevent_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"HiAppeventTest.hap" "ActsHiAppEventJsTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -24,7 +24,7 @@ config("xcollie_config") { ...@@ -24,7 +24,7 @@ config("xcollie_config") {
"//base/hiviewdfx/hicollie/interfaces/native/innerkits/include", "//base/hiviewdfx/hicollie/interfaces/native/innerkits/include",
] ]
} }
ohos_moduletest_suite("HiCollieCppTest") { ohos_moduletest_suite("ActsHiCollieCppTest") {
module_out_path = module_output_path module_out_path = module_output_path
sources = [ "HiCollieCppTest.cpp" ] sources = [ "HiCollieCppTest.cpp" ]
deps = [ deps = [
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"kits": [ "kits": [
{ {
"push": [ "push": [
"HiCollieCppTest->/data/local/tmp/HiCollieCppTest" "ActsHiCollieCppTest->/data/local/tmp/ActsHiCollieCppTest"
], ],
"type": "PushKit", "type": "PushKit",
"post-push": [ "post-push": [
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
"driver": { "driver": {
"native-test-timeout": "120000", "native-test-timeout": "120000",
"type": "CppTest", "type": "CppTest",
"module-name": "HiCollieCppTest", "module-name": "ActsHiCollieCppTest",
"runtime-hint": "1s", "runtime-hint": "1s",
"native-test-device-path": "/data/local/tmp" "native-test-device-path": "/data/local/tmp"
}, },
"description": "Configuration for HiCollieCppTest Tests" "description": "Configuration for ActsHiCollieCppTest Tests"
} }
\ No newline at end of file
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
group("libhilogtestacts") { group("libhilogtestacts") {
testonly = true testonly = true
deps = [ deps = [
"libhilogCPPtest:LibhilogCPPtest", "hilogtest:ActsHilogTest",
"libhilogCtest:libhilogCtest", "libhilogCPPtest:ActsLibhilogCPPTest",
"hilogtest:hilogtest", "libhilogCtest:ActsLibhilogCTest",
] ]
} }
...@@ -23,7 +23,7 @@ config("hilogtest_config") { ...@@ -23,7 +23,7 @@ config("hilogtest_config") {
"//base/hiviewdfx/hilog/interfaces/native/innerkits/include", "//base/hiviewdfx/hilog/interfaces/native/innerkits/include",
] ]
} }
ohos_moduletest_suite("hilogtest") { ohos_moduletest_suite("ActsHilogTest") {
module_out_path = module_output_path module_out_path = module_output_path
sources = [ "hilogtest.cpp" ] sources = [ "hilogtest.cpp" ]
deps = [ deps = [
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"kits": [ "kits": [
{ {
"push": [ "push": [
"hilogtest->/data/local/tmp/hilogtest" "ActsHilogTest->/data/local/tmp/ActsHilogTest"
], ],
"type": "PushKit" "type": "PushKit"
} }
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
"driver": { "driver": {
"native-test-timeout": "120000", "native-test-timeout": "120000",
"type": "CppTest", "type": "CppTest",
"module-name": "hilogtest", "module-name": "ActsHilogTest",
"runtime-hint": "1s", "runtime-hint": "1s",
"native-test-device-path": "/data/local/tmp" "native-test-device-path": "/data/local/tmp"
}, },
"description": "Configuration for hilogtest Tests" "description": "Configuration for ActsHilogTest Tests"
} }
\ No newline at end of file
...@@ -23,7 +23,7 @@ config("hilogtest_config") { ...@@ -23,7 +23,7 @@ config("hilogtest_config") {
"//base/hiviewdfx/hilog/interfaces/native/innerkits/include", "//base/hiviewdfx/hilog/interfaces/native/innerkits/include",
] ]
} }
ohos_moduletest_suite("LibhilogCPPtest") { ohos_moduletest_suite("ActsLibhilogCPPTest") {
module_out_path = module_output_path module_out_path = module_output_path
sources = [ "LibhilogCPPtest.cpp" ] sources = [ "LibhilogCPPtest.cpp" ]
deps = [ deps = [
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"kits": [ "kits": [
{ {
"push": [ "push": [
"LibhilogCPPtest->/data/local/tmp/LibhilogCPPtest" "ActsLibhilogCPPTest->/data/local/tmp/ActsLibhilogCPPTest"
], ],
"type": "PushKit" "type": "PushKit"
} }
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
"driver": { "driver": {
"native-test-timeout": "120000", "native-test-timeout": "120000",
"type": "CppTest", "type": "CppTest",
"module-name": "LibhilogCPPtest", "module-name": "ActsLibhilogCPPTest",
"runtime-hint": "1s", "runtime-hint": "1s",
"native-test-device-path": "/data/local/tmp" "native-test-device-path": "/data/local/tmp"
}, },
"description": "Configuration for LibhilogCPPtest Tests" "description": "Configuration for ActsLibhilogCPPTest Tests"
} }
\ No newline at end of file
...@@ -23,7 +23,7 @@ config("hilogtest_config") { ...@@ -23,7 +23,7 @@ config("hilogtest_config") {
"//base/hiviewdfx/hilog/interfaces/native/innerkits/include", "//base/hiviewdfx/hilog/interfaces/native/innerkits/include",
] ]
} }
ohos_moduletest_suite("libhilogCtest") { ohos_moduletest_suite("ActsLibhilogCTest") {
module_out_path = module_output_path module_out_path = module_output_path
sources = [ "libhilogCtest.cpp" ] sources = [ "libhilogCtest.cpp" ]
deps = [ deps = [
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"kits": [ "kits": [
{ {
"push": [ "push": [
"libhilogCtest->/data/local/tmp/libhilogCtest" "ActsLibhilogCTest->/data/local/tmp/ActsLibhilogCTest"
], ],
"type": "PushKit" "type": "PushKit"
} }
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
"driver": { "driver": {
"native-test-timeout": "120000", "native-test-timeout": "120000",
"type": "CppTest", "type": "CppTest",
"module-name": "libhilogCtest", "module-name": "ActsLibhilogCTest",
"runtime-hint": "1s", "runtime-hint": "1s",
"native-test-device-path": "/data/local/tmp" "native-test-device-path": "/data/local/tmp"
}, },
"description": "Configuration for libhilogCtest Tests" "description": "Configuration for ActsLibhilogCTest Tests"
} }
\ No newline at end of file
...@@ -25,11 +25,9 @@ config("hilogtest_config") { ...@@ -25,11 +25,9 @@ config("hilogtest_config") {
"//base/hiviewdfx/hisysevent/interfaces/native/innerkits/include", "//base/hiviewdfx/hisysevent/interfaces/native/innerkits/include",
] ]
} }
ohos_moduletest_suite("HiSysEventCPPTest") { ohos_moduletest_suite("ActsHiSysEventCPPTest") {
module_out_path = module_output_path module_out_path = module_output_path
sources = [ sources = [ "HiSysEventCPPTest.cpp" ]
"HiSysEventCPPTest.cpp",
]
deps = [ deps = [
"../../utils/native:utilskit", "../../utils/native:utilskit",
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog", "//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog",
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"kits": [ "kits": [
{ {
"push": [ "push": [
"HiSysEventCPPTest->/data/local/tmp/HiSysEventCPPTest" "ActsHiSysEventCPPTest->/data/local/tmp/ActsHiSysEventCPPTest"
], ],
"type": "PushKit" "type": "PushKit"
} }
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
"driver": { "driver": {
"native-test-timeout": "120000", "native-test-timeout": "120000",
"type": "CppTest", "type": "CppTest",
"module-name": "HiSysEventCPPTest", "module-name": "ActsHiSysEventCPPTest",
"runtime-hint": "1s", "runtime-hint": "1s",
"native-test-device-path": "/data/local/tmp" "native-test-device-path": "/data/local/tmp"
}, },
"description": "Configuration for HiSysEventCPPTest Tests" "description": "Configuration for ActsHiSysEventCPPTest Tests"
} }
\ No newline at end of file
...@@ -25,7 +25,7 @@ config("hitrace_config") { ...@@ -25,7 +25,7 @@ config("hitrace_config") {
"//base/hiviewdfx/hisysevent/interfaces/native/innerkits/include", "//base/hiviewdfx/hisysevent/interfaces/native/innerkits/include",
] ]
} }
ohos_moduletest_suite("HitraceCPPtest") { ohos_moduletest_suite("ActsHitraceCPPTest") {
module_out_path = module_output_path module_out_path = module_output_path
sources = [ "HitraceCPPtest.cpp" ] sources = [ "HitraceCPPtest.cpp" ]
deps = [ deps = [
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"kits": [ "kits": [
{ {
"push": [ "push": [
"HitraceCPPtest->/data/local/tmp/HitraceCPPtest" "ActsHitraceCPPTest->/data/local/tmp/ActsHitraceCPPTest"
], ],
"type": "PushKit", "type": "PushKit",
"post-push": [ "post-push": [
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
"driver": { "driver": {
"native-test-timeout": "120000", "native-test-timeout": "120000",
"type": "CppTest", "type": "CppTest",
"module-name": "HitraceCPPtest", "module-name": "ActsHitraceCPPTest",
"runtime-hint": "1s", "runtime-hint": "1s",
"native-test-device-path": "/data/local/tmp" "native-test-device-path": "/data/local/tmp"
}, },
"description": "Configuration for HitraceCPPtest Tests" "description": "Configuration for ActsHitraceCPPTest Tests"
} }
\ No newline at end of file
...@@ -24,7 +24,7 @@ config("hitrace_config") { ...@@ -24,7 +24,7 @@ config("hitrace_config") {
"//base/hiviewdfx/hitrace/interfaces/native/innerkits/include", "//base/hiviewdfx/hitrace/interfaces/native/innerkits/include",
] ]
} }
ohos_moduletest_suite("HitraceCtest") { ohos_moduletest_suite("ActsHitraceCTest") {
module_out_path = module_output_path module_out_path = module_output_path
sources = [ "HitraceCtest.cpp" ] sources = [ "HitraceCtest.cpp" ]
deps = [ deps = [
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"kits": [ "kits": [
{ {
"push": [ "push": [
"HitraceCtest->/data/local/tmp/HitraceCtest" "ActsHitraceCTest->/data/local/tmp/ActsHitraceCTest"
], ],
"type": "PushKit", "type": "PushKit",
"post-push": [ "post-push": [
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
"driver": { "driver": {
"native-test-timeout": "120000", "native-test-timeout": "120000",
"type": "CppTest", "type": "CppTest",
"module-name": "HitraceCtest", "module-name": "ActsHitraceCTest",
"runtime-hint": "1s", "runtime-hint": "1s",
"native-test-device-path": "/data/local/tmp" "native-test-device-path": "/data/local/tmp"
}, },
"description": "Configuration for HitraceCtest Tests" "description": "Configuration for ActsHitraceCTest Tests"
} }
\ No newline at end of file
# Copyright (c) 2020 Huawei Device Co., Ltd. # Copyright (c) 2020 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
# You may obtain a copy of the License at # You may obtain a copy of the License at
# #
# http://www.apache.org/licenses/LICENSE-2.0 # http://www.apache.org/licenses/LICENSE-2.0
# #
# Unless required by applicable law or agreed to in writing, software # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import("//test/xts/tools/lite/build/suite_lite.gni") import("//test/xts/tools/lite/build/suite_lite.gni")
hctest_suite("ActsHieventLiteTest") { hctest_suite("ActsHieventLiteTest") {
suite_name = "acts" suite_name = "acts"
sources = [ sources = [ "src/hievent_lite_test.c" ]
"src/hievent_lite_test.c",
]
include_dirs = [ include_dirs = [
"src", "src",
"//base/hiviewdfx/hievent_lite/interfaces/native/innerkits", "//base/hiviewdfx/hievent_lite/interfaces/native/innerkits",
] ]
cflags = [ "-Wno-error" ] cflags = [ "-Wno-error" ]
} }
# Copyright (c) 2020 Huawei Device Co., Ltd. # Copyright (c) 2020 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
# You may obtain a copy of the License at # You may obtain a copy of the License at
# #
# http://www.apache.org/licenses/LICENSE-2.0 # http://www.apache.org/licenses/LICENSE-2.0
# #
# Unless required by applicable law or agreed to in writing, software # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import("//test/xts/tools/lite/build/suite_lite.gni") import("//test/xts/tools/lite/build/suite_lite.gni")
hctest_suite("ActsDfxFuncTest") { hctest_suite("ActsDfxFuncTest") {
suite_name = "acts" suite_name = "acts"
sources = [ sources = [ "src/dfx_hilog.c" ]
"src/dfx_hilog.c",
]
include_dirs = [ include_dirs = [
"src", "src",
"//base/hiviewdfx/hiview_lite", "//base/hiviewdfx/hiview_lite",
"//base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite", "//base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite",
"//base/hiviewdfx/hievent_lite/interfaces/native/innerkits", "//base/hiviewdfx/hievent_lite/interfaces/native/innerkits",
"//base/hiviewdfx/hilog_lite/frameworks/mini", "//base/hiviewdfx/hilog_lite/frameworks/mini",
"//vendor/hisi/hi3861/hi3861/include", "//vendor/hisi/hi3861/hi3861/include",
"//vendor/hisi/hi3861/hi3861/components/lwip_sack/include" "//vendor/hisi/hi3861/hi3861/components/lwip_sack/include",
] ]
cflags = [ "-Wno-error" ] cflags = [ "-Wno-error" ]
} }
...@@ -13,10 +13,9 @@ ...@@ -13,10 +13,9 @@
group("ActsFSTest") { group("ActsFSTest") {
deps = [ deps = [
"./vfat_storage:ActsVFATstorageTest",
"./jffs:ActsJFFS2Test", "./jffs:ActsJFFS2Test",
"./nfs:ActsNFSTest", "./nfs:ActsNFSTest",
"./vfat:ActsVFATTest", "./vfat:ActsVFATTest",
"./vfat_storage:ActsVFATstorageTest",
] ]
} }
...@@ -25,6 +25,6 @@ hcpptest_suite("ActsNetTest") { ...@@ -25,6 +25,6 @@ hcpptest_suite("ActsNetTest") {
deps = [ deps = [
"//test/xts/acts/kernel_lite/utils:libutils", "//test/xts/acts/kernel_lite/utils:libutils",
"//third_party/bounds_checking_function:libsec_shared", "//third_party/bounds_checking_function:libsec_shared",
] ]
} }
...@@ -12,22 +12,15 @@ ...@@ -12,22 +12,15 @@
# 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("time_js_test") { ohos_js_hap_suite("time_js_test") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":time_js_assets", ":time_js_assets",
":time_resources", ":time_resources",
] ]
# shared_libraries = [
# "//third_party/giflib:libgif",
# "//third_party/libpng:libpng",
# ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "TimeJSApiTest" hap_name = "ActsTimeJSApiTest"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
} }
ohos_js_assets("time_js_assets") { ohos_js_assets("time_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"TimeJSApiTest.hap" "ActsTimeJSApiTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -12,22 +12,15 @@ ...@@ -12,22 +12,15 @@
# 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("timer_js_test") { ohos_js_hap_suite("timer_js_test") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":time_js_assets", ":time_js_assets",
":time_resources", ":time_resources",
] ]
# shared_libraries = [
# "//third_party/giflib:libgif",
# "//third_party/libpng:libpng",
# ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "TimerJSApiTest" hap_name = "ActsTimeJSApiTest"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
} }
ohos_js_assets("time_js_assets") { ohos_js_assets("time_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"TimeJSApiTest.hap" "ActsTimeJSApiTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -12,20 +12,15 @@ ...@@ -12,20 +12,15 @@
# 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("audio_manager_js_hap") { ohos_js_hap_suite("audio_manager_js_hap") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":audio_manager_js_assets", ":audio_manager_js_assets",
":audio_manager_resources", ":audio_manager_resources",
] ]
# shared_libraries = [
# "//third_party/giflib:libgif",
# "//third_party/libpng:libpng",
# ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "AudioManagerJsTest" hap_name = "ActsAudioManagerJsTest"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
} }
ohos_js_assets("audio_manager_js_assets") { ohos_js_assets("audio_manager_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"AudioManagerJsTest.hap" "ActsAudioManagerJsTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -12,20 +12,15 @@ ...@@ -12,20 +12,15 @@
# 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("audio_player_js_hap") { ohos_js_hap_suite("audio_player_js_hap") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":audio_player_js_assets", ":audio_player_js_assets",
":audio_player_resources", ":audio_player_resources",
] ]
# shared_libraries = [
# "//third_party/giflib:libgif",
# "//third_party/libpng:libpng",
# ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "AudioPlayerJsTest" hap_name = "ActsAudioPlayerJsTest"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
} }
ohos_js_assets("audio_player_js_assets") { ohos_js_assets("audio_player_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
}, },
{ {
"test-file-name": [ "test-file-name": [
"AudioPlayerJsTest.hap" "ActsAudioPlayerJsTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -12,20 +12,15 @@ ...@@ -12,20 +12,15 @@
# 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("audio_player_api_js_hap") { ohos_js_hap_suite("audio_player_api_js_hap") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":audio_player_api_js_assets", ":audio_player_api_js_assets",
":audio_player_api_resources", ":audio_player_api_resources",
] ]
# shared_libraries = [
# "//third_party/giflib:libgif",
# "//third_party/libpng:libpng",
# ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "AudioPlayerApiJsTest" hap_name = "ActsAudioPlayerApiJsTest"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
} }
ohos_js_assets("audio_player_api_js_assets") { ohos_js_assets("audio_player_api_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
}, },
{ {
"test-file-name": [ "test-file-name": [
"AudioPlayerApiJsTest.hap" "ActsAudioPlayerApiJsTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -12,22 +12,15 @@ ...@@ -12,22 +12,15 @@
# 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("audio_recorder_js_hap") { ohos_js_hap_suite("audio_recorder_js_hap") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":audio_recorder_js_assets", ":audio_recorder_js_assets",
":audio_recorder_resources", ":audio_recorder_resources",
] ]
# shared_libraries = [
# "//third_party/giflib:libgif",
# "//third_party/libpng:libpng",
# ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "AudioRecorderJsTest" hap_name = "ActsAudioRecorderJsTest"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
} }
ohos_js_assets("audio_recorder_js_assets") { ohos_js_assets("audio_recorder_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -16,8 +16,8 @@ group("ans_standard") { ...@@ -16,8 +16,8 @@ group("ans_standard") {
testonly = true testonly = true
if (is_standard_system) { if (is_standard_system) {
deps = [ deps = [
#"actsansnotificationcancel:ActsAnsNotificationCancel", #"actsansnotificationcancel:ActsAnsNotificationCancelTest",
#"actsansnotificationremove:ActsAnsNotificationRemove", #"actsansnotificationremove:ActsAnsNotificationRemoveTest",
"actsansslottest:ActsAnsSlotTest", "actsansslottest:ActsAnsSlotTest",
"publish_test:publish_test", "publish_test:publish_test",
] ]
......
...@@ -13,14 +13,14 @@ ...@@ -13,14 +13,14 @@
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("ActsAnsNotificationCancel") { ohos_js_hap_suite("ActsAnsNotificationCancelTest") {
hap_profile = "./entry/src/main/config.json" hap_profile = "./entry/src/main/config.json"
deps = [ deps = [
":hjs_demo_js_assets", ":hjs_demo_js_assets",
":hjs_demo_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAnsNotificationCancel" hap_name = "ActsAnsNotificationCancelTest"
} }
ohos_js_assets("hjs_demo_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default" source_dir = "./entry/src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"ActsAnsNotificationCancel.hap" "ActsAnsNotificationCancelTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -13,14 +13,14 @@ ...@@ -13,14 +13,14 @@
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("ActsAnsNotificationRemove") { ohos_js_hap_suite("ActsAnsNotificationRemoveTest") {
hap_profile = "./entry/src/main/config.json" hap_profile = "./entry/src/main/config.json"
deps = [ deps = [
":hjs_demo_js_assets", ":hjs_demo_js_assets",
":hjs_demo_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAnsNotificationRemove" hap_name = "ActsAnsNotificationRemoveTest"
} }
ohos_js_assets("hjs_demo_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default" source_dir = "./entry/src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"ActsAnsNotificationRemove.hap" "ActsAnsNotificationRemoveTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -17,17 +17,17 @@ group("ActsAnsSlotTest") { ...@@ -17,17 +17,17 @@ group("ActsAnsSlotTest") {
testonly = true testonly = true
if (is_standard_system) { if (is_standard_system) {
deps = [ deps = [
"actsansgetslotWithoutadd:ActsAnsGetSlotWithoutAdd", "actsansgetslotWithoutadd:ActsAnsGetSlotWithoutAddTest",
"actsansgetslottestcallback:ActsAnsGetSlotTestCallback", "actsansgetslottestcallback:ActsAnsGetSlotTestCallbackTest",
"actsansgetslottestpromise:ActsAnsGetSlotTestPromise", "actsansgetslottestpromise:ActsAnsGetSlotTestPromiseTest",
"actsansremoveslottest:ActsAnsRemoveSlotTest", "actsansremoveslottest:ActsAnsRemoveSlotTest",
"actsansremoveslotwithoutadd:ActsAnsRemoveSlotWithoutAdd", "actsansremoveslotwithoutadd:ActsAnsRemoveSlotWithoutAddTest",
#"actsansslotbybundle:ActsAnsSlotByBundle", #"actsansslotbybundle:ActsAnsSlotByBundleTest",
#"actsansaddslotsystem:ActsAnsAddSlotSystem", #"actsansaddslotsystem:ActsAnsAddSlotSystemTest",
#"actsansslotsystemcallback:ActsAnsSlotSystemCallback", #"actsansslotsystemcallback:ActsAnsSlotSystemCallbackTest",
#"actsansslotsystempromise:ActsAnsSlotSystemPromise", #"actsansslotsystempromise:ActsAnsSlotSystemPromiseTest",
#"actsansslottaddremoveall:ActsAnsSlotAddRemoveAll", #"actsansslottaddremoveall:ActsAnsSlotAddRemoveAllTest",
] ]
} }
} }
...@@ -13,14 +13,14 @@ ...@@ -13,14 +13,14 @@
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("ActsAnsAddSlotSystem") { ohos_js_hap_suite("ActsAnsAddSlotSystemTest") {
hap_profile = "./entry/src/main/config.json" hap_profile = "./entry/src/main/config.json"
deps = [ deps = [
":hjs_demo_js_assets", ":hjs_demo_js_assets",
":hjs_demo_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAnsAddSlotSystem" hap_name = "ActsAnsAddSlotSystemTest"
} }
ohos_js_assets("hjs_demo_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default" source_dir = "./entry/src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"ActsAnsAddSlotSystem.hap" "ActsAnsAddSlotSystemTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -13,14 +13,14 @@ ...@@ -13,14 +13,14 @@
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("ActsAnsGetSlotWithoutAdd") { ohos_js_hap_suite("ActsAnsGetSlotWithoutAddTest") {
hap_profile = "./entry/src/main/config.json" hap_profile = "./entry/src/main/config.json"
deps = [ deps = [
":hjs_demo_js_assets", ":hjs_demo_js_assets",
":hjs_demo_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAnsGetSlotWithoutAdd" hap_name = "ActsAnsGetSlotWithoutAddTest"
} }
ohos_js_assets("hjs_demo_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default" source_dir = "./entry/src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"ActsAnsGetSlotWithoutAdd.hap" "ActsAnsGetSlotWithoutAddTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -13,14 +13,14 @@ ...@@ -13,14 +13,14 @@
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("ActsAnsGetSlotTestCallback") { ohos_js_hap_suite("ActsAnsGetSlotTestCallbackTest") {
hap_profile = "./entry/src/main/config.json" hap_profile = "./entry/src/main/config.json"
deps = [ deps = [
":hjs_demo_js_assets", ":hjs_demo_js_assets",
":hjs_demo_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAnsGetSlotTestCallback" hap_name = "ActsAnsGetSlotTestCallbackTest"
} }
ohos_js_assets("hjs_demo_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default" source_dir = "./entry/src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"ActsAnsGetSlotTestCallback.hap" "ActsAnsGetSlotTestCallbackTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -13,14 +13,14 @@ ...@@ -13,14 +13,14 @@
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("ActsAnsGetSlotTestPromise") { ohos_js_hap_suite("ActsAnsGetSlotTestPromiseTest") {
hap_profile = "./entry/src/main/config.json" hap_profile = "./entry/src/main/config.json"
deps = [ deps = [
":hjs_demo_js_assets", ":hjs_demo_js_assets",
":hjs_demo_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAnsGetSlotTestPromise" hap_name = "ActsAnsGetSlotTestPromiseTest"
} }
ohos_js_assets("hjs_demo_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default" source_dir = "./entry/src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"ActsAnsGetSlotTestPromise.hap" "ActsAnsGetSlotTestPromiseTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -13,14 +13,14 @@ ...@@ -13,14 +13,14 @@
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("ActsAnsRemoveSlotWithoutAdd") { ohos_js_hap_suite("ActsAnsRemoveSlotWithoutAddTest") {
hap_profile = "./entry/src/main/config.json" hap_profile = "./entry/src/main/config.json"
deps = [ deps = [
":hjs_demo_js_assets", ":hjs_demo_js_assets",
":hjs_demo_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAnsRemoveSlotWithoutAdd" hap_name = "ActsAnsRemoveSlotWithoutAddTest"
} }
ohos_js_assets("hjs_demo_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default" source_dir = "./entry/src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"ActsAnsRemoveSlotWithoutAdd.hap" "ActsAnsRemoveSlotWithoutAddTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -13,14 +13,14 @@ ...@@ -13,14 +13,14 @@
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("ActsAnsSlotByBundle") { ohos_js_hap_suite("ActsAnsSlotByBundleTest") {
hap_profile = "./entry/src/main/config.json" hap_profile = "./entry/src/main/config.json"
deps = [ deps = [
":hjs_demo_js_assets", ":hjs_demo_js_assets",
":hjs_demo_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAnsSlotByBundle" hap_name = "ActsAnsSlotByBundleTest"
} }
ohos_js_assets("hjs_demo_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default" source_dir = "./entry/src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"ActsAnsSlotByBundle.hap" "ActsAnsSlotByBundleTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -13,14 +13,14 @@ ...@@ -13,14 +13,14 @@
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("ActsAnsSlotSystemCallback") { ohos_js_hap_suite("ActsAnsSlotSystemCallbackTest") {
hap_profile = "./entry/src/main/config.json" hap_profile = "./entry/src/main/config.json"
deps = [ deps = [
":hjs_demo_js_assets", ":hjs_demo_js_assets",
":hjs_demo_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAnsSlotSystemCallback" hap_name = "ActsAnsSlotSystemCallbackTest"
} }
ohos_js_assets("hjs_demo_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default" source_dir = "./entry/src/main/js/default"
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册