提交 f7395a7f 编写于 作者: 高曦

更新杂散定时服务用例

Signed-off-by: N高曦 <gaoxi785@huawei.com>
上级 9ec86d40
...@@ -14,16 +14,8 @@ ...@@ -14,16 +14,8 @@
import("//build/ohos_var.gni") import("//build/ohos_var.gni")
group("miscservices") { group("miscservices") {
testonly = true testonly = true
if (is_standard_system) {
deps = [ "TimeTest_js:time_js_test","TimerTest_js:timer_js_test", ]
} else {
deps = [ deps = [
"DownloadTest:download_hap", "TimeTest_js:time_js_test",
"InputMethodTest:InputMethodTest_hap", "TimerTest_js:timer_js_test",
"pasteboard:testpasteboard_hap",
"screenlock:ScreenLockTest_hap",
"timer:testtimer_hap",
"wallpaper:wallpaperTest_hap",
] ]
}
} }
...@@ -16,16 +16,16 @@ import("//test/xts/tools/build/suite.gni") ...@@ -16,16 +16,16 @@ 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", ":hjs_demo_js_assets",
":time_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsTimeJSApiTest" hap_name = "ActsTimeJSApiTest"
} }
ohos_js_assets("time_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
} }
ohos_resources("time_resources") { ohos_resources("hjs_demo_resources") {
sources = [ "./src/main/resources" ] sources = [ "./src/main/resources" ]
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
} }
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
"description": "Configuration for time js api Tests", "description": "Configuration for time js api Tests",
"driver": { "driver": {
"type": "JSUnitTest", "type": "JSUnitTest",
"test-timeout": "60000", "test-timeout": "600000",
"package": "ohos.acts.miscservices.timer", "package": "ohos.acts.miscservices.timer",
"shell-timeout": "60000" "shell-timeout": "600000"
}, },
"kits": [ "kits": [
{ {
......
...@@ -13,5 +13,4 @@ ...@@ -13,5 +13,4 @@
* limitations under the License. * limitations under the License.
*/ */
require('./Time.test.js')
require('./SystemTimeJsunit.test.js') require('./SystemTimeJsunit.test.js')
\ No newline at end of file
...@@ -16,16 +16,16 @@ import("//test/xts/tools/build/suite.gni") ...@@ -16,16 +16,16 @@ 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", ":hjs_demo_js_assets",
":time_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsTimerJSApiTest" hap_name = "ActsTimerJSApiTest"
} }
ohos_js_assets("time_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
} }
ohos_resources("time_resources") { ohos_resources("hjs_demo_resources") {
sources = [ "./src/main/resources" ] sources = [ "./src/main/resources" ]
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
} }
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
"description": "Configuration for time js api Tests", "description": "Configuration for time js api Tests",
"driver": { "driver": {
"type": "JSUnitTest", "type": "JSUnitTest",
"test-timeout": "60000", "test-timeout": "600000",
"package": "ohos.acts.miscservices.timer", "package": "ohos.acts.miscservices.timer",
"shell-timeout": "60000" "shell-timeout": "600000"
}, },
"kits": [ "kits": [
{ {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"string": [ "string": [
{ {
"name": "app_name", "name": "app_name",
"value": "JstimeTest" "value": "JstimerTest"
}, },
{ {
"name": "mainability_description", "name": "mainability_description",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册