From 23da4ae8300216a1e3e2e2e7bbd640e1ff7c37e2 Mon Sep 17 00:00:00 2001 From: sunjiakun Date: Wed, 30 Aug 2023 09:47:55 +0800 Subject: [PATCH] =?UTF-8?q?swiper=20=E6=95=B0=E5=AD=97=E5=AF=BC=E8=88=AA?= =?UTF-8?q?=E7=82=B9=E5=AD=97=E4=BD=93=E8=AE=BE=E7=BD=AE=E7=99=BE=E5=88=86?= =?UTF-8?q?=E6=AF=94=E4=BD=BF=E7=94=A8=E4=B8=BB=E9=A2=98=E5=AD=97=E4=BD=93?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: sunjiakun --- .../ace_ets_component_swiper/src/main/ets/test/swiper.ets | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arkui/ace_ets_components_ux/ace_ets_component_swiper/src/main/ets/test/swiper.ets b/arkui/ace_ets_components_ux/ace_ets_component_swiper/src/main/ets/test/swiper.ets index e1cedeb8d..5812ce79c 100644 --- a/arkui/ace_ets_components_ux/ace_ets_component_swiper/src/main/ets/test/swiper.ets +++ b/arkui/ace_ets_components_ux/ace_ets_component_swiper/src/main/ets/test/swiper.ets @@ -1730,7 +1730,7 @@ export default function swiperTest() { JSON.stringify(obj.$attrs.selectedDigitFont)); let obj2 = JSON.parse(obj.$attrs.indicator); console.info("ArkUX_Stage_Swiper_SelectedDigitFont_0300 component obj2 is: " + JSON.stringify(obj2)); - expect(obj2.selectedFontSize).assertEqual("48.00%"); + expect(obj2.selectedFontSize).assertEqual("14.00fp"); expect(obj2.selectedFontWeight).assertEqual("900"); console.info('ArkUX_Stage_Swiper_SelectedDigitFont_0300 END '); done(); @@ -1854,7 +1854,7 @@ export default function swiperTest() { JSON.stringify(obj.$attrs.selectedDigitFont)); let obj2 = JSON.parse(obj.$attrs.indicator); console.info("ArkUX_Stage_Swiper_SelectedDigitFont_0700 component obj2 is: " + JSON.stringify(obj2)); - expect(obj2.selectedFontSize).assertEqual("1000.00%"); + expect(obj2.selectedFontSize).assertEqual("14.00fp"); expect(obj2.selectedFontWeight).assertEqual("FontWeight.Normal"); console.info('ArkUX_Stage_Swiper_SelectedDigitFont_0700 END '); done(); @@ -2074,7 +2074,7 @@ export default function swiperTest() { JSON.stringify(obj.$attrs.digitFont)); let obj2 = JSON.parse(obj.$attrs.indicator); console.info("ArkUX_Stage_Swiper_DigitFont_0300 component obj2 is: " + JSON.stringify(obj2)); - expect(obj2.fontSize).assertEqual("48.00%"); + expect(obj2.fontSize).assertEqual("14.00fp"); expect(obj2.fontWeight).assertEqual("900"); console.info('ArkUX_Stage_Swiper_DigitFont_0300 END '); done(); @@ -2198,7 +2198,7 @@ export default function swiperTest() { JSON.stringify(obj.$attrs.digitFont)); let obj2 = JSON.parse(obj.$attrs.indicator); console.info("ArkUX_Stage_Swiper_DigitFont_0700 component obj2 is: " + JSON.stringify(obj2)); - expect(obj2.fontSize).assertEqual("1000.00%"); + expect(obj2.fontSize).assertEqual("14.00fp"); expect(obj2.fontWeight).assertEqual("FontWeight.Normal"); console.info('ArkUX_Stage_Swiper_DigitFont_0700 END '); done(); -- GitLab