diff --git a/arkui/ace_ets_component/entry/src/main/ets/test/SwiperJsunit.test.ets b/arkui/ace_ets_component/entry/src/main/ets/test/SwiperJsunit.test.ets index 16ce8da7571ab3486e7bc1c8eef9cfa49e04a82b..a26a04279aa04907470b091f65b6b3a87f2adfe3 100644 --- a/arkui/ace_ets_component/entry/src/main/ets/test/SwiperJsunit.test.ets +++ b/arkui/ace_ets_component/entry/src/main/ets/test/SwiperJsunit.test.ets @@ -466,7 +466,7 @@ export default function swiperJsunit() { let strJsonNew = getInspectorByKey('swiper'); let objNew = JSON.parse(strJsonNew); console.info("swiperTest_1900 component objNew is: " + JSON.stringify(objNew)); - expect(objNew.$attrs.duration).assertEqual('nan'); + expect(objNew.$attrs.duration).assertEqual('0.000000'); console.info('swiperTest_1900 END'); done(); }); diff --git a/arkui/ace_ets_component_five/entry/src/main/ets/test/PositionSettingJsunit.test.ets b/arkui/ace_ets_component_five/entry/src/main/ets/test/PositionSettingJsunit.test.ets index 4c2a9da5304b19639721aa31048e8000507d01ba..ed5780a2ec11ec82d42055984245f35f00747bd5 100644 --- a/arkui/ace_ets_component_five/entry/src/main/ets/test/PositionSettingJsunit.test.ets +++ b/arkui/ace_ets_component_five/entry/src/main/ets/test/PositionSettingJsunit.test.ets @@ -53,7 +53,7 @@ export default function positionSettingJsunit() { console.info("[testPositionSetting001] component strJson:" + strJson); let obj = JSON.parse(strJson); console.info("[testPositionSetting001] textAlign: " + obj.$attrs.textAlign); - expect(obj.$attrs.textAlign).assertEqual('TextAlign.Start'); + expect(obj.$attrs.textAlign).assertEqual('TextAlign.Left'); console.info('[testPositionSetting001] END'); done(); }); @@ -92,7 +92,7 @@ export default function positionSettingJsunit() { console.info("[testPositionSetting003] component strJson:" + strJson); let obj = JSON.parse(strJson); console.info("[testPositionSetting003] textAlign: " + obj.$attrs.textAlign); - expect(obj.$attrs.textAlign).assertEqual("TextAlign.Start"); + expect(obj.$attrs.textAlign).assertEqual("TextAlign.Right"); console.info('[testPositionSetting003] END'); done(); });