diff --git a/miscservices/BUILD.gn b/miscservices/BUILD.gn index 06ca24ea3dd731235cb10ad1847ef8dad1d88a5d..a0375357954175ee8ddd76ceddae2c666e724fe7 100755 --- a/miscservices/BUILD.gn +++ b/miscservices/BUILD.gn @@ -15,7 +15,7 @@ import("//build/ohos_var.gni") group("miscservices") { testonly = true if (is_standard_system) { - deps = [ "TimeTest_js:time_js_test" ] + deps = [ "TimeTest_js:time_js_test","TimerTest_js:timer_js_test", ] } else { deps = [ "DownloadTest:download_hap", diff --git a/miscservices/TimerTest_js/BUILD.gn b/miscservices/TimerTest_js/BUILD.gn index 2f840116147d89d37192b0cdf6f1654071c5fa84..cf3a39566b914e1aaef6738b735e5ce8b9c3acd5 100644 --- a/miscservices/TimerTest_js/BUILD.gn +++ b/miscservices/TimerTest_js/BUILD.gn @@ -20,7 +20,7 @@ ohos_js_hap_suite("timer_js_test") { ":time_resources", ] certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "ActsTimeJSApiTest" + hap_name = "ActsTimerJSApiTest" } ohos_js_assets("time_js_assets") { source_dir = "./src/main/js/default" diff --git a/miscservices/TimerTest_js/Test.json b/miscservices/TimerTest_js/Test.json index 0ddfb93bc65d11a3972c78edfd99fb8553a0e410..65832f795bd143f5dfe3c58b4fbeff3c2dd02f0d 100644 --- a/miscservices/TimerTest_js/Test.json +++ b/miscservices/TimerTest_js/Test.json @@ -9,7 +9,7 @@ "kits": [ { "test-file-name": [ - "ActsTimeJSApiTest.hap" + "ActsTimerJSApiTest.hap" ], "type": "AppInstallKit", "cleanup-apps": true diff --git a/miscservices/TimerTest_js/src/main/js/default/test/SystemTimerJsunit.test.js b/miscservices/TimerTest_js/src/main/js/default/test/SystemTimerJsunit.test.js index a83bd287c8cd4e83daf7fc495d0e2dc5e1f7602e..1afc3372019f3efb3bb457a7f335f1f8cfb2e6e1 100644 --- a/miscservices/TimerTest_js/src/main/js/default/test/SystemTimerJsunit.test.js +++ b/miscservices/TimerTest_js/src/main/js/default/test/SystemTimerJsunit.test.js @@ -964,7 +964,7 @@ describe('TimerTest', function() { console.log('SUB_systemTimer_Timer_JS_API_2800 end'); }); -#if 0 + /** * @tc.number SUB_systemTimer_Timer_JS_API_2900 * @tc.name Test systemTimer.Timer type = TIMER_TYPE_IDLE @@ -997,7 +997,7 @@ describe('TimerTest', function() { expect(destroyTimerRes).assertEqual(true) console.log('SUB_systemTimer_Timer_JS_API_2900 end'); }); -#endif + /** * @tc.number SUB_systemTimer_Timer_JS_API_3000