提交 9b9f50f5 编写于 作者: Z zhouke

@ohos.uitest.d.ts中Point接口名调整,xts测试套适配. Signed-off-by: <zhouke35@huawei.com>.

Signed-off-by: Nzhouke <zhouke35@huawei.com>
上级 323d4dad
......@@ -15,7 +15,7 @@
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
import { Hypium } from '@ohos/hypium'
import { UiDriver, BY } from '@ohos.uitest'
import { UiDriver, BY } from '@ohos.UiTest'
import testsuite from '../test/List.test'
import featureAbility from '@ohos.ability.featureAbility';
......
......@@ -17,7 +17,7 @@ import audio from '@ohos.multimedia.audio';
import fileio from '@ohos.fileio';
import featureAbility from '@ohos.ability.featureAbility';
import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it } from '@ohos/hypium';
import { UiDriver, BY } from '@ohos.uitest'
import { UiDriver, BY } from '@ohos.UiTest'
export default function audioCapturer() {
describe('audioCapturer', function () {
......
......@@ -16,7 +16,7 @@
import audio from '@ohos.multimedia.audio';
import featureAbility from '@ohos.ability.featureAbility';
import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it } from '@ohos/hypium';
import { UiDriver, BY } from '@ohos.uitest'
import { UiDriver, BY } from '@ohos.UiTest'
export default function audioCapturerChange() {
describe('audioCapturerChange', function () {
......
......@@ -16,7 +16,7 @@
import audio from '@ohos.multimedia.audio';
import featureAbility from '@ohos.ability.featureAbility';
import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it } from '@ohos/hypium';
import { UiDriver, BY } from '@ohos.uitest'
import { UiDriver, BY } from '@ohos.UiTest'
export default function audioFramework() {
......
......@@ -18,7 +18,7 @@ import fileio from '@ohos.fileio';
import featureAbility from '@ohos.ability.featureAbility'
import resourceManager from '@ohos.resourceManager';
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium';
import { UiDriver, BY} from '@ohos.uitest'
import { UiDriver, BY} from '@ohos.UiTest'
export default function audioVoip() {
describe('audioVoip', function () {
......
......@@ -19,7 +19,7 @@ import router from '@system.router'
import mediaLibrary from '@ohos.multimedia.mediaLibrary'
import fileio from '@ohos.fileio'
import featureAbility from '@ohos.ability.featureAbility'
import { UiDriver, BY, PointerMatrix } from '@ohos.uitest'
import { UiDriver, BY, PointerMatrix } from '@ohos.UiTest'
const CODECMIMEVALUE = ['video/avc', 'audio/mp4a-latm', 'audio/mpeg']
const context = featureAbility.getContext();
......
......@@ -15,7 +15,7 @@
import mediaLibrary from "@ohos.multimedia.mediaLibrary";
import abilityAccessCtrl from "@ohos.abilityAccessCtrl";
import bundle from "@ohos.bundle";
import uitest from "@ohos.uitest";
import uitest from "@ohos.UiTest";
const presetsCount = {
ActsMediaLibraryAlbumTest: { albumsCount: 15, assetsCount: 27 },
ActsMediaLibraryBaseTest: { albumsCount: 11, assetsCount: 14 },
......
......@@ -12,7 +12,7 @@ import {
ResizeDirection,
WindowMode,
PointerMatrix,
} from "@ohos.uitest";
} from "@ohos.UiTest";
export default class MainAbility extends Ability {
onCreate(want, launchParam) {
// Ability is creating, initialize resources for this ability
......
......@@ -17,7 +17,7 @@ import mediaLibrary from "@ohos.multimedia.mediaLibrary";
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "deccjsunit/index";
import abilityAccessCtrl from "@ohos.abilityAccessCtrl";
import bundle from "@ohos.bundle";
import uitest from "@ohos.uitest";
import uitest from "@ohos.UiTest";
import { sleep } from "../../../../../../common";
......
......@@ -17,7 +17,7 @@ import mediaLibrary from "@ohos.multimedia.mediaLibrary";
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "deccjsunit/index";
import abilityAccessCtrl from "@ohos.abilityAccessCtrl";
import bundle from "@ohos.bundle";
import uitest from "@ohos.uitest";
import uitest from "@ohos.UiTest";
import { sleep } from "../../../../../../common";
......
......@@ -14,7 +14,7 @@
*/
import notification from '@ohos.notification'
import {UiComponent,UiDriver,Component,Driver,UiWindow,ON,BY,MatchPattern,DisplayRotation,ResizeDirection,WindowMode,PointerMatrix} from '@ohos.uitest'
import {UiComponent,UiDriver,Component,Driver,UiWindow,ON,BY,MatchPattern,DisplayRotation,ResizeDirection,WindowMode,PointerMatrix} from '@ohos.UiTest'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
export default function ActsNotificationRequestTest() {
......
......@@ -17,7 +17,7 @@ import contact from '@ohos.contact';
import sms from '@ohos.telephony.sms';
import featureAbility from '@ohos.ability.featureAbility';
import { afterAll, beforeAll, describe, expect, it } from '@ohos/hypium';
import { BY, UiDriver } from '@ohos.uitest';
import { BY, UiDriver } from '@ohos.UiTest';
export default function ObjectInterfaceTest() {
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
import { UiDriver } from '@ohos.uitest'
import { UiDriver } from '@ohos.UiTest'
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
import prompt from '@ohos.prompt'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册