From 678d5c9ea5f5ed875ec50a6eabe6ac319ea92df7 Mon Sep 17 00:00:00 2001 From: fjr Date: Wed, 29 Jun 2022 20:31:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E5=92=8CcommonEvent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fjr --- .../activebutton/entry/src/main/js/test/ActiveButton.js | 1 - .../getwantagentinfo/entry/src/main/js/test/WantAgent.test.js | 1 - .../publishtype/entry/src/main/js/test/ExampleJsunit.test.js | 2 +- .../publishcontentype/sub/entry/src/main/js/test/Subscriber.js | 2 +- .../wantagent1/entry/src/main/js/test/WantAgent.test.js | 1 - .../wantagent1promise/entry/src/main/js/test/WantAgent.test.js | 1 - .../wantagent2/entry/src/main/js/test/WantAgent.test.js | 1 - .../wantagent2promise/entry/src/main/js/test/WantAgent.test.js | 1 - .../wantagent3/entry/src/main/js/test/WantAgent.test.js | 1 - .../wantagent3promise/entry/src/main/js/test/WantAgent.test.js | 1 - .../wantagent4/entry/src/main/js/test/WantAgent.test.js | 1 - .../wantagent4promise/entry/src/main/js/test/WantAgent.test.js | 1 - .../wantagent5/entry/src/main/js/test/WantAgent.test.js | 1 - .../wantagent5promise/entry/src/main/js/test/WantAgent.test.js | 1 - 14 files changed, 2 insertions(+), 14 deletions(-) diff --git a/notification/ans_standard/publish_test/activebtn/activebutton/entry/src/main/js/test/ActiveButton.js b/notification/ans_standard/publish_test/activebtn/activebutton/entry/src/main/js/test/ActiveButton.js index 4c4416ecb..df6f3be08 100644 --- a/notification/ans_standard/publish_test/activebtn/activebutton/entry/src/main/js/test/ActiveButton.js +++ b/notification/ans_standard/publish_test/activebtn/activebutton/entry/src/main/js/test/ActiveButton.js @@ -14,7 +14,6 @@ */ import notify from '@ohos.notification' import WantAgent from '@ohos.wantAgent' -//import { OperationType, WantAgentFlags } from '@ohos.wantagent' import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index' describe('ActsAnsActionButtonTest', function () { diff --git a/notification/ans_standard/publish_test/getwantagentinfo/entry/src/main/js/test/WantAgent.test.js b/notification/ans_standard/publish_test/getwantagentinfo/entry/src/main/js/test/WantAgent.test.js index 7665e81a8..98691978a 100644 --- a/notification/ans_standard/publish_test/getwantagentinfo/entry/src/main/js/test/WantAgent.test.js +++ b/notification/ans_standard/publish_test/getwantagentinfo/entry/src/main/js/test/WantAgent.test.js @@ -14,7 +14,6 @@ */ import wantAgent from '@ohos.wantAgent'; -//import { OperationType, WantAgentFlags } from '@ohos.wantagent'; import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'; diff --git a/notification/ans_standard/publish_test/publishcontentype/publishtype/entry/src/main/js/test/ExampleJsunit.test.js b/notification/ans_standard/publish_test/publishcontentype/publishtype/entry/src/main/js/test/ExampleJsunit.test.js index 71a6a2869..6fe34ca08 100644 --- a/notification/ans_standard/publish_test/publishcontentype/publishtype/entry/src/main/js/test/ExampleJsunit.test.js +++ b/notification/ans_standard/publish_test/publishcontentype/publishtype/entry/src/main/js/test/ExampleJsunit.test.js @@ -13,7 +13,7 @@ * limitations under the License. */ import notification from '@ohos.notification' -import Subscriber from '@ohos.commonevent' +import Subscriber from '@ohos.commonEvent' import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index' var time = 5000 var multiLineDataOne diff --git a/notification/ans_standard/publish_test/publishcontentype/sub/entry/src/main/js/test/Subscriber.js b/notification/ans_standard/publish_test/publishcontentype/sub/entry/src/main/js/test/Subscriber.js index 0fcb7ff1a..c42311360 100644 --- a/notification/ans_standard/publish_test/publishcontentype/sub/entry/src/main/js/test/Subscriber.js +++ b/notification/ans_standard/publish_test/publishcontentype/sub/entry/src/main/js/test/Subscriber.js @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import Subscriber from '@ohos.commonevent' +import Subscriber from '@ohos.commonEvent' import notification from '@ohos.notification' import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index' var multiLineDataOne diff --git a/notification/ans_standard/publish_test/wantagent/wantagent1/entry/src/main/js/test/WantAgent.test.js b/notification/ans_standard/publish_test/wantagent/wantagent1/entry/src/main/js/test/WantAgent.test.js index d3f86a8e3..f6aecc6b8 100644 --- a/notification/ans_standard/publish_test/wantagent/wantagent1/entry/src/main/js/test/WantAgent.test.js +++ b/notification/ans_standard/publish_test/wantagent/wantagent1/entry/src/main/js/test/WantAgent.test.js @@ -14,7 +14,6 @@ */ import wantAgent from '@ohos.wantAgent'; -//import { OperationType, WantAgentFlags } from '@ohos.wantagent'; import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'; var time = 1000 var WantAgent; diff --git a/notification/ans_standard/publish_test/wantagent/wantagent1promise/entry/src/main/js/test/WantAgent.test.js b/notification/ans_standard/publish_test/wantagent/wantagent1promise/entry/src/main/js/test/WantAgent.test.js index 79c87079e..bb5a095fd 100644 --- a/notification/ans_standard/publish_test/wantagent/wantagent1promise/entry/src/main/js/test/WantAgent.test.js +++ b/notification/ans_standard/publish_test/wantagent/wantagent1promise/entry/src/main/js/test/WantAgent.test.js @@ -14,7 +14,6 @@ */ import wantAgent from '@ohos.wantAgent'; -//import { OperationType, WantAgentFlags } from '@ohos.wantagent'; import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'; var time = 1000 var WantAgent; diff --git a/notification/ans_standard/publish_test/wantagent/wantagent2/entry/src/main/js/test/WantAgent.test.js b/notification/ans_standard/publish_test/wantagent/wantagent2/entry/src/main/js/test/WantAgent.test.js index d98dec110..608a28a1c 100644 --- a/notification/ans_standard/publish_test/wantagent/wantagent2/entry/src/main/js/test/WantAgent.test.js +++ b/notification/ans_standard/publish_test/wantagent/wantagent2/entry/src/main/js/test/WantAgent.test.js @@ -14,7 +14,6 @@ */ import wantAgent from '@ohos.wantAgent'; -//import { OperationType, WantAgentFlags } from '@ohos.wantagent'; import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'; var time = 1000 var WantAgent; diff --git a/notification/ans_standard/publish_test/wantagent/wantagent2promise/entry/src/main/js/test/WantAgent.test.js b/notification/ans_standard/publish_test/wantagent/wantagent2promise/entry/src/main/js/test/WantAgent.test.js index 778cf404d..d4cba6bef 100644 --- a/notification/ans_standard/publish_test/wantagent/wantagent2promise/entry/src/main/js/test/WantAgent.test.js +++ b/notification/ans_standard/publish_test/wantagent/wantagent2promise/entry/src/main/js/test/WantAgent.test.js @@ -14,7 +14,6 @@ */ import wantAgent from '@ohos.wantAgent'; -//import { OperationType, WantAgentFlags } from '@ohos.wantagent'; import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'; var time = 1000 var WantAgent; diff --git a/notification/ans_standard/publish_test/wantagent/wantagent3/entry/src/main/js/test/WantAgent.test.js b/notification/ans_standard/publish_test/wantagent/wantagent3/entry/src/main/js/test/WantAgent.test.js index cc3ee3cc4..518244b19 100644 --- a/notification/ans_standard/publish_test/wantagent/wantagent3/entry/src/main/js/test/WantAgent.test.js +++ b/notification/ans_standard/publish_test/wantagent/wantagent3/entry/src/main/js/test/WantAgent.test.js @@ -14,7 +14,6 @@ */ import wantAgent from '@ohos.wantAgent'; -//import { OperationType, WantAgentFlags } from '@ohos.wantagent'; import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'; var time = 1000 var WantAgent; diff --git a/notification/ans_standard/publish_test/wantagent/wantagent3promise/entry/src/main/js/test/WantAgent.test.js b/notification/ans_standard/publish_test/wantagent/wantagent3promise/entry/src/main/js/test/WantAgent.test.js index 004957a74..f1046c5e4 100644 --- a/notification/ans_standard/publish_test/wantagent/wantagent3promise/entry/src/main/js/test/WantAgent.test.js +++ b/notification/ans_standard/publish_test/wantagent/wantagent3promise/entry/src/main/js/test/WantAgent.test.js @@ -14,7 +14,6 @@ */ import wantAgent from '@ohos.wantAgent'; -//import { OperationType, WantAgentFlags } from '@ohos.wantagent'; import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'; var time = 1000 var WantAgent; diff --git a/notification/ans_standard/publish_test/wantagent/wantagent4/entry/src/main/js/test/WantAgent.test.js b/notification/ans_standard/publish_test/wantagent/wantagent4/entry/src/main/js/test/WantAgent.test.js index 387a60d77..84eda7ad0 100644 --- a/notification/ans_standard/publish_test/wantagent/wantagent4/entry/src/main/js/test/WantAgent.test.js +++ b/notification/ans_standard/publish_test/wantagent/wantagent4/entry/src/main/js/test/WantAgent.test.js @@ -14,7 +14,6 @@ */ import wantAgent from '@ohos.wantAgent'; -//import { OperationType, WantAgentFlags } from '@ohos.wantagent'; import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'; var time = 1000 var WantAgent; diff --git a/notification/ans_standard/publish_test/wantagent/wantagent4promise/entry/src/main/js/test/WantAgent.test.js b/notification/ans_standard/publish_test/wantagent/wantagent4promise/entry/src/main/js/test/WantAgent.test.js index 8bd013f9f..9d2ed2a88 100644 --- a/notification/ans_standard/publish_test/wantagent/wantagent4promise/entry/src/main/js/test/WantAgent.test.js +++ b/notification/ans_standard/publish_test/wantagent/wantagent4promise/entry/src/main/js/test/WantAgent.test.js @@ -14,7 +14,6 @@ */ import wantAgent from '@ohos.wantAgent'; -//import { OperationType, WantAgentFlags } from '@ohos.wantagent'; import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'; var time = 1000 var WantAgent; diff --git a/notification/ans_standard/publish_test/wantagent/wantagent5/entry/src/main/js/test/WantAgent.test.js b/notification/ans_standard/publish_test/wantagent/wantagent5/entry/src/main/js/test/WantAgent.test.js index 14fdc4590..2c4538782 100644 --- a/notification/ans_standard/publish_test/wantagent/wantagent5/entry/src/main/js/test/WantAgent.test.js +++ b/notification/ans_standard/publish_test/wantagent/wantagent5/entry/src/main/js/test/WantAgent.test.js @@ -14,7 +14,6 @@ */ import wantAgent from '@ohos.wantAgent'; -//import { OperationType, WantAgentFlags } from '@ohos.wantagent'; import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'; var time = 1000 var WantAgent; diff --git a/notification/ans_standard/publish_test/wantagent/wantagent5promise/entry/src/main/js/test/WantAgent.test.js b/notification/ans_standard/publish_test/wantagent/wantagent5promise/entry/src/main/js/test/WantAgent.test.js index 8c3ea2da0..d55e44191 100644 --- a/notification/ans_standard/publish_test/wantagent/wantagent5promise/entry/src/main/js/test/WantAgent.test.js +++ b/notification/ans_standard/publish_test/wantagent/wantagent5promise/entry/src/main/js/test/WantAgent.test.js @@ -14,7 +14,6 @@ */ import wantAgent from '@ohos.wantAgent'; -//import { OperationType, WantAgentFlags } from '@ohos.wantagent'; import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'; var time = 1000 var WantAgent; -- GitLab