未验证 提交 07bb9fb4 编写于 作者: O openharmony_ci 提交者: Gitee

!3443 【XTS】【事件通知子系统】导入包和参数修改

Merge pull request !3443 from 郅建文/master
......@@ -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) => {
......
......@@ -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) => {
......
......@@ -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 () {
......
......@@ -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 () {
......
......@@ -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) {
......
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册