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 92a40ef53d209e3e3f461f0a534b975a4b047157..61766b4147f97535430af76d1b8524776d68c1d5 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 4962ba6f50f7ba3b243977e87f00fc595ae89a19..a4a9e9d4cf89d698c3feab5d9bcbed7cc81e95af 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 d1c3bb452d8f64b4642eb0e79a5f532dcc6a1353..7593d23fac01c917cfebffbb22b23da285bd0960 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 44afc267d90994057b8b4bf14b50f49026471279..070f1fbde11fa2007c6cf86c186be7a0a809cbf2 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 2bbf6914b314e29a287a5cffe90ae89f4ba5346b..22c136063b70aa20efef3c0cdd35e8c9addc918a 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 3e8c9c5c0852c1b8677802a7f0eb14b5a5df9c8d..c8826e2c280e3961b3ab8ffbe0e63dc52866c8d0 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) {