diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/app.ets b/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/app.ets index b917b80ff7cabb5078dd7a9d9bf546c510bd86d7..1a86d49eeb234e7c0bd8901c84f49b6ad919b564 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/app.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/app.ets @@ -14,7 +14,7 @@ * limitations under the License. */ import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' -import { Hypium } from 'hypium/index' +import { Hypium } from '@ohos/hypium' import testsuite from '../test/List.test' export default { diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/TestAbility/app.ets b/arkui/ace_ets_component_two/entry/src/main/ets/TestAbility/app.ets index b917b80ff7cabb5078dd7a9d9bf546c510bd86d7..1a86d49eeb234e7c0bd8901c84f49b6ad919b564 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/TestAbility/app.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/TestAbility/app.ets @@ -14,7 +14,7 @@ * limitations under the License. */ import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' -import { Hypium } from 'hypium/index' +import { Hypium } from '@ohos/hypium' import testsuite from '../test/List.test' export default { diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/AnimationStatusJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/AnimationStatusJsunit.test.ets index a663d01ac1d651a7783a0abb555a13316fa8279c..16ad7ff1786629bf553ab5fa5c928c084ea56f4e 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/AnimationStatusJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/AnimationStatusJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index" +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium" import router from '@system.router'; import Utils from './Utils'; import events_emitter from '@ohos.events.emitter'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/BindMenuJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/BindMenuJsunit.test.ets index b6cb427f9ddb0123eb755cba8627c754d4e80804..0d73ce06bbab6cd32a2956c90acdbdc88ee6392e 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/BindMenuJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/BindMenuJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index"; +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium"; import router from '@system.router'; import events_emitter from '@ohos.events.emitter'; import Utils from './Utils'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/BindPopupJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/BindPopupJsunit.test.ets index 0eaf11469bbd2b4a42d931f09c2a8f540282a718..c90e9f0f878fa192ad63bbade29df6bea17bdf9b 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/BindPopupJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/BindPopupJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index" +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium" import router from '@system.router'; import Utils from './Utils'; import events_emitter from '@ohos.events.emitter'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/ConfigurationJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/ConfigurationJsunit.test.ets index df7fa84d64d0ba452948b1922e0f2346f60915e2..6fe4b6f89b7fb2b66141946396c5a05dab674b6f 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/ConfigurationJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/ConfigurationJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index" +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium" import router from '@system.router'; import events_emitter from '@ohos.events.emitter'; import Utils from './Utils'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/CurvesJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/CurvesJsunit.test.ets index fcf57e3dfdd2470c5f71b84c92f5a8081f07fb2e..0f80e599c4de6f980dcf4b0984360f1617680348 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/CurvesJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/CurvesJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index"; +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium"; import router from '@system.router'; import Utils from './Utils'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/DatePickerJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/DatePickerJsunit.test.ets index 9749b145fe1757306d5a21d71bb8ae0182f2ab0b..8074d41039b118ca498292a7f7d787b5d81e7295 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/DatePickerJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/DatePickerJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index"; +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium"; import router from '@system.router'; import events_emitter from '@ohos.events.emitter'; import Utils from './Utils'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/Direction2Jsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/Direction2Jsunit.test.ets index 6ff0326637d79a7268e8093e8ae7921db9627896..c42ddb20bbb476575633e3b17ed1eef64ebfa7ca 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/Direction2Jsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/Direction2Jsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index" +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium" import router from '@system.router'; import Utils from './Utils'; import events_emitter from '@ohos.events.emitter'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/DirectionJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/DirectionJsunit.test.ets index ef49ff3b7af0fc313ce4b5ac65db36383ff2a8dd..44473ae09bb7c4c7d11695adf9e7d0f0b9bacdc7 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/DirectionJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/DirectionJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index" +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium" import router from '@system.router'; import Utils from './Utils'; import events_emitter from '@ohos.events.emitter'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/DividerJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/DividerJsunit.test.ets index 3f25a013bab7ff82a839c193f4b352c6cbb7cfcc..c96f995664eabf6fb6e109de3051dd6171845472 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/DividerJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/DividerJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index"; +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium"; import router from '@system.router'; import events_emitter from '@ohos.events.emitter'; import Utils from './Utils'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/FlexDirectionJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/FlexDirectionJsunit.test.ets index 7915737a5958a5156a701873df0940a7a0a758b6..bd6944a0a90f5369635aae2d3b3338222e3b5343 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/FlexDirectionJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/FlexDirectionJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index"; +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium"; import router from '@system.router'; import events_emitter from '@ohos.events.emitter'; import Utils from './Utils'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/FlexWrapJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/FlexWrapJsunit.test.ets index 4204e7bbdc72a3203927aa20ac5ee3f66123afb3..0b2f007e7408874ffa8fc419d487634637c9273e 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/FlexWrapJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/FlexWrapJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index"; +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium"; import router from '@system.router'; import events_emitter from '@ohos.events.emitter'; import Utils from './Utils'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/GradientDirectionJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/GradientDirectionJsunit.test.ets index 67ef35440559ac0b315f583941f075a225ca55a6..f39597c4e936d47358e0dbcbfa6bb13edd025ecc 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/GradientDirectionJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/GradientDirectionJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index" +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium" import router from '@system.router'; import events_emitter from '@ohos.events.emitter'; import Utils from './Utils'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/ImageAnimatorJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/ImageAnimatorJsunit.test.ets index 2d3b6f056c1e097b8826aa597d79165bfe554dd8..f3576665b3a35f6ca00560d406b6d228c79a7ff1 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/ImageAnimatorJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/ImageAnimatorJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index" +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium" import router from '@system.router'; import events_emitter from '@ohos.events.emitter' import Utils from './Utils.ets'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/ListItemJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/ListItemJsunit.test.ets index a727a7cb01bb833027a1287b5597fd5bdbb1c577..e78fcc4c8a56677f853a5c5160b819e9a38f2586 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/ListItemJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/ListItemJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index"; +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium"; import router from '@system.router'; import events_emitter from '@ohos.events.emitter'; import Utils from './Utils'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/LoadingProgressJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/LoadingProgressJsunit.test.ets index c56c74b91f6b65713fff4e19745e4e2a9ff2cb1c..3a4c3ff12b53f4bbc86664fff846ab736dbf8f23 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/LoadingProgressJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/LoadingProgressJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index" +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium" import router from '@system.router'; import Utils from './Utils'; @@ -83,7 +83,7 @@ export default function loadingProgressJsunit() { let strJson = getInspectorByKey('LP'); let obj = JSON.parse(strJson); console.info("testLoadingProgress_400 component obj is: " + JSON.stringify(obj)); - expect(obj.$attrs.borderWidth).assertEqual("0.00px"); + expect(obj.$attrs.borderWidth).assertEqual("0.00vp"); console.info('testLoadingProgress_400 END'); done(); }); diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/NavigationJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/NavigationJsunit.test.ets index 3768d2978f7c073f219bfdcd8abfeba6dfbd9bd2..9a8abf3a791e62454fbc0b87e92b156beae13317 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/NavigationJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/NavigationJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index"; +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium"; import router from '@system.router'; import events_emitter from '@ohos.events.emitter'; import Utils from './Utils'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/NavigatorCodeJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/NavigatorCodeJsunit.test.ets index 6a2f83123e7961dac083e6f96f35f9d2765eb899..38a7125e4100fff6a94bcbf2b61cba983ec6461c 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/NavigatorCodeJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/NavigatorCodeJsunit.test.ets @@ -14,7 +14,7 @@ * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index" +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium" import router from '@system.router'; import events_emitter from '@ohos.events.emitter'; import Utils from './Utils.ets'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/OhosRouterJsnuit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/OhosRouterJsnuit.test.ets index 05f8239358e18726b22f5e571c3ee5c5d240270d..32f3b0f8bbf5457883929a52434567599c44dfcd 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/OhosRouterJsnuit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/OhosRouterJsnuit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index" +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium" import router from '@system.router'; import Utils from './Utils'; import events_emitter from '@ohos.events.emitter'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/PageTransitionJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/PageTransitionJsunit.test.ets index 603bdfa4129e6d59fe02fe0afb56cb827a35ec5c..56f143e5b8581a07408b4e0bac3d9c3b45069cca 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/PageTransitionJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/PageTransitionJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index" +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium" import router from '@system.router'; import events_emitter from '@ohos.events.emitter' import Utils from './Utils'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/PieceJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/PieceJsunit.test.ets index 2c005653400813220b5edbafdd18a4dcc239249c..76a05c0aaac82c038b7a8820f3d59fb4a66bfca3 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/PieceJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/PieceJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index"; +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium"; import router from '@system.router'; import events_emitter from '@ohos.events.emitter'; import Utils from './Utils'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/PlacementJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/PlacementJsunit.test.ets index ab76c405d54ef3f2fa5125606ee0fac0c88162ef..5e4b515f344dff093f4db195feb5e877a8d30e89 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/PlacementJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/PlacementJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index" +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium" import router from '@system.router'; import Utils from './Utils'; import events_emitter from '@ohos.events.emitter'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/RadioJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/RadioJsunit.test.ets index 8a4dd28c7f101fc045ac2de03765e0aa8a1b6763..b12eeaf002bfed01819c7cc8f991c91049d1045f 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/RadioJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/RadioJsunit.test.ets @@ -14,7 +14,7 @@ * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index" +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium" import router from '@system.router'; import Utils from './Utils'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/RowJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/RowJsunit.test.ets index 0834446634d3f81cd2a8658bfe168394a8fe1291..6bef7c883ea21004c24a50d844cf974befd92d7f 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/RowJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/RowJsunit.test.ets @@ -14,7 +14,7 @@ * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index" +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium" import router from '@system.router'; import Utils from './Utils'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/ScrollBarJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/ScrollBarJsunit.test.ets index d54c7a57900a3def71d158a6f7554266605079f2..966b761ea46f971bcbadae3b929b2d2b59009178 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/ScrollBarJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/ScrollBarJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index" +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium" import router from '@system.router'; import events_emitter from '@ohos.events.emitter'; import Utils from './Utils'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/SearchJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/SearchJsunit.test.ets index 33e612f738e639b691b9527263125c53c7402c08..f254db0088170f7510c91156bc47746153d1ed5b 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/SearchJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/SearchJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index" +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium" import router from '@system.router'; import events_emitter from '@ohos.events.emitter'; import Utils from './Utils'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/SourceTypeJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/SourceTypeJsunit.test.ets index 555b03ac2636098ddcc30d8fb953f1a40b4e2b5f..0783e61219cfc4edae33a6ee1a954846613dd47c 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/SourceTypeJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/SourceTypeJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index" +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium" import router from '@system.router'; import events_emitter from '@ohos.events.emitter'; import Utils from './Utils.ets'; diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/SystempromptJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/SystempromptJsunit.test.ets index 0630af204e84d476e5acc59ab25b26ef7adb8f84..b15d0de2fc73737aca6dd684d29762268a195a75 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/SystempromptJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/SystempromptJsunit.test.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index" +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium" import router from '@system.router'; import Utils from './Utils'; diff --git a/arkui/ace_standard/src/main/js/default/pages/swiper/router/index.js b/arkui/ace_standard/src/main/js/default/pages/swiper/router/index.js index 9721f49d0616078cb0aae52a6c487a881bb4434a..7afcddbb95761e3a313545a0eac2afac0758ff2b 100644 --- a/arkui/ace_standard/src/main/js/default/pages/swiper/router/index.js +++ b/arkui/ace_standard/src/main/js/default/pages/swiper/router/index.js @@ -102,13 +102,14 @@ export default { onShow(){ // 通用属性 - var prop1 = this.$element('prop1'); - var name1 = prop1.dataSet.name - var prop2 = this.$refs.prop2; - var name2 = prop2.dataSet.name - prompt.showToast({ - message: 'prop1--' + name1 + '\nprop2--' + name2 - }); + // var prop1 = this.$element('prop1'); + // var name1 = prop1.dataSet.name + // var prop2 = this.$refs.prop2; + // var name2 = prop2.dataSet.name + // prompt.showToast({ + // message: 'prop1--' + name1 + '\nprop2--' + name2 + // }); + console.log("this page is onShow") }, changeTest(event){