提交 5da5cc6a 编写于 作者: J jiyong_sd

modified FA-JS

Signed-off-by: Njiyong_sd <jiyong@huawei.com>
上级 b193b444
...@@ -30,9 +30,10 @@ ohos_js_hap_suite("ActsHiAppeventTest") { ...@@ -30,9 +30,10 @@ ohos_js_hap_suite("ActsHiAppeventTest") {
# subsystem_name = "xts" # subsystem_name = "xts"
} }
ohos_js_assets("hiappevent_js_assets") { ohos_js_assets("hiappevent_js_assets") {
js2abc=true js2abc = true
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
source_dir = "./src/main/js"} source_dir = "./src/main/js"
}
ohos_resources("hiappevent_resources") { ohos_resources("hiappevent_resources") {
sources = [ "./src/main/resources" ] sources = [ "./src/main/resources" ]
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
......
...@@ -30,9 +30,10 @@ ohos_js_hap_suite("hicheckerjstest") { ...@@ -30,9 +30,10 @@ ohos_js_hap_suite("hicheckerjstest") {
# subsystem_name = "xts" # subsystem_name = "xts"
} }
ohos_js_assets("hichecker_js_assets") { ohos_js_assets("hichecker_js_assets") {
js2abc=true js2abc = true
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
source_dir = "./src/main/js"} source_dir = "./src/main/js"
}
ohos_resources("hichecker_resources") { ohos_resources("hichecker_resources") {
sources = [ "./src/main/resources" ] sources = [ "./src/main/resources" ]
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
......
...@@ -19,14 +19,16 @@ ohos_js_hap_suite("ActsHiDebugTest") { ...@@ -19,14 +19,16 @@ ohos_js_hap_suite("ActsHiDebugTest") {
":hidebug_js_assets", ":hidebug_js_assets",
":hidebug_js_resources", ":hidebug_js_resources",
] ]
#ets2abc = true #ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsHiDebugTest" hap_name = "ActsHiDebugTest"
} }
ohos_js_assets("hidebug_js_assets") { ohos_js_assets("hidebug_js_assets") {
js2abc=true js2abc = true
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
source_dir = "./src/main/js"} source_dir = "./src/main/js"
}
ohos_resources("hidebug_js_resources") { ohos_resources("hidebug_js_resources") {
sources = [ "./src/main/resources" ] sources = [ "./src/main/resources" ]
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"driver": { "driver": {
"type": "OHJSUnitTest", "type": "OHJSUnitTest",
"test-timeout": "1800000", "test-timeout": "1800000",
"shell-timeout": "1800000", "shell-timeout": "60000",
"bundle-name": "com.hidebug.test", "bundle-name": "com.hidebug.test",
"package-name": "com.hidebug.test" "package-name": "com.hidebug.test"
}, },
......
...@@ -23,9 +23,10 @@ ohos_js_hap_suite("ActsHilogJsTest") { ...@@ -23,9 +23,10 @@ ohos_js_hap_suite("ActsHilogJsTest") {
hap_name = "ActsHilogJsTest" hap_name = "ActsHilogJsTest"
} }
ohos_js_assets("hilog_js_assets") { ohos_js_assets("hilog_js_assets") {
js2abc=true js2abc = true
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
source_dir = "./src/main/js"} source_dir = "./src/main/js"
}
ohos_resources("hilog_resources") { ohos_resources("hilog_resources") {
sources = [ "./src/main/resources" ] sources = [ "./src/main/resources" ]
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"driver": { "driver": {
"type": "OHJSUnitTest", "type": "OHJSUnitTest",
"test-timeout": "270000", "test-timeout": "270000",
"shell-timeout": "270000", "shell-timeout": "60000",
"bundle-name": "ohos.acts.hiviewdfx.hilog.function", "bundle-name": "ohos.acts.hiviewdfx.hilog.function",
"package-name": "ohos.acts.hiviewdfx.hilog.function" "package-name": "ohos.acts.hiviewdfx.hilog.function"
}, },
......
...@@ -27,8 +27,8 @@ ohos_moduletest_suite("hilogndktest") { ...@@ -27,8 +27,8 @@ ohos_moduletest_suite("hilogndktest") {
deps = [ deps = [
"//base/hiviewdfx/hilog/frameworks/hilog_ndk:hilog_ndk", "//base/hiviewdfx/hilog/frameworks/hilog_ndk:hilog_ndk",
"//base/hiviewdfx/hilog/interfaces/native/kits:libhilog_ndk", "//base/hiviewdfx/hilog/interfaces/native/kits:libhilog_ndk",
"//utils/native/base:utils",
"//third_party/googletest:gtest_main", "//third_party/googletest:gtest_main",
"//utils/native/base:utils",
] ]
configs = [ ":hilogndktest_config" ] configs = [ ":hilogndktest_config" ]
} }
...@@ -30,9 +30,10 @@ ohos_js_hap_suite("ActsHiSysEventJsTest") { ...@@ -30,9 +30,10 @@ ohos_js_hap_suite("ActsHiSysEventJsTest") {
# subsystem_name = "xts" # subsystem_name = "xts"
} }
ohos_js_assets("hisysevent_js_assets") { ohos_js_assets("hisysevent_js_assets") {
js2abc=true js2abc = true
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
source_dir = "./src/main/js"} source_dir = "./src/main/js"
}
ohos_resources("hisysevent_resources") { ohos_resources("hisysevent_resources") {
sources = [ "./src/main/resources" ] sources = [ "./src/main/resources" ]
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
......
...@@ -23,9 +23,10 @@ ohos_js_hap_suite("ActsHiTraceChainJsTest") { ...@@ -23,9 +23,10 @@ ohos_js_hap_suite("ActsHiTraceChainJsTest") {
hap_name = "ActsHiTraceChainJsTest" hap_name = "ActsHiTraceChainJsTest"
} }
ohos_js_assets("hitrace_js_assets") { ohos_js_assets("hitrace_js_assets") {
js2abc=true js2abc = true
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
source_dir = "./src/main/js"} source_dir = "./src/main/js"
}
ohos_resources("hitrace_resources") { ohos_resources("hitrace_resources") {
sources = [ "./src/main/resources" ] sources = [ "./src/main/resources" ]
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册