diff --git a/ability/dmsfwk/continuationmanagertest/src/main/js/TestAbility/app.js b/ability/dmsfwk/continuationmanagertest/src/main/js/TestAbility/app.js index 39761dc5c964491b5ae687f0ac9c7e4141f24f2c..51c7e9eee090feff1306c7179d95cffc0f1cc684 100644 --- a/ability/dmsfwk/continuationmanagertest/src/main/js/TestAbility/app.js +++ b/ability/dmsfwk/continuationmanagertest/src/main/js/TestAbility/app.js @@ -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'; diff --git a/arkXtest/uitest/src/main/ets/test/uitest.test.ets b/arkXtest/uitest/src/main/ets/test/uitest.test.ets index 998db8cbd1fe63bd4efb00ccec3dd9f5266b50ec..ca4daa284485672271e0aeb1488cb4e3ff2795b4 100644 --- a/arkXtest/uitest/src/main/ets/test/uitest.test.ets +++ b/arkXtest/uitest/src/main/ets/test/uitest.test.ets @@ -14,7 +14,7 @@ */ import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' import abilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'; -import { UiComponent, UiDriver, BY, Component, Driver, UiWindow, ON, MatchPattern, DisplayRotation, ResizeDirection, WindowMode, PointerMatrix } from '@ohos.uitest' +import { UiComponent, UiDriver, BY, Component, Driver, UiWindow, ON, MatchPattern, DisplayRotation, ResizeDirection, WindowMode, PointerMatrix } from '@ohos.UiTest' import ability_featureAbility from '@ohos.ability.featureAbility'; const delegator = abilityDelegatorRegistry.getAbilityDelegator(); @@ -494,7 +494,7 @@ export default function UiTest() { await driver.delayMs(waitUiReadyMs) let Button = await driver.findComponent(ON.text('next page')) let center = await Button.getBoundsCenter() - await driver.click(center.X, center.Y) + await driver.click(center.x, center.y) await driver.delayMs(waitUiReadyMs) let newButton = await driver.findComponent(ON.text('back to index')) let text = await newButton.getText() @@ -514,7 +514,7 @@ export default function UiTest() { await driver.delayMs(waitUiReadyMs) let Button = await driver.findComponent(ON.text('Click twice')) let center = await Button.getBoundsCenter() - await driver.doubleClick(center.X, center.Y) + await driver.doubleClick(center.x, center.y) await driver.delayMs(waitUiReadyMs) let button = await driver.findComponent(ON.text('doubleClick')) let text = await button.getText() @@ -534,7 +534,7 @@ export default function UiTest() { await driver.delayMs(waitUiReadyMs) let Button = await driver.findComponent(ON.text('next page')) let center = await Button.getBoundsCenter() - await driver.longClick(center.X, center.Y) + await driver.longClick(center.x, center.y) await driver.delayMs(waitUiReadyMs) let newButton = await driver.findComponent(ON.text('longClick')) let text = await newButton.getText() @@ -784,7 +784,7 @@ export default function UiTest() { let text = await driver.findComponent(ON.type('TextInput')) let center = await text.getBoundsCenter() await text.inputText('123') - await driver.click(center.X, center.Y) + await driver.click(center.x, center.y) await driver.delayMs(waitUiReadyMs) await driver.triggerCombineKeys(2072, 2017) await driver.delayMs(waitUiReadyMs) @@ -924,7 +924,7 @@ export default function UiTest() { await startAbility('com.uitestScene.acts', 'com.uitestScene.acts.MainAbility') let driver = Driver.create() await driver.delayMs(waitUiReadyMs) - await driver.fling({X:300, Y:600},{X:300, Y:300}, 20, 600) + await driver.fling({x:300, y:600},{x:300, y:300}, 20, 600) let text = await driver.findComponent(ON.text('next page')) expect(text == null).assertTrue() let scrollBar = await driver.findComponent(ON.type('Scroll')) @@ -1026,28 +1026,28 @@ export default function UiTest() { let bounds1 = await image1.getBounds() let pointer = PointerMatrix.create(2,11) await driver.delayMs(300) - pointer.setPoint(0,0,{X:245,Y:480}) - pointer.setPoint(0,1,{X:250,Y:480}) - pointer.setPoint(0,2,{X:255,Y:480}) - pointer.setPoint(0,3,{X:260,Y:480}) - pointer.setPoint(0,4,{X:265,Y:480}) - pointer.setPoint(0,5,{X:270,Y:480}) - pointer.setPoint(0,6,{X:275,Y:480}) - pointer.setPoint(0,7,{X:280,Y:480}) - pointer.setPoint(0,8,{X:285,Y:480}) - pointer.setPoint(0,9,{X:290,Y:480}) - pointer.setPoint(0,10,{X:295,Y:480}) - pointer.setPoint(1,0,{X:505,Y:480}) - pointer.setPoint(1,1,{X:500,Y:480}) - pointer.setPoint(1,2,{X:495,Y:480}) - pointer.setPoint(1,3,{X:490,Y:480}) - pointer.setPoint(1,4,{X:485,Y:480}) - pointer.setPoint(1,5,{X:480,Y:480}) - pointer.setPoint(1,6,{X:475,Y:480}) - pointer.setPoint(1,7,{X:470,Y:480}) - pointer.setPoint(1,8,{X:465,Y:480}) - pointer.setPoint(1,9,{X:460,Y:480}) - pointer.setPoint(1,10,{X:455,Y:480}) + pointer.setPoint(0,0,{x:245,y:480}) + pointer.setPoint(0,1,{x:250,y:480}) + pointer.setPoint(0,2,{x:255,y:480}) + pointer.setPoint(0,3,{x:260,y:480}) + pointer.setPoint(0,4,{x:265,y:480}) + pointer.setPoint(0,5,{x:270,y:480}) + pointer.setPoint(0,6,{x:275,y:480}) + pointer.setPoint(0,7,{x:280,y:480}) + pointer.setPoint(0,8,{x:285,y:480}) + pointer.setPoint(0,9,{x:290,y:480}) + pointer.setPoint(0,10,{x:295,y:480}) + pointer.setPoint(1,0,{x:505,y:480}) + pointer.setPoint(1,1,{x:500,y:480}) + pointer.setPoint(1,2,{x:495,y:480}) + pointer.setPoint(1,3,{x:490,y:480}) + pointer.setPoint(1,4,{x:485,y:480}) + pointer.setPoint(1,5,{x:480,y:480}) + pointer.setPoint(1,6,{x:475,y:480}) + pointer.setPoint(1,7,{x:470,y:480}) + pointer.setPoint(1,8,{x:465,y:480}) + pointer.setPoint(1,9,{x:460,y:480}) + pointer.setPoint(1,10,{x:455,y:480}) await driver.injectMultiPointerAction(pointer, 600) let image2 = await driver.findComponent(ON.type('Image')) let bounds2= await image2.getBounds() @@ -1343,8 +1343,8 @@ export default function UiTest() { let driver = Driver.create() await driver.delayMs(waitUiReadyMs) let s = await driver.getDisplaySize() - expect(s.X != 0).assertTrue() - expect(s.Y != 0).assertTrue() + expect(s.x != 0).assertTrue() + expect(s.y != 0).assertTrue() await stopApplication('com.uitestScene.acts') }) @@ -1358,8 +1358,8 @@ export default function UiTest() { let driver = Driver.create() await driver.delayMs(waitUiReadyMs) let s = await driver.getDisplayDensity() - expect(s.X != 0).assertTrue() - expect(s.Y != 0).assertTrue() + expect(s.x != 0).assertTrue() + expect(s.y != 0).assertTrue() await stopApplication('com.uitestScene.acts') }) @@ -1501,7 +1501,7 @@ export default function UiTest() { let text2 = await driver.findComponent(ON.text('one')) let point1 = await text1.getBoundsCenter() let point2 = await text2.getBoundsCenter() - await driver.drag(point1.X, point1.Y, point2.X, point2.Y) + await driver.drag(point1.x, point1.y, point2.x, point2.y) await driver.delayMs(waitUiReadyMs) let text = await driver.findComponent(ON.text('four')) expect(text == null).assertTrue() diff --git a/arkui/ace_ets_component_ui/entry/src/main/ets/test/BlankJsunit.test.ets b/arkui/ace_ets_component_ui/entry/src/main/ets/test/BlankJsunit.test.ets index de80f778d8e19e8fd6b52020d244ab9b5d85d0d1..cb0b63a764be01f3d7312249180f7e8e46ef3518 100644 --- a/arkui/ace_ets_component_ui/entry/src/main/ets/test/BlankJsunit.test.ets +++ b/arkui/ace_ets_component_ui/entry/src/main/ets/test/BlankJsunit.test.ets @@ -14,7 +14,7 @@ */ import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "@ohos/hypium" import router from '@system.router'; -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 CommonFunc from '../MainAbility/utils/Common'; import {MessageManager,Callback} from '../MainAbility/utils/MessageManager'; diff --git a/arkui/ace_ets_component_ui/entry/src/main/ets/test/ButtonJsunit.test.ets b/arkui/ace_ets_component_ui/entry/src/main/ets/test/ButtonJsunit.test.ets index 623f59cb4b9884a493ab97aea5d90d9982f9e2f4..d5b5cfb97f342b5321e0b3f218c1f15e970a05d5 100644 --- a/arkui/ace_ets_component_ui/entry/src/main/ets/test/ButtonJsunit.test.ets +++ b/arkui/ace_ets_component_ui/entry/src/main/ets/test/ButtonJsunit.test.ets @@ -14,7 +14,7 @@ */ import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "@ohos/hypium" import router from '@system.router'; -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 CommonFunc from '../MainAbility/utils/Common'; import {MessageManager,Callback} from '../MainAbility/utils/MessageManager'; const waitUiReadyMs = 1000; diff --git a/arkui/ace_ets_component_ui/entry/src/main/ets/test/CheckBoxJsunit.test.ets b/arkui/ace_ets_component_ui/entry/src/main/ets/test/CheckBoxJsunit.test.ets index 550f2ed6bc77da2e75486a19b00861985ad5a919..6e9b50bd65d896b05c3e1120f18fd64e166b4033 100644 --- a/arkui/ace_ets_component_ui/entry/src/main/ets/test/CheckBoxJsunit.test.ets +++ b/arkui/ace_ets_component_ui/entry/src/main/ets/test/CheckBoxJsunit.test.ets @@ -14,7 +14,7 @@ */ import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "@ohos/hypium" import router from '@system.router'; -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 CommonFunc from '../MainAbility/utils/Common'; import {MessageManager,Callback} from '../MainAbility/utils/MessageManager'; const waitUiReadyMs = 1000; diff --git a/arkui/ace_ets_component_ui/entry/src/main/ets/test/checkBoxGroupUIJsunit.test.ets b/arkui/ace_ets_component_ui/entry/src/main/ets/test/checkBoxGroupUIJsunit.test.ets index 822cb05336ec7031db15b91ae28ecac6643fdd63..7cc9919029c5faa273fbb396165bf56d14692e93 100644 --- a/arkui/ace_ets_component_ui/entry/src/main/ets/test/checkBoxGroupUIJsunit.test.ets +++ b/arkui/ace_ets_component_ui/entry/src/main/ets/test/checkBoxGroupUIJsunit.test.ets @@ -14,7 +14,7 @@ */ import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "@ohos/hypium" import router from '@system.router'; -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 CommonFunc from '../MainAbility/utils/Common'; import {MessageManager,Callback} from '../MainAbility/utils/MessageManager'; const waitUiReadyMs = 1000; diff --git a/arkui/ace_ets_component_ui/entry/src/main/ets/test/dataPickerJsunit.test.ets b/arkui/ace_ets_component_ui/entry/src/main/ets/test/dataPickerJsunit.test.ets index 05b9f7d6a040947d37d58549d20f821731d14537..2e1b63ac34801147a9331c6d99de4434613c3ff9 100644 --- a/arkui/ace_ets_component_ui/entry/src/main/ets/test/dataPickerJsunit.test.ets +++ b/arkui/ace_ets_component_ui/entry/src/main/ets/test/dataPickerJsunit.test.ets @@ -14,7 +14,7 @@ */ import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "@ohos/hypium" import router from '@system.router'; -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 CommonFunc from '../MainAbility/utils/Common'; import {MessageManager,Callback} from '../MainAbility/utils/MessageManager'; const waitUiReadyMs = 1000; diff --git a/arkui/ace_ets_component_ui/entry/src/main/ets/test/datelPanelJsunit.test.ets b/arkui/ace_ets_component_ui/entry/src/main/ets/test/datelPanelJsunit.test.ets index 5cb7b20d9a31e5e60e45c2e3a138e8ba665da42c..99a8bd8d15e137c085d97df818402dbcbaf1639b 100644 --- a/arkui/ace_ets_component_ui/entry/src/main/ets/test/datelPanelJsunit.test.ets +++ b/arkui/ace_ets_component_ui/entry/src/main/ets/test/datelPanelJsunit.test.ets @@ -14,7 +14,7 @@ */ import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "@ohos/hypium" import router from '@system.router'; -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 CommonFunc from '../MainAbility/utils/Common'; import {MessageManager,Callback} from '../MainAbility/utils/MessageManager'; const waitUiReadyMs = 1000; diff --git a/arkui/ace_ets_component_ui/entry/src/main/ets/test/dividerJsunit.test.ets b/arkui/ace_ets_component_ui/entry/src/main/ets/test/dividerJsunit.test.ets index 887471d4da4ff85462b285c1fdf451c663fc29bc..7e1d0392b6b9cb5dedced649fcbcce826ed7317e 100644 --- a/arkui/ace_ets_component_ui/entry/src/main/ets/test/dividerJsunit.test.ets +++ b/arkui/ace_ets_component_ui/entry/src/main/ets/test/dividerJsunit.test.ets @@ -14,7 +14,7 @@ */ import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "@ohos/hypium" import router from '@system.router'; -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 CommonFunc from '../MainAbility/utils/Common'; import {MessageManager,Callback} from '../MainAbility/utils/MessageManager'; const waitUiReadyMs = 1000; diff --git a/arkui/ace_ets_component_ui/entry/src/main/ets/test/gaugeJsunit.test.ets b/arkui/ace_ets_component_ui/entry/src/main/ets/test/gaugeJsunit.test.ets index bce248f5df61363047605d52634f677ef0c87376..b1ac91ae8dd6313901c7f41fcc721bf2189a591c 100644 --- a/arkui/ace_ets_component_ui/entry/src/main/ets/test/gaugeJsunit.test.ets +++ b/arkui/ace_ets_component_ui/entry/src/main/ets/test/gaugeJsunit.test.ets @@ -14,7 +14,7 @@ */ import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "@ohos/hypium" import router from '@system.router'; -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 CommonFunc from '../MainAbility/utils/Common'; import {MessageManager,Callback} from '../MainAbility/utils/MessageManager'; const waitUiReadyMs = 1000; diff --git a/arkui/ace_ets_component_ui/entry/src/main/ets/test/loadingProgressJsunit.test.ets b/arkui/ace_ets_component_ui/entry/src/main/ets/test/loadingProgressJsunit.test.ets index 1cf9c897d6d2f7c967aa0655082cfc27697242bc..c9237a617502945c70b5cf823001be78ae6ff3a4 100644 --- a/arkui/ace_ets_component_ui/entry/src/main/ets/test/loadingProgressJsunit.test.ets +++ b/arkui/ace_ets_component_ui/entry/src/main/ets/test/loadingProgressJsunit.test.ets @@ -14,7 +14,7 @@ */ import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "@ohos/hypium" import router from '@system.router'; -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 CommonFunc from '../MainAbility/utils/Common'; import {MessageManager,Callback} from '../MainAbility/utils/MessageManager'; const waitUiReadyMs = 1000; diff --git a/arkui/ace_ets_component_ui/entry/src/main/ets/test/marqueeJsunit.test.ets b/arkui/ace_ets_component_ui/entry/src/main/ets/test/marqueeJsunit.test.ets index 67a5c08e9796a42139b33c2d2878b1712e79f30c..9074eaacccc580a92b6b93f0bc7ba661dfba88c6 100644 --- a/arkui/ace_ets_component_ui/entry/src/main/ets/test/marqueeJsunit.test.ets +++ b/arkui/ace_ets_component_ui/entry/src/main/ets/test/marqueeJsunit.test.ets @@ -14,7 +14,7 @@ */ import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "@ohos/hypium" import router from '@system.router'; -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 CommonFunc from '../MainAbility/utils/Common'; import {MessageManager,Callback} from '../MainAbility/utils/MessageManager'; const waitUiReadyMs = 1000; diff --git a/multimedia/audio/audio_js_standard/AudioCapturer/src/main/js/test/AudioCapturer.test.js b/multimedia/audio/audio_js_standard/AudioCapturer/src/main/js/test/AudioCapturer.test.js index e4e0ef8f939e5a4e810473b2a963ebada83fd6ef..86f81884fd977a51318c713d07e8a3111a2a6df7 100644 --- a/multimedia/audio/audio_js_standard/AudioCapturer/src/main/js/test/AudioCapturer.test.js +++ b/multimedia/audio/audio_js_standard/AudioCapturer/src/main/js/test/AudioCapturer.test.js @@ -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 () { diff --git a/multimedia/audio/audio_js_standard/AudioCapturerChangeInfo/src/main/js/test/AudioCapturerChangeInfo.test.js b/multimedia/audio/audio_js_standard/AudioCapturerChangeInfo/src/main/js/test/AudioCapturerChangeInfo.test.js index e562b149d5e9861f7a4984aabcdd243bafc1f882..2152c4162fe369c96dba7d963864113d6a6bba8e 100644 --- a/multimedia/audio/audio_js_standard/AudioCapturerChangeInfo/src/main/js/test/AudioCapturerChangeInfo.test.js +++ b/multimedia/audio/audio_js_standard/AudioCapturerChangeInfo/src/main/js/test/AudioCapturerChangeInfo.test.js @@ -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 () { diff --git a/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js b/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js index 5d8e2e665e0901ed425f098282f07c40069840d1..3480aeeda43b078e35c6776d7af5345c68fbb9bf 100755 --- a/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js +++ b/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js @@ -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() { diff --git a/multimedia/audio/audio_js_standard/audioVoip/src/main/js/test/AudioVOIP.test.js b/multimedia/audio/audio_js_standard/audioVoip/src/main/js/test/AudioVOIP.test.js index c4e3612cb71f28a01154840ef19e61f496bec1f8..a1516b32010a017881ebd342b4d5a2d5b00b0556 100644 --- a/multimedia/audio/audio_js_standard/audioVoip/src/main/js/test/AudioVOIP.test.js +++ b/multimedia/audio/audio_js_standard/audioVoip/src/main/js/test/AudioVOIP.test.js @@ -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 () { diff --git a/multimedia/media/media_js_standard/MediaTestBase.js b/multimedia/media/media_js_standard/MediaTestBase.js index b3e21d99848db343a64d2779acafbbf0fd3953df..c2ac004dcd6a8b90000c19dcf4fabd35632a7ed3 100644 --- a/multimedia/media/media_js_standard/MediaTestBase.js +++ b/multimedia/media/media_js_standard/MediaTestBase.js @@ -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(); diff --git a/multimedia/medialibrary/common.js b/multimedia/medialibrary/common.js index f72265ae87e1802915678ae0f9e25c7987fa5774..360f7938e834e344c034b791df638c33d614eed8 100644 --- a/multimedia/medialibrary/common.js +++ b/multimedia/medialibrary/common.js @@ -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 }, diff --git a/multimedia/medialibrary/mediaLibrary_base/entry/src/main/ets/MainAbility/MainAbility.ts b/multimedia/medialibrary/mediaLibrary_base/entry/src/main/ets/MainAbility/MainAbility.ts index f29c03aacc734d365c47927f6f1fcfc944391c39..14bc9e002f6f5d4c7af1514e965bedb33269dafa 100644 --- a/multimedia/medialibrary/mediaLibrary_base/entry/src/main/ets/MainAbility/MainAbility.ts +++ b/multimedia/medialibrary/mediaLibrary_base/entry/src/main/ets/MainAbility/MainAbility.ts @@ -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 diff --git a/multimedia/medialibrary/mediaLibrary_getExifNoLocation/entry/src/main/ets/test/getExifNoLocation.test.ets b/multimedia/medialibrary/mediaLibrary_getExifNoLocation/entry/src/main/ets/test/getExifNoLocation.test.ets index 5d2ae06753debf6f1cc260e746f9f7fb54f0ba49..eb1e72f941ff2c25a272a4b5d36b29c4b668e2b4 100644 --- a/multimedia/medialibrary/mediaLibrary_getExifNoLocation/entry/src/main/ets/test/getExifNoLocation.test.ets +++ b/multimedia/medialibrary/mediaLibrary_getExifNoLocation/entry/src/main/ets/test/getExifNoLocation.test.ets @@ -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"; diff --git a/multimedia/medialibrary/mediaLibrary_getExiflocation/entry/src/main/ets/test/getExifLocation.test.ets b/multimedia/medialibrary/mediaLibrary_getExiflocation/entry/src/main/ets/test/getExifLocation.test.ets index 0cdb6d5a8b02f69ab8eddb5c28c9a610a5941b5e..97db4f2e0b4b69497a3fb6c8940d27dbfd0f2236 100644 --- a/multimedia/medialibrary/mediaLibrary_getExiflocation/entry/src/main/ets/test/getExifLocation.test.ets +++ b/multimedia/medialibrary/mediaLibrary_getExiflocation/entry/src/main/ets/test/getExifLocation.test.ets @@ -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"; diff --git a/notification/ans_standard/actsNotificationRequestTest/src/main/js/test/ActsNotificationRequestTest.js b/notification/ans_standard/actsNotificationRequestTest/src/main/js/test/ActsNotificationRequestTest.js index 9517588b66c080a253c8ca9d2cc3c7275f779124..9a0b570dac14d8fd114c313524cea1534736f1ae 100644 --- a/notification/ans_standard/actsNotificationRequestTest/src/main/js/test/ActsNotificationRequestTest.js +++ b/notification/ans_standard/actsNotificationRequestTest/src/main/js/test/ActsNotificationRequestTest.js @@ -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() { diff --git a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/src/main/js/test/ObjectInterface_test.js b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/src/main/js/test/ObjectInterface_test.js index 4b0d3cc3ccfc5f60cda6f35fe62c4cadc70bfac6..f23ed7ff86cd2362e1a313e10968dcc29ff6e896 100644 --- a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/src/main/js/test/ObjectInterface_test.js +++ b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/src/main/js/test/ObjectInterface_test.js @@ -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() { diff --git a/wukong/actswukongtest/entry/src/main/ets/test/Ability.test.ets b/wukong/actswukongtest/entry/src/main/ets/test/Ability.test.ets index c50d9004f531264796ae0d89a88c04f3f3f37d93..564baff8963cddf5233cc32af0319534c88ca7f0 100644 --- a/wukong/actswukongtest/entry/src/main/ets/test/Ability.test.ets +++ b/wukong/actswukongtest/entry/src/main/ets/test/Ability.test.ets @@ -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'