From f05f013216efa517dad1fb67b6f3bb6fb31b911d Mon Sep 17 00:00:00 2001 From: zhijianwen Date: Mon, 6 Jun 2022 19:39:26 +0800 Subject: [PATCH] xiugai Signed-off-by: zhijianwen --- .../activebutton/entry/src/main/js/test/publishIcon.js | 2 +- .../activebutton/entry/src/main/js/test/publishImage.js | 2 +- .../actspublish/entry/src/main/js/test/ActsPublish.js | 2 +- .../entry/src/main/js/test/ActsSubscriber_test_ordered.js | 2 +- .../entry/src/main/js/test/ActsSubscriber_test_unorder.js | 2 +- .../entry/src/main/js/test/ActsSubscriber_test_unorder.js | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/notification/ans_standard/publish_test/activebtn/activebutton/entry/src/main/js/test/publishIcon.js b/notification/ans_standard/publish_test/activebtn/activebutton/entry/src/main/js/test/publishIcon.js index 92a40ef53..61766b414 100644 --- a/notification/ans_standard/publish_test/activebtn/activebutton/entry/src/main/js/test/publishIcon.js +++ b/notification/ans_standard/publish_test/activebtn/activebutton/entry/src/main/js/test/publishIcon.js @@ -80,7 +80,7 @@ describe('ActsAnsPublishIconTest', function () { it('ACTS_PublishIconTest_0300', 0,async function (done) { largeBufferC = new ArrayBuffer(4*1024*50); smallBufferC = new ArrayBuffer(4*2*25); - largeOptsC = {alphaType: 0, editable: true, pixelFormat: 4, scaleMode: 1, size: {height: 50, width: 1024}} + largeOptsC = {alphaType: 0, editable: true, pixelFormat: 0, scaleMode: 1, size: {height: 50, width: 1024}} smallOptsC = {alphaType: 0, editable: true, pixelFormat: 4, scaleMode: 1, size: {height: 25, width: 2}} const promise_Large = image.createPixelMap(largeBufferC, largeOptsC); promise_Large.then((data) => { diff --git a/notification/ans_standard/publish_test/activebtn/activebutton/entry/src/main/js/test/publishImage.js b/notification/ans_standard/publish_test/activebtn/activebutton/entry/src/main/js/test/publishImage.js index 4962ba6f5..a4a9e9d4c 100644 --- a/notification/ans_standard/publish_test/activebtn/activebutton/entry/src/main/js/test/publishImage.js +++ b/notification/ans_standard/publish_test/activebtn/activebutton/entry/src/main/js/test/publishImage.js @@ -66,7 +66,7 @@ describe('ActsAnsPublishImageTest', function () { it('ActsPublishImage_test_0300', 0, async function (done) { console.debug("===ActsPublishImage_test_0300===begin===>"); BufferC = new ArrayBuffer( 4*1024* 2048); - optsC = {alphaType: 0, editable: true, pixelFormat: 4, scaleMode: 1, size: {height: 1024, width: 2048}} + optsC = {alphaType: 0, editable: true, pixelFormat: 0, scaleMode: 1, size: {height: 1024, width: 2048}} const promise_Large = image.createPixelMap(BufferC, optsC); promise_Large.then((data) => { diff --git a/notification/ces_standard/subscribeandpublish/actspublish/entry/src/main/js/test/ActsPublish.js b/notification/ces_standard/subscribeandpublish/actspublish/entry/src/main/js/test/ActsPublish.js index d1c3bb452..7593d23fa 100644 --- a/notification/ces_standard/subscribeandpublish/actspublish/entry/src/main/js/test/ActsPublish.js +++ b/notification/ces_standard/subscribeandpublish/actspublish/entry/src/main/js/test/ActsPublish.js @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import CommonEvent from '@ohos.commonevent' +import CommonEvent from '@ohos.commonEvent' import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index' describe('Actspublish_0100', function () { diff --git a/notification/ces_standard/subscribeandpublish/actssubscriberorderedtest/entry/src/main/js/test/ActsSubscriber_test_ordered.js b/notification/ces_standard/subscribeandpublish/actssubscriberorderedtest/entry/src/main/js/test/ActsSubscriber_test_ordered.js index 44afc267d..070f1fbde 100644 --- a/notification/ces_standard/subscribeandpublish/actssubscriberorderedtest/entry/src/main/js/test/ActsSubscriber_test_ordered.js +++ b/notification/ces_standard/subscribeandpublish/actssubscriberorderedtest/entry/src/main/js/test/ActsSubscriber_test_ordered.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 {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index' describe('ActsSubscriberTestOrder', function () { diff --git a/notification/ces_standard/subscribeandpublish/actssubscriberunordersystemtest/entry/src/main/js/test/ActsSubscriber_test_unorder.js b/notification/ces_standard/subscribeandpublish/actssubscriberunordersystemtest/entry/src/main/js/test/ActsSubscriber_test_unorder.js index 2bbf6914b..22c136063 100755 --- a/notification/ces_standard/subscribeandpublish/actssubscriberunordersystemtest/entry/src/main/js/test/ActsSubscriber_test_unorder.js +++ b/notification/ces_standard/subscribeandpublish/actssubscriberunordersystemtest/entry/src/main/js/test/ActsSubscriber_test_unorder.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 {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index' describe('ActsSubscriberTestUnorderSystem', async function (done) { diff --git a/notification/ces_standard/subscribeandpublish/actssubscriberunordertest/entry/src/main/js/test/ActsSubscriber_test_unorder.js b/notification/ces_standard/subscribeandpublish/actssubscriberunordertest/entry/src/main/js/test/ActsSubscriber_test_unorder.js index 3e8c9c5c0..c8826e2c2 100755 --- a/notification/ces_standard/subscribeandpublish/actssubscriberunordertest/entry/src/main/js/test/ActsSubscriber_test_unorder.js +++ b/notification/ces_standard/subscribeandpublish/actssubscriberunordertest/entry/src/main/js/test/ActsSubscriber_test_unorder.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 {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index' describe('ActsSubscriberTestUnorder', async function (done) { -- GitLab