-
-
\ No newline at end of file
diff --git a/notification/ans_standard/publish_test/subscribe/subsystem/.idea/jarRepositories.xml b/notification/ans_standard/publish_test/subscribe/subsystem/.idea/jarRepositories.xml
deleted file mode 100644
index aa00d771aa98b60cc8db06b5e24919c06b208cda..0000000000000000000000000000000000000000
--- a/notification/ans_standard/publish_test/subscribe/subsystem/.idea/jarRepositories.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/notification/ans_standard/publish_test/subscribe/subsystem/.idea/misc.xml b/notification/ans_standard/publish_test/subscribe/subsystem/.idea/misc.xml
deleted file mode 100644
index 9883d055f8725da2d0f5c1cecc525b815e5dfcec..0000000000000000000000000000000000000000
--- a/notification/ans_standard/publish_test/subscribe/subsystem/.idea/misc.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/notification/ans_standard/publish_test/subscribe/subsystem/BUILD.gn b/notification/ans_standard/publish_test/subscribe/subsystem/BUILD.gn
deleted file mode 100644
index dd614deba9822d1b6cdc66b7432c7a8c84f7ac1b..0000000000000000000000000000000000000000
--- a/notification/ans_standard/publish_test/subscribe/subsystem/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("ActsAnsSubSystemTest") {
- hap_profile = "./entry/src/main/config.json"
- deps = [
- ":hjs_demo_js_assets",
- ":hjs_demo_resources",
- ]
- certificate_profile = "./signature/openharmony_sx.p7b"
- hap_name = "ActsAnsSubSystemTest"
-}
-ohos_js_assets("hjs_demo_js_assets") {
- source_dir = "./entry/src/main/js/default"
-}
-ohos_resources("hjs_demo_resources") {
- sources = [ "./entry/src/main/js/resources" ]
- hap_profile = "./entry/src/main/config.json"
-}
diff --git a/notification/ans_standard/publish_test/subscribe/subsystem/Test.json b/notification/ans_standard/publish_test/subscribe/subsystem/Test.json
deleted file mode 100644
index a071fd38bdcd14359a9935ef50d98d056ef5ac4f..0000000000000000000000000000000000000000
--- a/notification/ans_standard/publish_test/subscribe/subsystem/Test.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "description": "Configuration for hjunit demo Tests",
- "driver": {
- "type": "JSUnitTest",
- "test-timeout": "60000",
- "package": "com.example.actsanssubsystemtest",
- "shell-timeout": "60000"
- },
- "kits": [
- {
- "test-file-name": [
- "ActsAnsSubSystemTest.hap"
- ],
- "type": "AppInstallKit",
- "cleanup-apps": true
- }
- ]
-}
diff --git a/notification/ans_standard/publish_test/subscribe/subsystem/entry/.gitignore b/notification/ans_standard/publish_test/subscribe/subsystem/entry/.gitignore
deleted file mode 100644
index 3543521e9fef8e7322940a87c2b45dd0061b0f45..0000000000000000000000000000000000000000
--- a/notification/ans_standard/publish_test/subscribe/subsystem/entry/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/build
diff --git a/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/config.json b/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/config.json
deleted file mode 100644
index ba837a9f0b2e58ed06acbb7a1a2d1c363f90e328..0000000000000000000000000000000000000000
--- a/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/config.json
+++ /dev/null
@@ -1,62 +0,0 @@
-{
- "app": {
- "bundleName": "com.example.actsanssubsystemtest",
- "vendor": "example",
- "version": {
- "code": 1,
- "name": "1.0"
- },
- "apiVersion": {
- "compatible": 5,
- "target": 5,
- "releaseType": "Beta1"
- }
- },
- "deviceConfig": {},
- "module": {
- "package": "com.example.actsanssubsystemtest",
- "name": ".MyApplication",
- "deviceType": [
- "phone"
- ],
- "distro": {
- "deliveryWithInstall": true,
- "moduleName": "entry",
- "moduleType": "entry"
- },
- "abilities": [
- {
- "skills": [
- {
- "entities": [
- "entity.system.home"
- ],
- "actions": [
- "action.system.home"
- ]
- }
- ],
- "name": "com.example.actsanssubsystemtest.MainAbility",
- "icon": "$media:icon",
- "description": "$string:mainability_description",
- "label": "$string:app_name",
- "type": "page",
- "isVisible": "true",
- "launchType": "standard",
- "visible": true
- }
- ],
- "js": [
- {
- "pages": [
- "pages/index/index"
- ],
- "name": "default",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- }
- ]
- }
-}
diff --git a/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/default/app.js b/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/default/app.js
deleted file mode 100644
index 2a68c1992145a976957d7dcdd69a7e9c2e8e9877..0000000000000000000000000000000000000000
--- a/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/default/app.js
+++ /dev/null
@@ -1,22 +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/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/default/i18n/en-US.json b/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/default/i18n/en-US.json
deleted file mode 100644
index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000
--- a/notification/ans_standard/publish_test/subscribe/subsystem/entry/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/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/default/i18n/zh-CN.json b/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/default/i18n/zh-CN.json
deleted file mode 100644
index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000
--- a/notification/ans_standard/publish_test/subscribe/subsystem/entry/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/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/default/pages/index/index.css b/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/default/pages/index/index.css
deleted file mode 100644
index 6fda792753f2e15f22b529c7b90a82185b2770bf..0000000000000000000000000000000000000000
--- a/notification/ans_standard/publish_test/subscribe/subsystem/entry/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/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/default/pages/index/index.hml b/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/default/pages/index/index.hml
deleted file mode 100644
index e42bdfdd29c1e18681d7f2924d1b98191d47fa4a..0000000000000000000000000000000000000000
--- a/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/default/pages/index/index.hml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- 订阅发布
-
-
diff --git a/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/default/pages/index/index.js b/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/default/pages/index/index.js
deleted file mode 100644
index c3b6a96287aa8ad4c9bf0e44ccba5d69b68ae02c..0000000000000000000000000000000000000000
--- a/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/default/pages/index/index.js
+++ /dev/null
@@ -1,47 +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 file from '@system.file'
-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() {
- console.info('onReady');
- },
-}
diff --git a/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/resources/base/element/string.json b/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/resources/base/element/string.json
deleted file mode 100644
index 30895093f1f793272b0638cbde300dd08dfcf1c0..0000000000000000000000000000000000000000
--- a/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/resources/base/element/string.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "string": [
- {
- "name": "app_name",
- "value": "Subscriber"
- },
- {
- "name": "mainability_description",
- "value": "JS_Phone_Empty Feature Ability"
- }
- ]
-}
\ No newline at end of file
diff --git a/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/resources/base/media/icon.png b/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/resources/base/media/icon.png
deleted file mode 100644
index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000
Binary files a/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/resources/base/media/icon.png and /dev/null differ
diff --git a/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/test/List.test.js b/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/test/List.test.js
deleted file mode 100644
index 41999288d49304127387014dc88894130a148ab4..0000000000000000000000000000000000000000
--- a/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/test/List.test.js
+++ /dev/null
@@ -1,15 +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.
- */
-require('./Subscriber.js')
\ No newline at end of file
diff --git a/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/test/Subscriber.js b/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/test/Subscriber.js
deleted file mode 100644
index 5228d93195c78f474547c7c1c70725b3e07caaa5..0000000000000000000000000000000000000000
--- a/notification/ans_standard/publish_test/subscribe/subsystem/entry/src/main/js/test/Subscriber.js
+++ /dev/null
@@ -1,48 +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 notify from '@ohos.notification'
-import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'
-var time = 1000
-var ERR_ANS_NON_SYSTEM_APP = 67108877
-describe('ActsAnsSubSystemTest', function () {
- console.info("===========ActsAnsSubSystemTest start====================>");
- //subscribeOn
- function subscribeOnCallback(err) {
- console.debug("===>subscribeOnCallback===>");
- expect(err.code).assertEqual(0);
- }
- /*
- * @tc.number: ActsSubscriber_test_1400
- * @tc.name: subscribe()
- * @tc.desc: verify the function of subscribe
- */
- it('ActsSubscriber_test_1500', 0, async function (done) {
- console.debug("===ActsSubscriber_test_1400===begin===>");
-
- var subInfo ={
- onConnect:subscribeOnCallback,
- }
- await notify.subscribe(subInfo, (err)=>{
- console.debug("=====subErrorCode====="+err.code)
- expect(err.code).assertEqual(ERR_ANS_NON_SYSTEM_APP);
- done();
- })
- console.debug("===ActsSubscriber_test_1500===end==>");
- setTimeout(function(){
- console.debug("====>time out ActsSubscriber_test_1500====>");
- }, time);
- })
-})
-
diff --git a/notification/ans_standard/publish_test/subscribe/subsystem/signature/openharmony_sx.p7b b/notification/ans_standard/publish_test/subscribe/subsystem/signature/openharmony_sx.p7b
deleted file mode 100644
index 9be1e98fa4c0c28ca997ed660112fa16b194f0f5..0000000000000000000000000000000000000000
Binary files a/notification/ans_standard/publish_test/subscribe/subsystem/signature/openharmony_sx.p7b and /dev/null differ