diff --git a/resourceschedule/BUILD.gn b/resourceschedule/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..034bdd337092acc41b0f56fea9206a346adbd4ff
--- /dev/null
+++ b/resourceschedule/BUILD.gn
@@ -0,0 +1,21 @@
+# 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("//build/ohos_var.gni")
+
+group("resourceschedule") {
+ testonly = true
+ if (is_standard_system) {
+ deps = [ "resourceschedule_standard:resourceschedule_standard" ]
+ }
+}
diff --git a/resourceschedule/resourceschedule_standard/BUILD.gn b/resourceschedule/resourceschedule_standard/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..44d0f78e3db5749fc951f9be36738440d93bffab
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/BUILD.gn
@@ -0,0 +1,24 @@
+# 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("//build/ohos_var.gni")
+
+group("resourceschedule_standard") {
+ testonly = true
+ if (is_standard_system) {
+ deps = [
+ "backgroundtaskmanager:resourceschedule_backgroundtaskmanager_js_test",
+ "reminderagent:resourceschedule_reminderagent_js_test",
+ ]
+ }
+}
diff --git a/resourceschedule/resourceschedule_standard/backgroundtaskmanager/BUILD.gn b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..9c01376d5b75272594a5ccb4a94963d3b9cd10d2
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/BUILD.gn
@@ -0,0 +1,31 @@
+# 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_backgroundtaskmanager_js_test") {
+ hap_profile = "./src/main/config.json"
+ deps = [
+ ":resourceschedule_js_assets",
+ ":resourceschedule_js_resources",
+ ]
+ certificate_profile = "./signature/openharmony_sx.p7b"
+ hap_name = "ActsResourcescheduleTaskMgrTest"
+}
+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/backgroundtaskmanager/Test.json b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/Test.json
new file mode 100644
index 0000000000000000000000000000000000000000..e22867d19e831a6e5bea9bbefd57b30d767a8300
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/Test.json
@@ -0,0 +1,18 @@
+{
+ "description": "Configuration for resourceschedule js api Tests",
+ "driver": {
+ "type": "JSUnitTest",
+ "test-timeout": "300000",
+ "package": "ohos.acts.resourceschedule.taskmgr.js.function",
+ "shell-timeout": "60000"
+ },
+ "kits": [
+ {
+ "test-file-name": [
+ "ActsResourcescheduleTaskMgrTest.hap"
+ ],
+ "type": "AppInstallKit",
+ "cleanup-apps": true
+ }
+ ]
+}
diff --git a/resourceschedule/resourceschedule_standard/backgroundtaskmanager/signature/openharmony_sx.p7b b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/signature/openharmony_sx.p7b
new file mode 100644
index 0000000000000000000000000000000000000000..9be1e98fa4c0c28ca997ed660112fa16b194f0f5
Binary files /dev/null and b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/signature/openharmony_sx.p7b differ
diff --git a/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/config.json b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/config.json
new file mode 100644
index 0000000000000000000000000000000000000000..4bfcac71cca3b710c269f57894d1628a0346c40a
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/config.json
@@ -0,0 +1,60 @@
+{
+ "app": {
+ "bundleName": "ohos.acts.resourceschedule.taskmgr.js.function",
+ "vendor": "example",
+ "version": {
+ "code": 1,
+ "name": "1.0"
+ },
+ "apiVersion": {
+ "compatible": 4,
+ "target": 5
+ }
+ },
+ "deviceConfig": {},
+ "module": {
+ "package": "ohos.acts.resourceschedule.taskmgr.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.taskmgr.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/backgroundtaskmanager/src/main/js/default/app.js b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/app.js
new file mode 100644
index 0000000000000000000000000000000000000000..e423f4bce4698ec1d7dc86c3eea3990a5e7b1085
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/app.js
@@ -0,0 +1,23 @@
+/*
+ * 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/backgroundtaskmanager/src/main/js/default/i18n/en-US.json b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/i18n/en-US.json
new file mode 100644
index 0000000000000000000000000000000000000000..e63c70d978a3a53be988388c87182f81785e170c
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/i18n/en-US.json
@@ -0,0 +1,6 @@
+{
+ "strings": {
+ "hello": "Hello",
+ "world": "World"
+ }
+}
\ No newline at end of file
diff --git a/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/i18n/zh-CN.json b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/i18n/zh-CN.json
new file mode 100644
index 0000000000000000000000000000000000000000..de6ee5748322f44942c1b003319d8e66c837675f
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/i18n/zh-CN.json
@@ -0,0 +1,6 @@
+{
+ "strings": {
+ "hello": "您好",
+ "world": "世界"
+ }
+}
\ No newline at end of file
diff --git a/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/pages/index/index.css b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/pages/index/index.css
new file mode 100644
index 0000000000000000000000000000000000000000..6fda792753f2e15f22b529c7b90a82185b2770bf
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/pages/index/index.css
@@ -0,0 +1,9 @@
+.container {
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+}
+
+.title {
+ font-size: 100px;
+}
diff --git a/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/pages/index/index.hml b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/pages/index/index.hml
new file mode 100644
index 0000000000000000000000000000000000000000..f64b040a5ae394dbaa5e185e1ecd4f4556b92184
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/pages/index/index.hml
@@ -0,0 +1,5 @@
+
+
+ {{ $t('strings.hello') }} {{ title }}
+
+
diff --git a/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/pages/index/index.js b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/pages/index/index.js
new file mode 100644
index 0000000000000000000000000000000000000000..0c564bb030d56eb17a14063cee23df41abced5ba
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/pages/index/index.js
@@ -0,0 +1,45 @@
+/*
+ * 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 {Core, ExpectExtend} from 'deccjsunit/index'
+
+const injectRef = Object.getPrototypeOf(global) || global
+injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
+
+export default {
+ data: {
+ title: ""
+ },
+ onInit() {
+ this.title = this.$t('strings.world');
+ },
+ onShow() {
+ console.info('onShow finish')
+ const core = Core.getInstance()
+ const expectExtend = new ExpectExtend({
+ 'id': 'extend'
+ })
+ core.addService('expect', expectExtend)
+ core.init()
+
+ const configService = core.getDefaultService('config')
+ configService.setConfig(this)
+
+ require('../../test/List.test')
+ core.execute()
+ },
+ onReady() {
+ },
+}
diff --git a/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/test/BackgroundTaskMagrJs.test.js b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/test/BackgroundTaskMagrJs.test.js
new file mode 100644
index 0000000000000000000000000000000000000000..a77c187f25b9f7c3fbbfa4a190899a4e452b00a2
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/test/BackgroundTaskMagrJs.test.js
@@ -0,0 +1,62 @@
+/*
+ * Copyright (C) 2022 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 backgroundTaskManager from '@ohos.backgroundTaskManager'
+
+import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'
+
+describe("TransientTaskJsTest", function () {
+ beforeAll(function() {
+
+ /*
+ * @tc.setup: setup invoked before all testcases
+ */
+ console.info('beforeAll caled')
+ })
+
+ afterAll(function() {
+
+ /*
+ * @tc.teardown: teardown invoked after all testcases
+ */
+ console.info('afterAll caled')
+ })
+
+ beforeEach(function() {
+
+ /*
+ * @tc.setup: setup invoked before each testcases
+ */
+ console.info('beforeEach caled')
+ })
+
+ afterEach(function() {
+
+ /*
+ * @tc.teardown: teardown invoked after each testcases
+ */
+ console.info('afterEach caled')
+ })
+
+ /*
+ * @tc.name:TransientTaskJsTest001
+ * @tc.desc:verify app info is not null
+ * @tc.type: FUNC
+ * @tc.require: Issue Number
+ */
+ it("TransientTaskJsTest001", 0, function () {
+ expect(true).assertTrue();
+ })
+
+})
diff --git a/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/test/List.test.js b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/test/List.test.js
new file mode 100644
index 0000000000000000000000000000000000000000..4f9eddaf490c96e23597fee1833b8aa8130a3935
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/test/List.test.js
@@ -0,0 +1,20 @@
+/*
+ * 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.
+ */
+
+require('./BackgroundTaskMagrJs.test.js')
+
+
+
+
diff --git a/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/resources/base/element/string.json b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/resources/base/element/string.json
new file mode 100644
index 0000000000000000000000000000000000000000..9704818460bd1101c3343815f4c53b4750198c65
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/resources/base/element/string.json
@@ -0,0 +1,12 @@
+{
+ "string": [
+ {
+ "name": "app_name",
+ "value": "ResourcescheduleJSApiTest"
+ },
+ {
+ "name": "mainability_description",
+ "value": "JS_Phone_Empty Feature Ability"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/resources/base/media/icon.png b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/resources/base/media/icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..ce307a8827bd75456441ceb57d530e4c8d45d36c
Binary files /dev/null and b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/resources/base/media/icon.png differ
diff --git a/resourceschedule/resourceschedule_standard/reminderagent/BUILD.gn b/resourceschedule/resourceschedule_standard/reminderagent/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..d6259a3e63beaf7f24cbdedcbe884bc1005fe8c3
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/reminderagent/BUILD.gn
@@ -0,0 +1,31 @@
+# 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_reminderagent_js_test") {
+ hap_profile = "./src/main/config.json"
+ deps = [
+ ":resourceschedule_js_assets",
+ ":resourceschedule_js_resources",
+ ]
+ certificate_profile = "./signature/openharmony_sx.p7b"
+ hap_name = "ActsResourcescheduleReminderAgentTest"
+}
+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/reminderagent/Test.json b/resourceschedule/resourceschedule_standard/reminderagent/Test.json
new file mode 100644
index 0000000000000000000000000000000000000000..396326d7495211189e0a3f5ac097a9e5dbac165f
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/reminderagent/Test.json
@@ -0,0 +1,18 @@
+{
+ "description": "Configuration for resourceschedule js api Tests",
+ "driver": {
+ "type": "JSUnitTest",
+ "test-timeout": "300000",
+ "package": "ohos.acts.resourceschedule.reminderagentjs.function",
+ "shell-timeout": "60000"
+ },
+ "kits": [
+ {
+ "test-file-name": [
+ "ActsResourcescheduleReminderAgentTest.hap"
+ ],
+ "type": "AppInstallKit",
+ "cleanup-apps": true
+ }
+ ]
+}
diff --git a/resourceschedule/resourceschedule_standard/reminderagent/signature/openharmony_sx.p7b b/resourceschedule/resourceschedule_standard/reminderagent/signature/openharmony_sx.p7b
new file mode 100644
index 0000000000000000000000000000000000000000..9be1e98fa4c0c28ca997ed660112fa16b194f0f5
Binary files /dev/null and b/resourceschedule/resourceschedule_standard/reminderagent/signature/openharmony_sx.p7b differ
diff --git a/resourceschedule/resourceschedule_standard/reminderagent/src/main/config.json b/resourceschedule/resourceschedule_standard/reminderagent/src/main/config.json
new file mode 100644
index 0000000000000000000000000000000000000000..1c063ee9aed873b3b8917cad8bf39f8978ca9321
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/reminderagent/src/main/config.json
@@ -0,0 +1,60 @@
+{
+ "app": {
+ "bundleName": "ohos.acts.resourceschedule.reminderagentjs.function",
+ "vendor": "example",
+ "version": {
+ "code": 1,
+ "name": "1.0"
+ },
+ "apiVersion": {
+ "compatible": 4,
+ "target": 5
+ }
+ },
+ "deviceConfig": {},
+ "module": {
+ "package": "ohos.acts.resourceschedule.reminderagentjs.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.reminderagentjs.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/reminderagent/src/main/js/default/app.js b/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/app.js
new file mode 100644
index 0000000000000000000000000000000000000000..e423f4bce4698ec1d7dc86c3eea3990a5e7b1085
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/app.js
@@ -0,0 +1,23 @@
+/*
+ * 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/reminderagent/src/main/js/default/i18n/en-US.json b/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/i18n/en-US.json
new file mode 100644
index 0000000000000000000000000000000000000000..e63c70d978a3a53be988388c87182f81785e170c
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/i18n/en-US.json
@@ -0,0 +1,6 @@
+{
+ "strings": {
+ "hello": "Hello",
+ "world": "World"
+ }
+}
\ No newline at end of file
diff --git a/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/i18n/zh-CN.json b/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/i18n/zh-CN.json
new file mode 100644
index 0000000000000000000000000000000000000000..de6ee5748322f44942c1b003319d8e66c837675f
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/i18n/zh-CN.json
@@ -0,0 +1,6 @@
+{
+ "strings": {
+ "hello": "您好",
+ "world": "世界"
+ }
+}
\ No newline at end of file
diff --git a/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/pages/index/index.css b/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/pages/index/index.css
new file mode 100644
index 0000000000000000000000000000000000000000..6fda792753f2e15f22b529c7b90a82185b2770bf
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/pages/index/index.css
@@ -0,0 +1,9 @@
+.container {
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+}
+
+.title {
+ font-size: 100px;
+}
diff --git a/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/pages/index/index.hml b/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/pages/index/index.hml
new file mode 100644
index 0000000000000000000000000000000000000000..f64b040a5ae394dbaa5e185e1ecd4f4556b92184
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/pages/index/index.hml
@@ -0,0 +1,5 @@
+
+
+ {{ $t('strings.hello') }} {{ title }}
+
+
diff --git a/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/pages/index/index.js b/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/pages/index/index.js
new file mode 100644
index 0000000000000000000000000000000000000000..0c564bb030d56eb17a14063cee23df41abced5ba
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/pages/index/index.js
@@ -0,0 +1,45 @@
+/*
+ * 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 {Core, ExpectExtend} from 'deccjsunit/index'
+
+const injectRef = Object.getPrototypeOf(global) || global
+injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
+
+export default {
+ data: {
+ title: ""
+ },
+ onInit() {
+ this.title = this.$t('strings.world');
+ },
+ onShow() {
+ console.info('onShow finish')
+ const core = Core.getInstance()
+ const expectExtend = new ExpectExtend({
+ 'id': 'extend'
+ })
+ core.addService('expect', expectExtend)
+ core.init()
+
+ const configService = core.getDefaultService('config')
+ configService.setConfig(this)
+
+ require('../../test/List.test')
+ core.execute()
+ },
+ onReady() {
+ },
+}
diff --git a/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/test/List.test.js b/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/test/List.test.js
new file mode 100644
index 0000000000000000000000000000000000000000..e65986bd76116067992502f5afafebcd01891382
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/test/List.test.js
@@ -0,0 +1,20 @@
+/*
+ * 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.
+ */
+
+require('./ReminderAgentJs.test.js')
+
+
+
+
diff --git a/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/test/ReminderAgentJs.test.js b/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/test/ReminderAgentJs.test.js
new file mode 100644
index 0000000000000000000000000000000000000000..3284b65d6b5b28749cad32d91e5b63cb9b1bbec1
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/test/ReminderAgentJs.test.js
@@ -0,0 +1,83 @@
+/*
+ * 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.
+ */
+
+// @ts-nocheck
+import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
+import deviceinfo from '@ohos.deviceInfo'
+
+describe('ReminderAgentTest', function () {
+
+ const MAX_CHARACTERS_NUM_ONE = 33;
+ const MAX_CHARACTERS_NUM_TWO = 65;
+ const MAX_CHARACTERS_NUM = 0;
+
+ beforeAll(function() {
+
+ /*
+ * @tc.setup: setup invoked before all testcases
+ */
+ console.info('beforeAll caled')
+})
+
+afterAll(function() {
+
+ /*
+ * @tc.teardown: teardown invoked after all testcases
+ */
+ console.info('afterAll caled')
+})
+
+beforeEach(function() {
+
+ /*
+ * @tc.setup: setup invoked before each testcases
+ */
+ console.info('beforeEach caled')
+})
+
+afterEach(function() {
+
+ /*
+ * @tc.teardown: teardown invoked after each testcases
+ */
+ console.info('afterEach caled')
+})
+
+ console.info('start################################start');
+
+ /**
+ * @tc.number SUB_STARTUP_JS_DEVCEINFO_0100
+ * @tc.name testGetDeviceType01
+ * @tc.desc Get a string representing the device type.
+ * @tc.size : MEDIUM
+ * @tc.type : Function
+ * @tc.level : Level 0
+ */
+ it('device_info_test_001', 0, function () {
+ console.info('device_info_test_001 start');
+ let ret = false;
+ let deviceTypeInfo = deviceinfo.deviceType;
+ console.info('the value of the deviceType is :' + deviceTypeInfo);
+
+ expect(deviceTypeInfo).assertInstanceOf('String');
+ if (deviceTypeInfo != "" && deviceTypeInfo != null && deviceTypeInfo != undefined) {
+ ret = true;
+ }
+ expect(ret).assertTrue()
+ console.info('device_info_test_001 : end');
+ })
+})
+
+
diff --git a/resourceschedule/resourceschedule_standard/reminderagent/src/main/resources/base/element/string.json b/resourceschedule/resourceschedule_standard/reminderagent/src/main/resources/base/element/string.json
new file mode 100644
index 0000000000000000000000000000000000000000..9704818460bd1101c3343815f4c53b4750198c65
--- /dev/null
+++ b/resourceschedule/resourceschedule_standard/reminderagent/src/main/resources/base/element/string.json
@@ -0,0 +1,12 @@
+{
+ "string": [
+ {
+ "name": "app_name",
+ "value": "ResourcescheduleJSApiTest"
+ },
+ {
+ "name": "mainability_description",
+ "value": "JS_Phone_Empty Feature Ability"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/resourceschedule/resourceschedule_standard/reminderagent/src/main/resources/base/media/icon.png b/resourceschedule/resourceschedule_standard/reminderagent/src/main/resources/base/media/icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..ce307a8827bd75456441ceb57d530e4c8d45d36c
Binary files /dev/null and b/resourceschedule/resourceschedule_standard/reminderagent/src/main/resources/base/media/icon.png differ
diff --git a/test_packages.gni b/test_packages.gni
index f9d76ff117021ac09a307dabba6e36604faa9072..5a6508fdce968e1fdd5910da1cd89a4f68d2f5b3 100755
--- a/test_packages.gni
+++ b/test_packages.gni
@@ -35,6 +35,7 @@ _all_test_packages = [
"${ACTS_ROOT}/compileruntime:compileruntime",
"${ACTS_ROOT}/usb:usb",
"${ACTS_ROOT}/multimodalinput:multimodalinput",
+ "${ACTS_ROOT}/resourceschedule:resourceschedule",
]
_all_test_packages_ivi = [