diff --git a/resourceschedule/resourceschedule_standard/BUILD.gn b/resourceschedule/resourceschedule_standard/BUILD.gn index 98e9ed0e84967fcba29386e0e323d6641795a956..1eda079292fd21d227769f26c35abdeea0273572 100644 --- a/resourceschedule/resourceschedule_standard/BUILD.gn +++ b/resourceschedule/resourceschedule_standard/BUILD.gn @@ -19,8 +19,7 @@ group("resourceschedule_standard") { deps = [ "backgroundtaskmanager:resourceschedule_backgroundtaskmanager_js_test", "deviceusagestatisticsjsunit:resourceschedule_deviceusagestatisticsjsunit_js_test", - "reminderagent:resourceschedule_reminderagent_js_test", - "workscheduler:resourceschedule_workscheduler_js_test", + "reminderagent:resourceschedule_reminderagent_js_test" ] } } diff --git a/resourceschedule/resourceschedule_standard/workscheduler/BUILD.gn b/resourceschedule/resourceschedule_standard/workscheduler/BUILD.gn deleted file mode 100644 index bf4768981b1a655adb4b0fab2e4cc52a94152623..0000000000000000000000000000000000000000 --- a/resourceschedule/resourceschedule_standard/workscheduler/BUILD.gn +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (C) 2021 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import("//test/xts/tools/build/suite.gni") - -ohos_js_hap_suite("resourceschedule_workscheduler_js_test") { - hap_profile = "./src/main/config.json" - deps = [ - ":resourceschedule_js_assets", - ":resourceschedule_js_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "ActsResourcescheduleWorkSchedulerTest" -} -ohos_js_assets("resourceschedule_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("resourceschedule_js_resources") { - sources = [ "./src/main/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/resourceschedule/resourceschedule_standard/workscheduler/Test.json b/resourceschedule/resourceschedule_standard/workscheduler/Test.json deleted file mode 100644 index 77338dc7860cc8a12dbdb8ed0a0d79449c227207..0000000000000000000000000000000000000000 --- a/resourceschedule/resourceschedule_standard/workscheduler/Test.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "description": "Configuration for resourceschedule js api Tests", - "driver": { - "type": "JSUnitTest", - "test-timeout": "300000", - "package": "ohos.acts.resourceschedule.workscheduler.js.function", - "shell-timeout": "60000" - }, - "kits": [ - { - "test-file-name": [ - "ActsResourcescheduleWorkSchedulerTest.hap" - ], - "type": "AppInstallKit", - "cleanup-apps": true - } - ] -} diff --git a/resourceschedule/resourceschedule_standard/workscheduler/signature/openharmony_sx.p7b b/resourceschedule/resourceschedule_standard/workscheduler/signature/openharmony_sx.p7b deleted file mode 100644 index 9be1e98fa4c0c28ca997ed660112fa16b194f0f5..0000000000000000000000000000000000000000 Binary files a/resourceschedule/resourceschedule_standard/workscheduler/signature/openharmony_sx.p7b and /dev/null differ diff --git a/resourceschedule/resourceschedule_standard/workscheduler/src/main/config.json b/resourceschedule/resourceschedule_standard/workscheduler/src/main/config.json deleted file mode 100644 index a584f7a59febec4c8ae01d7dd2af34bc61229e50..0000000000000000000000000000000000000000 --- a/resourceschedule/resourceschedule_standard/workscheduler/src/main/config.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "app": { - "bundleName": "ohos.acts.resourceschedule.workscheduler.js.function", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5 - } - }, - "deviceConfig": {}, - "module": { - "package": "ohos.acts.resourceschedule.workscheduler.js.function", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry" - }, - "abilities": [ - { - "visible": true, - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "name": "ohos.acts.resourceschedule.workscheduler.js.function.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "launchType": "standard" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} diff --git a/resourceschedule/resourceschedule_standard/workscheduler/src/main/js/default/app.js b/resourceschedule/resourceschedule_standard/workscheduler/src/main/js/default/app.js deleted file mode 100644 index e423f4bce4698ec1d7dc86c3eea3990a5e7b1085..0000000000000000000000000000000000000000 --- a/resourceschedule/resourceschedule_standard/workscheduler/src/main/js/default/app.js +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2021 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export default { - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/resourceschedule/resourceschedule_standard/workscheduler/src/main/js/default/i18n/en-US.json b/resourceschedule/resourceschedule_standard/workscheduler/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000 --- a/resourceschedule/resourceschedule_standard/workscheduler/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/resourceschedule/resourceschedule_standard/workscheduler/src/main/js/default/i18n/zh-CN.json b/resourceschedule/resourceschedule_standard/workscheduler/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000 --- a/resourceschedule/resourceschedule_standard/workscheduler/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/resourceschedule/resourceschedule_standard/workscheduler/src/main/js/default/pages/index/index.css b/resourceschedule/resourceschedule_standard/workscheduler/src/main/js/default/pages/index/index.css deleted file mode 100644 index 6fda792753f2e15f22b529c7b90a82185b2770bf..0000000000000000000000000000000000000000 --- a/resourceschedule/resourceschedule_standard/workscheduler/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,9 +0,0 @@ -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/resourceschedule/resourceschedule_standard/workscheduler/src/main/js/default/pages/index/index.hml b/resourceschedule/resourceschedule_standard/workscheduler/src/main/js/default/pages/index/index.hml deleted file mode 100644 index f64b040a5ae394dbaa5e185e1ecd4f4556b92184..0000000000000000000000000000000000000000 --- a/resourceschedule/resourceschedule_standard/workscheduler/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,5 +0,0 @@ -