From c0ec8826839d51279fcaaa4229702b77b12f2169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=AE=9D=E8=BF=AA?= Date: Wed, 18 Dec 2024 17:12:31 +0800 Subject: [PATCH] =?UTF-8?q?Toggle=20=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陈宝迪 --- OAT.xml | 2 + .../main/resources/base/element/integer.json | 8 + .../main/resources/base/element/string.json | 24 + .../src/main/resources/dark/element/dark.json | 8 + .../font/HarmonyOS_Sans_Thin_Italic.ttf | Bin 0 -> 143400 bytes .../src/ohosTest/ets/test/Ability.test.ets | 2 +- .../entry/src/ohosTest/ets/test/List.test.ets | 82 +- .../UIComponentButtonCommonButton.test.ets | 141 +- .../UIComponentButtonRadioStyle.test.ets | 368 +++ .../UIComponentButtonStyle.test.ets | 66 +- .../UIComponentButtonTextPickerEvent.test.ets | 102 + ...IComponentButtonTextPickerFadeout.test.ets | 256 ++ ...omponentButtonTextPickerInterface.test.ets | 726 +++++ ...ponentButtonTextPickerMirrorImage.test.ets | 2435 +++++++++++++++ ...ttonTextPickerOverBoundaryRebound.test.ets | 155 + .../UIComponentButtonTimepickerEvent.test.ets | 51 + ...omponentButtonTimepickerInterface.test.ets | 447 +++ ...IComponentButtonTimepickerNumeric.test.ets | 2725 +++++++++++++++++ ...IComponentButtonToggleCustomizing.test.ets | 316 ++ .../UIComponentButtonToggleEvent.test.ets | 59 + ...IComponentButtonToggleInteraction.test.ets | 106 + .../UIComponentButtonToggleInterface.test.ets | 149 + .../UIComponentButtonToggleMirror.test.ets | 198 ++ ...mSelectionTimePickerLanguageOrder.test.ets | 530 ++++ ...lComponentsDialogTextPickerDialog.test.ets | 2001 ++++++++++++ .../UIComponentPopupBoxPicker.test.ets | 76 + .../UIComponentPopupBoxPopup.test.ets | 245 ++ ...omponentPopupBoxPromptToastSystem.test.ets | 192 ++ ...onentPopupBoxSpecificationsShadow.test.ets | 866 +++++- .../UIComponentPopupBoxStyleStrong.test.ets | 136 + .../UIComponentPopupboxButtonstyle.test.ets | 110 + ...ComponentPopupboxConsistencyScene.test.ets | 50 + .../UIComponentPopupboxEnter.test.ets | 234 ++ .../UIComponentPopupboxMenuMenuTest.test.ets | 484 +++ .../UIComponentPopupboxPickerold.test.ets | 75 + ...upboxPopupFollowtransformoftarget.test.ets | 57 + ...pupboxTextPickerDialogInteraction.test.ets | 94 + ...PopupboxTextPickerDialogInterface.test.ets | 808 +++++ ...opupboxTimepickerdialogInterface2.test.ets | 850 +++++ ...PopupboxTimepickerdialogInterface.test.ets | 1380 +++++++++ ...pboxTimepickerdialogScenariosTest.test.ets | 123 + ...mponentScrollPickerPickerrefactor.test.ets | 52 + .../UIComponentUISupportColor.test.ets | 476 ++- .../src/ohosTest/ets/test/model/Logger.ts | 50 +- .../src/ohosTest/ets/test/model/Settings.ets | 82 +- .../src/ohosTest/ets/test/model/Utils.ets | 36 +- .../ohosTest/ets/test/model/globalThis.ets | 29 +- .../src/ohosTest/ets/test/model/snapShot.ets | 48 +- .../ohosTest/ets/testability/TestAbility.ets | 28 +- ...alComponentsDialogTextPickerDialog0110.ets | 34 + ...alComponentsDialogTextPickerDialog0120.ets | 31 + ...alComponentsDialogTextPickerDialog0130.ets | 40 + ...alComponentsDialogTextPickerDialog0140.ets | 38 + ...alComponentsDialogTextPickerDialog0180.ets | 50 + ...alComponentsDialogTextPickerDialog0210.ets | 36 + ...alComponentsDialogTextPickerDialog0220.ets | 32 + ...alComponentsDialogTextPickerDialog0230.ets | 36 + ...alComponentsDialogTextPickerDialog0240.ets | 32 + ...alComponentsDialogTextPickerDialog0250.ets | 34 + ...alComponentsDialogTextPickerDialog0260.ets | 34 + ...alComponentsDialogTextPickerDialog0270.ets | 34 + ...alComponentsDialogTextPickerDialog0280.ets | 34 + ...alComponentsDialogTextPickerDialog0290.ets | 36 + ...alComponentsDialogTextPickerDialog0330.ets | 36 + ...alComponentsDialogTextPickerDialog0520.ets | 34 + ...alComponentsDialogTextPickerDialog0530.ets | 34 + ...alComponentsDialogTextPickerDialog0540.ets | 34 + ...alComponentsDialogTextPickerDialog0550.ets | 36 + ...alComponentsDialogTextPickerDialog0560.ets | 36 + ...alComponentsDialogTextPickerDialog0570.ets | 36 + ...alComponentsDialogTextPickerDialog0580.ets | 36 + ...alComponentsDialogTextPickerDialog0590.ets | 36 + ...alComponentsDialogTextPickerDialog0600.ets | 45 + ...alComponentsDialogTextPickerDialog0610.ets | 37 + ...alComponentsDialogTextPickerDialog0620.ets | 44 + ...alComponentsDialogTextPickerDialog0630.ets | 32 + ...alComponentsDialogTextPickerDialog0640.ets | 32 + ...alComponentsDialogTextPickerDialog0650.ets | 32 + ...alComponentsDialogTextPickerDialog0660.ets | 32 + ...alComponentsDialogTextPickerDialog0670.ets | 32 + ...alComponentsDialogTextPickerDialog0680.ets | 32 + ...alComponentsDialogTextPickerDialog0690.ets | 32 + ...alComponentsDialogTextPickerDialog0700.ets | 32 + ...alComponentsDialogTextPickerDialog0710.ets | 32 + ...alComponentsDialogTextPickerDialog0720.ets | 32 + ...alComponentsDialogTextPickerDialog0730.ets | 32 + ...alComponentsDialogTextPickerDialog0740.ets | 32 + ...alComponentsDialogTextPickerDialog0750.ets | 32 + ...alComponentsDialogTextPickerDialog0760.ets | 32 + ...alComponentsDialogTextPickerDialog0770.ets | 32 + ...alComponentsDialogTextPickerDialog0780.ets | 32 + ...alComponentsDialogTextPickerDialog0800.ets | 32 + ...alComponentsDialogTextPickerDialog0810.ets | 32 + ...alComponentsDialogTextPickerDialog1010.ets | 34 + ...alComponentsDialogTextPickerDialog1020.ets | 34 + ...alComponentsDialogTextPickerDialog1030.ets | 34 + ...alComponentsDialogTextPickerDialog1040.ets | 34 + ...alComponentsDialogTextPickerDialog1050.ets | 34 + ...alComponentsDialogTextPickerDialog1060.ets | 34 + ...alComponentsDialogTextPickerDialog1070.ets | 34 + ...alComponentsDialogTextPickerDialog1080.ets | 34 + ...alComponentsDialogTextPickerDialog1090.ets | 34 + ...alComponentsDialogTextPickerDialog1100.ets | 34 + ...alComponentsDialogTextPickerDialog1110.ets | 34 + ...alComponentsDialogTextPickerDialog1120.ets | 34 + ...alComponentsDialogTextPickerDialog1130.ets | 34 + ...alComponentsDialogTextPickerDialog1140.ets | 34 + .../UIComponentUIsupportColor0130.ets | 36 + .../ModifierConfig.ets | 88 + .../UIComponentButtonCommonButton0460.ets | 45 + .../UIComponentButtonCommonButton0470.ets | 47 + .../UIComponentButtonCommonButton0480.ets | 43 + .../UIComponentButtonCommonButton0490.ets | 43 + .../UIComponentButtonCommonButton0500.ets | 52 + .../UIComponentButtonCommonButton0510.ets | 40 + .../UIComponentButtonRadioStyle006.ets | 33 + .../UIComponentButtonRadioStyle008.ets | 44 + .../UIComponentButtonRadioStyle009.ets | 47 + .../UIComponentButtonRadioStyle010.ets | 44 + .../UIComponentButtonRadioStyle012.ets | 34 + .../UIComponentButtonRadioStyle014.ets | 32 + .../UIComponentButtonRadioStyle015.ets | 32 + .../UIComponentButtonRadioStyle016.ets | 37 + .../UIComponentButtonRadioStyle017.ets | 47 + .../UIComponentButtonRadioStyle018.ets | 32 + .../UIComponentButtonRadioStyle019.ets | 32 + .../UIComponentButtonRadioStyle020.ets | 37 + .../UIComponentButtonRadioStyle021.ets | 40 + .../UIComponentButtonRadioStyle022.ets | 42 + .../UIComponentButtonRadioStyle023.ets | 47 + .../UIComponentButtonRadioStyle024.ets | 47 + .../UIComponentButtonRadioStyle025.ets | 50 + .../UIComponentButtonRadioStyle026.ets | 49 + ...UIComponentButtonSelectControlSize0020.ets | 3 +- ...UIComponentButtonSelectControlSize0030.ets | 3 +- ...UIComponentButtonSelectControlSize0040.ets | 3 +- ...UIComponentButtonSelectControlSize0050.ets | 3 +- ...UIComponentButtonSelectControlSize0060.ets | 3 +- ...UIComponentButtonSelectControlSize0070.ets | 3 +- ...UIComponentButtonSelectControlSize0080.ets | 5 +- ...UIComponentButtonSelectControlSize0090.ets | 5 +- ...UIComponentButtonSelectControlSize0100.ets | 3 +- ...UIComponentButtonSelectControlSize0110.ets | 3 +- ...UIComponentButtonSelectControlSize0120.ets | 3 +- ...UIComponentButtonSelectControlSize0130.ets | 3 +- ...UIComponentButtonSelectControlSize0140.ets | 3 +- ...UIComponentButtonSelectControlSize0150.ets | 3 +- ...UIComponentButtonSelectControlSize0160.ets | 3 +- ...UIComponentButtonSelectControlSize0170.ets | 3 +- ...UIComponentButtonSelectControlSize0180.ets | 3 +- ...UIComponentButtonSelectControlSize0190.ets | 3 +- ...UIComponentButtonSelectControlSize0200.ets | 3 +- ...UIComponentButtonSelectControlSize0210.ets | 3 +- ...UIComponentButtonSelectControlSize0220.ets | 3 +- ...UIComponentButtonSelectControlSize0230.ets | 3 +- ...UIComponentButtonSelectControlSize0240.ets | 3 +- ...UIComponentButtonSelectControlSize0250.ets | 3 +- ...UIComponentButtonSelectControlSize0260.ets | 3 +- ...UIComponentButtonSelectControlSize0270.ets | 3 +- ...UIComponentButtonSelectControlSize0280.ets | 3 +- ...UIComponentButtonSelectControlSize0290.ets | 3 +- ...UIComponentButtonSelectControlSize0300.ets | 3 +- ...UIComponentButtonSelectControlSize0310.ets | 3 +- ...UIComponentButtonSelectControlSize0320.ets | 3 +- ...UIComponentButtonSelectControlSize0330.ets | 3 +- ...UIComponentButtonSelectControlSize0340.ets | 3 +- ...UIComponentButtonSelectControlSize0350.ets | 3 +- ...UIComponentButtonSelectControlSize0360.ets | 3 +- ...UIComponentButtonSelectControlSize0370.ets | 3 +- ...UIComponentButtonSelectControlSize0380.ets | 3 +- ...UIComponentButtonSelectControlSize0390.ets | 9 +- ...UIComponentButtonSelectControlSize0400.ets | 3 +- ...UIComponentButtonSelectControlSize0410.ets | 3 +- ...UIComponentButtonSelectControlSize0420.ets | 10 +- ...UIComponentButtonSelectControlSize0430.ets | 3 +- ...UIComponentButtonSelectControlSize0450.ets | 3 +- ...UIComponentButtonSelectControlSize0470.ets | 3 +- ...UIComponentButtonSelectControlSize0480.ets | 3 +- ...UIComponentButtonSelectControlSize0490.ets | 3 +- ...UIComponentButtonSelectControlSize0500.ets | 3 +- ...UIComponentButtonSelectControlSize0510.ets | 3 +- ...UIComponentButtonSelectControlSize0520.ets | 5 +- ...UIComponentButtonSelectControlSize0530.ets | 5 +- ...UIComponentButtonSelectControlSize0540.ets | 3 +- ...UIComponentButtonSelectControlSize0550.ets | 3 +- ...UIComponentButtonSelectControlSize0560.ets | 3 +- ...UIComponentButtonSelectControlSize0570.ets | 3 +- ...UIComponentButtonSelectControlSize0580.ets | 3 +- ...UIComponentButtonSelectControlSize0590.ets | 3 +- ...UIComponentButtonSelectControlSize0600.ets | 3 +- ...UIComponentButtonSelectControlSize0610.ets | 3 +- ...UIComponentButtonSelectControlSize0620.ets | 3 +- ...UIComponentButtonSelectControlSize0630.ets | 3 +- ...UIComponentButtonSelectControlSize0640.ets | 7 +- ...UIComponentButtonSelectControlSize0650.ets | 9 +- ...UIComponentButtonSelectControlSize0660.ets | 5 +- ...UIComponentButtonSelectControlSize0670.ets | 3 +- ...UIComponentButtonSelectControlSize0680.ets | 3 +- ...UIComponentButtonSelectControlSize0690.ets | 3 +- ...UIComponentButtonSelectControlSize0700.ets | 3 +- ...UIComponentButtonSelectControlSize0710.ets | 3 +- ...UIComponentButtonSelectControlSize0720.ets | 3 +- ...UIComponentButtonSelectControlSize0730.ets | 3 +- ...UIComponentButtonSelectControlSize0740.ets | 3 +- ...UIComponentButtonSelectControlSize0750.ets | 3 +- ...UIComponentButtonSelectControlSize0760.ets | 3 +- ...UIComponentButtonSelectControlSize0770.ets | 3 +- ...UIComponentButtonSelectControlSize0780.ets | 3 +- ...UIComponentButtonSelectControlSize0790.ets | 3 +- ...UIComponentButtonSelectControlSize0800.ets | 3 +- ...UIComponentButtonSelectControlSize0810.ets | 9 +- ...UIComponentButtonSelectControlSize0820.ets | 2 +- ...UIComponentButtonSelectControlSize0830.ets | 2 +- ...UIComponentButtonSelectControlSize0840.ets | 9 +- ...UIComponentButtonSelectControlSize0860.ets | 3 +- ...UIComponentButtonSelectControlSize0880.ets | 3 +- ...UIComponentButtonSelectControlSize0890.ets | 2 +- ...UIComponentButtonSelectControlSize0900.ets | 3 +- ...UIComponentButtonSelectControlSize0910.ets | 3 +- ...UIComponentButtonSelectControlSize0920.ets | 3 +- ...UIComponentButtonSelectControlSize0930.ets | 3 +- ...UIComponentButtonSelectControlSize0940.ets | 3 +- ...UIComponentButtonSelectControlSize0950.ets | 3 +- ...UIComponentButtonSelectControlSize0960.ets | 3 +- ...UIComponentButtonSelectControlSize0970.ets | 3 +- ...UIComponentButtonSelectControlSize0980.ets | 3 +- ...UIComponentButtonSelectControlSize0990.ets | 3 +- ...UIComponentButtonSelectControlSize1000.ets | 3 +- ...UIComponentButtonSelectControlSize1010.ets | 2 +- .../UIComponentButtonStyle0100.ets | 52 + .../UIComponentButtonStyle0120.ets | 44 + .../UIComponentButtonTextPickerEvent0010.ets | 38 + .../UIComponentButtonTextPickerEvent0020.ets | 38 + .../UIComponentButtonTextPickerEvent0030.ets | 105 + .../UIComponentButtonTextPickerEvent0040.ets | 101 + ...UIComponentButtonTextPickerFadeout0010.ets | 37 + ...UIComponentButtonTextPickerFadeout0030.ets | 37 + ...UIComponentButtonTextPickerFadeout0040.ets | 37 + ...UIComponentButtonTextPickerFadeout0050.ets | 36 + ...UIComponentButtonTextPickerFadeout0070.ets | 37 + ...UIComponentButtonTextPickerFadeout0080.ets | 37 + ...UIComponentButtonTextPickerFadeout0090.ets | 37 + ...UIComponentButtonTextPickerFadeout0100.ets | 37 + ...UIComponentButtonTextPickerFadeout0110.ets | 37 + ...UIComponentButtonTextPickerFadeout0120.ets | 37 + ...UIComponentButtonTextPickerFadeout0130.ets | 37 + ...ComponentButtonTextPickerInterface0010.ets | 29 + ...ComponentButtonTextPickerInterface0030.ets | 29 + ...ComponentButtonTextPickerInterface0040.ets | 29 + ...ComponentButtonTextPickerInterface0050.ets | 29 + ...ComponentButtonTextPickerInterface0060.ets | 29 + ...ComponentButtonTextPickerInterface0070.ets | 36 + ...ComponentButtonTextPickerInterface0080.ets | 35 + ...ComponentButtonTextPickerInterface0090.ets | 37 + ...ComponentButtonTextPickerInterface0100.ets | 42 + ...ComponentButtonTextPickerInterface0120.ets | 29 + ...ComponentButtonTextPickerInterface0130.ets | 29 + ...ComponentButtonTextPickerInterface0150.ets | 31 + ...ComponentButtonTextPickerInterface0160.ets | 30 + ...ComponentButtonTextPickerInterface0170.ets | 29 + ...ComponentButtonTextPickerInterface0230.ets | 29 + ...ComponentButtonTextPickerInterface0240.ets | 29 + ...ComponentButtonTextPickerInterface0250.ets | 29 + ...ComponentButtonTextPickerInterface0260.ets | 29 + ...ComponentButtonTextPickerInterface0270.ets | 29 + ...ComponentButtonTextPickerInterface0280.ets | 32 + ...ComponentButtonTextPickerInterface0290.ets | 47 + ...ComponentButtonTextPickerInterface0300.ets | 42 + ...ComponentButtonTextPickerInterface0310.ets | 51 + ...ComponentButtonTextPickerInterface0320.ets | 30 + ...ComponentButtonTextPickerInterface0330.ets | 29 + ...ComponentButtonTextPickerInterface0340.ets | 39 + ...ComponentButtonTextPickerInterface0350.ets | 39 + ...ComponentButtonTextPickerInterface0360.ets | 39 + ...ComponentButtonTextPickerInterface0370.ets | 35 + ...ComponentButtonTextPickerInterface0380.ets | 36 + ...ComponentButtonTextPickerInterface0390.ets | 29 + ...ComponentButtonTextPickerInterface0400.ets | 32 + ...ComponentButtonTextPickerInterface0410.ets | 30 + ...ComponentButtonTextPickerInterface0420.ets | 29 + ...ComponentButtonTextPickerInterface0510.ets | 29 + ...ComponentButtonTextPickerInterface0520.ets | 29 + ...ComponentButtonTextPickerInterface0530.ets | 29 + ...ComponentButtonTextPickerInterface0540.ets | 29 + ...ComponentButtonTextPickerInterface0550.ets | 28 + ...ComponentButtonTextPickerInterface0560.ets | 34 + ...ComponentButtonTextPickerInterface0570.ets | 34 + ...ComponentButtonTextPickerInterface0580.ets | 34 + .../Commons.ets | 282 ++ ...mponentButtonTextPickerMirrorImage0020.ets | 51 + ...mponentButtonTextPickerMirrorImage0030.ets | 65 + ...mponentButtonTextPickerMirrorImage0050.ets | 48 + ...mponentButtonTextPickerMirrorImage0060.ets | 48 + ...mponentButtonTextPickerMirrorImage0070.ets | 49 + ...mponentButtonTextPickerMirrorImage0080.ets | 51 + ...mponentButtonTextPickerMirrorImage0090.ets | 65 + ...mponentButtonTextPickerMirrorImage0100.ets | 73 + ...mponentButtonTextPickerMirrorImage0110.ets | 45 + ...mponentButtonTextPickerMirrorImage0120.ets | 48 + ...mponentButtonTextPickerMirrorImage0130.ets | 49 + ...mponentButtonTextPickerMirrorImage0140.ets | 70 + ...mponentButtonTextPickerMirrorImage0150.ets | 60 + ...mponentButtonTextPickerMirrorImage0170.ets | 49 + ...mponentButtonTextPickerMirrorImage0180.ets | 50 + ...mponentButtonTextPickerMirrorImage0190.ets | 49 + ...mponentButtonTextPickerMirrorImage0200.ets | 49 + ...mponentButtonTextPickerMirrorImage0220.ets | 50 + ...mponentButtonTextPickerMirrorImage0230.ets | 49 + ...mponentButtonTextPickerMirrorImage0250.ets | 49 + ...mponentButtonTextPickerMirrorImage0260.ets | 49 + ...mponentButtonTextPickerMirrorImage0270.ets | 49 + ...mponentButtonTextPickerMirrorImage0280.ets | 43 + ...mponentButtonTextPickerMirrorImage0290.ets | 42 + ...mponentButtonTextPickerMirrorImage0300.ets | 42 + ...mponentButtonTextPickerMirrorImage0320.ets | 49 + ...mponentButtonTextPickerMirrorImage0330.ets | 66 + ...mponentButtonTextPickerMirrorImage0340.ets | 59 + ...mponentButtonTextPickerMirrorImage0350.ets | 67 + ...mponentButtonTextPickerMirrorImage0360.ets | 69 + ...mponentButtonTextPickerMirrorImage0370.ets | 66 + ...mponentButtonTextPickerMirrorImage0380.ets | 62 + ...mponentButtonTextPickerMirrorImage0390.ets | 59 + ...mponentButtonTextPickerMirrorImage0400.ets | 59 + ...mponentButtonTextPickerMirrorImage0410.ets | 69 + ...mponentButtonTextPickerMirrorImage0420.ets | 69 + ...mponentButtonTextPickerMirrorImage0430.ets | 70 + ...mponentButtonTextPickerMirrorImage0440.ets | 73 + ...mponentButtonTextPickerMirrorImage0450.ets | 71 + ...mponentButtonTextPickerMirrorImage0470.ets | 71 + ...mponentButtonTextPickerMirrorImage0480.ets | 72 + ...mponentButtonTextPickerMirrorImage0490.ets | 68 + ...mponentButtonTextPickerMirrorImage0500.ets | 67 + ...mponentButtonTextPickerMirrorImage0510.ets | 65 + ...mponentButtonTextPickerMirrorImage0520.ets | 49 + ...mponentButtonTextPickerMirrorImage0530.ets | 51 + ...mponentButtonTextPickerMirrorImage0540.ets | 42 + ...mponentButtonTextPickerMirrorImage0550.ets | 70 + ...mponentButtonTextPickerMirrorImage0560.ets | 65 + ...mponentButtonTextPickerMirrorImage0570.ets | 48 + ...mponentButtonTextPickerMirrorImage0580.ets | 48 + ...mponentButtonTextPickerMirrorImage0590.ets | 73 + ...mponentButtonTextPickerMirrorImage0620.ets | 48 + ...mponentButtonTextPickerMirrorImage0630.ets | 49 + ...mponentButtonTextPickerMirrorImage0640.ets | 63 + ...mponentButtonTextPickerMirrorImage0650.ets | 51 + ...mponentButtonTextPickerMirrorImage0660.ets | 41 + ...mponentButtonTextPickerMirrorImage0670.ets | 42 + ...mponentButtonTextPickerMirrorImage0680.ets | 61 + ...mponentButtonTextPickerMirrorImage0690.ets | 66 + ...mponentButtonTextPickerMirrorImage0700.ets | 63 + ...mponentButtonTextPickerMirrorImage0710.ets | 67 + ...mponentButtonTextPickerMirrorImage0720.ets | 66 + ...mponentButtonTextPickerMirrorImage0730.ets | 65 + ...mponentButtonTextPickerMirrorImage0740.ets | 64 + ...mponentButtonTextPickerMirrorImage0750.ets | 64 + ...mponentButtonTextPickerMirrorImage0760.ets | 67 + ...mponentButtonTextPickerMirrorImage0770.ets | 42 + ...mponentButtonTextPickerMirrorImage0780.ets | 66 + ...mponentButtonTextPickerMirrorImage0790.ets | 62 + ...mponentButtonTextPickerMirrorImage0800.ets | 67 + ...mponentButtonTextPickerMirrorImage0810.ets | 66 + ...mponentButtonTextPickerMirrorImage0820.ets | 66 + ...mponentButtonTextPickerMirrorImage0830.ets | 72 + ...mponentButtonTextPickerMirrorImage0840.ets | 59 + ...mponentButtonTextPickerMirrorImage0850.ets | 71 + ...mponentButtonTextPickerMirrorImage0860.ets | 67 + ...mponentButtonTextPickerMirrorImage0870.ets | 66 + ...mponentButtonTextPickerMirrorImage0880.ets | 67 + ...mponentButtonTextPickerMirrorImage0890.ets | 59 + ...mponentButtonTextPickerMirrorImage0900.ets | 72 + ...mponentButtonTextPickerMirrorImage0910.ets | 66 + ...mponentButtonTextPickerMirrorImage0920.ets | 68 + ...mponentButtonTextPickerMirrorImage0930.ets | 64 + ...mponentButtonTextPickerMirrorImage0940.ets | 67 + ...mponentButtonTextPickerMirrorImage0950.ets | 72 + ...mponentButtonTextPickerMirrorImage0960.ets | 68 + ...mponentButtonTextPickerMirrorImage0970.ets | 67 + ...mponentButtonTextPickerMirrorImage0980.ets | 68 + ...mponentButtonTextPickerMirrorImage0990.ets | 70 + ...mponentButtonTextPickerMirrorImage1000.ets | 66 + ...uttonTextPickerOverBoundaryRebound0010.ets | 30 + ...uttonTextPickerOverBoundaryRebound0020.ets | 30 + ...uttonTextPickerOverBoundaryRebound0030.ets | 39 + ...uttonTextPickerOverBoundaryRebound0040.ets | 33 + ...uttonTextPickerOverBoundaryRebound0050.ets | 53 + .../UIComponentButtonTimepickerEvent0020.ets | 44 + ...ComponentButtonTimepickerInterface0010.ets | 39 + ...ComponentButtonTimepickerInterface0020.ets | 39 + ...ComponentButtonTimepickerInterface0030.ets | 39 + ...ComponentButtonTimepickerInterface0110.ets | 38 + ...ComponentButtonTimepickerInterface0130.ets | 32 + ...ComponentButtonTimepickerInterface0140.ets | 38 + ...ComponentButtonTimepickerInterface0150.ets | 38 + ...ComponentButtonTimepickerInterface0160.ets | 38 + ...ComponentButtonTimepickerInterface0170.ets | 38 + ...ComponentButtonTimepickerInterface0180.ets | 28 + ...ComponentButtonTimepickerInterface0190.ets | 32 + ...ComponentButtonTimepickerInterface0200.ets | 41 + ...ComponentButtonTimepickerInterface0210.ets | 32 + ...ComponentButtonTimepickerInterface0220.ets | 28 + ...ComponentButtonTimepickerInterface0230.ets | 40 + ...ComponentButtonTimepickerInterface0240.ets | 30 + ...ComponentButtonTimepickerInterface0250.ets | 30 + ...ComponentButtonTimepickerInterface0260.ets | 41 + ...ComponentButtonTimepickerInterface0270.ets | 30 + ...ComponentButtonTimepickerInterface0280.ets | 41 + ...ComponentButtonTimepickerInterface0290.ets | 42 + ...ComponentButtonTimepickerInterface0300.ets | 30 + ...ComponentButtonTimepickerInterface0310.ets | 29 + ...ComponentButtonTimepickerInterface0360.ets | 46 + ...ComponentButtonTimepickerInterface0370.ets | 45 + ...UIComponentButtonTimepickerNumeric0010.ets | 44 + ...UIComponentButtonTimepickerNumeric0020.ets | 41 + ...UIComponentButtonTimepickerNumeric0030.ets | 44 + ...UIComponentButtonTimepickerNumeric0040.ets | 44 + ...UIComponentButtonTimepickerNumeric0050.ets | 41 + ...UIComponentButtonTimepickerNumeric0060.ets | 41 + ...UIComponentButtonTimepickerNumeric0070.ets | 44 + ...UIComponentButtonTimepickerNumeric0080.ets | 41 + ...UIComponentButtonTimepickerNumeric0090.ets | 41 + ...UIComponentButtonTimepickerNumeric0100.ets | 41 + ...UIComponentButtonTimepickerNumeric0110.ets | 41 + ...UIComponentButtonTimepickerNumeric0120.ets | 41 + ...UIComponentButtonTimepickerNumeric0130.ets | 44 + ...UIComponentButtonTimepickerNumeric0140.ets | 44 + ...UIComponentButtonTimepickerNumeric0150.ets | 44 + ...UIComponentButtonTimepickerNumeric0160.ets | 44 + ...UIComponentButtonTimepickerNumeric0170.ets | 44 + ...UIComponentButtonTimepickerNumeric0180.ets | 44 + ...UIComponentButtonTimepickerNumeric0190.ets | 44 + ...UIComponentButtonTimepickerNumeric0200.ets | 44 + ...UIComponentButtonTimepickerNumeric0210.ets | 41 + ...UIComponentButtonTimepickerNumeric0220.ets | 40 + ...UIComponentButtonTimepickerNumeric0230.ets | 41 + ...UIComponentButtonTimepickerNumeric0240.ets | 41 + ...UIComponentButtonTimepickerNumeric0250.ets | 41 + ...UIComponentButtonTimepickerNumeric0260.ets | 41 + ...UIComponentButtonTimepickerNumeric0270.ets | 41 + ...UIComponentButtonTimepickerNumeric0280.ets | 41 + ...UIComponentButtonTimepickerNumeric0290.ets | 41 + ...UIComponentButtonTimepickerNumeric0300.ets | 41 + ...UIComponentButtonTimepickerNumeric0310.ets | 41 + ...UIComponentButtonTimepickerNumeric0320.ets | 41 + ...UIComponentButtonTimepickerNumeric0330.ets | 41 + ...UIComponentButtonTimepickerNumeric0340.ets | 41 + ...UIComponentButtonTimepickerNumeric0350.ets | 41 + ...UIComponentButtonTimepickerNumeric0360.ets | 37 + ...UIComponentButtonTimepickerNumeric0370.ets | 40 + ...UIComponentButtonTimepickerNumeric0380.ets | 40 + ...UIComponentButtonTimepickerNumeric0390.ets | 40 + ...UIComponentButtonTimepickerNumeric0400.ets | 40 + ...UIComponentButtonTimepickerNumeric0410.ets | 43 + ...UIComponentButtonTimepickerNumeric0420.ets | 43 + ...UIComponentButtonTimepickerNumeric0430.ets | 40 + ...UIComponentButtonTimepickerNumeric0440.ets | 37 + ...UIComponentButtonTimepickerNumeric0450.ets | 39 + ...UIComponentButtonTimepickerNumeric0460.ets | 45 + ...UIComponentButtonTimepickerNumeric0470.ets | 45 + ...UIComponentButtonTimepickerNumeric0480.ets | 45 + ...UIComponentButtonTimepickerNumeric0490.ets | 45 + ...UIComponentButtonTimepickerNumeric0500.ets | 45 + ...UIComponentButtonTimepickerNumeric0510.ets | 45 + ...UIComponentButtonTimepickerNumeric0520.ets | 45 + ...UIComponentButtonTimepickerNumeric0530.ets | 41 + ...UIComponentButtonTimepickerNumeric0540.ets | 41 + ...UIComponentButtonTimepickerNumeric0550.ets | 41 + ...UIComponentButtonTimepickerNumeric0560.ets | 41 + ...UIComponentButtonTimepickerNumeric0570.ets | 41 + ...UIComponentButtonTimepickerNumeric0580.ets | 41 + ...UIComponentButtonTimepickerNumeric0590.ets | 41 + ...UIComponentButtonTimepickerNumeric0600.ets | 41 + ...UIComponentButtonTimepickerNumeric0610.ets | 41 + ...UIComponentButtonTimepickerNumeric0620.ets | 45 + ...UIComponentButtonTimepickerNumeric0630.ets | 45 + ...UIComponentButtonTimepickerNumeric0640.ets | 45 + ...UIComponentButtonTimepickerNumeric0650.ets | 45 + ...UIComponentButtonTimepickerNumeric0660.ets | 45 + ...UIComponentButtonTimepickerNumeric0670.ets | 45 + ...UIComponentButtonTimepickerNumeric0680.ets | 45 + ...UIComponentButtonTimepickerNumeric0690.ets | 45 + ...UIComponentButtonTimepickerNumeric0700.ets | 41 + ...UIComponentButtonTimepickerNumeric0710.ets | 45 + ...UIComponentButtonTimepickerNumeric0720.ets | 41 + ...UIComponentButtonTimepickerNumeric0730.ets | 45 + ...UIComponentButtonTimepickerNumeric0740.ets | 41 + ...UIComponentButtonTimepickerNumeric0750.ets | 41 + ...UIComponentButtonTimepickerNumeric0760.ets | 45 + ...UIComponentButtonTimepickerNumeric0770.ets | 41 + ...UIComponentButtonTimepickerNumeric0780.ets | 41 + ...UIComponentButtonTimepickerNumeric0790.ets | 41 + ...UIComponentButtonTimepickerNumeric0800.ets | 41 + ...UIComponentButtonTimepickerNumeric0810.ets | 41 + ...UIComponentButtonTimepickerNumeric0820.ets | 44 + ...UIComponentButtonTimepickerNumeric0830.ets | 44 + ...UIComponentButtonTimepickerNumeric0840.ets | 40 + ...UIComponentButtonTimepickerNumeric0850.ets | 40 + ...UIComponentButtonTimepickerNumeric0860.ets | 40 + ...UIComponentButtonTimepickerNumeric0870.ets | 40 + ...UIComponentButtonTimepickerNumeric0880.ets | 41 + ...UIComponentButtonTimepickerNumeric0890.ets | 37 + ...UIComponentButtonTimepickerNumeric0900.ets | 36 + ...UIComponentButtonTimepickerNumeric0910.ets | 41 + ...UIComponentButtonTimepickerNumeric0920.ets | 44 + ...UIComponentButtonTimepickerNumeric0930.ets | 41 + ...UIComponentButtonTimepickerNumeric0940.ets | 44 + ...UIComponentButtonTimepickerNumeric0950.ets | 41 + ...UIComponentButtonTimepickerNumeric0960.ets | 41 + ...UIComponentButtonTimepickerNumeric0970.ets | 41 + ...UIComponentButtonTimepickerNumeric0980.ets | 41 + ...UIComponentButtonTimepickerNumeric0990.ets | 44 + ...UIComponentButtonTimepickerNumeric1000.ets | 41 + ...UIComponentButtonTimepickerNumeric1010.ets | 41 + ...UIComponentButtonTimepickerNumeric1020.ets | 41 + ...UIComponentButtonTimepickerNumeric1030.ets | 41 + ...UIComponentButtonTimepickerNumeric1040.ets | 41 + ...UIComponentButtonTimepickerNumeric1050.ets | 41 + ...UIComponentButtonTimepickerNumeric1060.ets | 41 + ...UIComponentButtonTimepickerNumeric1070.ets | 41 + ...UIComponentButtonTimepickerNumeric1080.ets | 41 + ...UIComponentButtonTimepickerNumeric1090.ets | 41 + ...UIComponentButtonTimepickerNumeric1100.ets | 41 + ...UIComponentButtonTimepickerNumeric1110.ets | 44 + ...UIComponentButtonTimepickerNumeric1120.ets | 41 + ...UIComponentButtonTimepickerNumeric1130.ets | 41 + ...UIComponentButtonTimepickerNumeric1140.ets | 41 + ...UIComponentButtonTimepickerNumeric1150.ets | 41 + ...UIComponentButtonTimepickerNumeric1160.ets | 41 + ...UIComponentButtonTimepickerNumeric1170.ets | 41 + ...UIComponentButtonTimepickerNumeric1180.ets | 41 + ...UIComponentButtonTimepickerNumeric1190.ets | 44 + ...UIComponentButtonTimepickerNumeric1200.ets | 41 + ...UIComponentButtonTimepickerNumeric1210.ets | 44 + ...UIComponentButtonTimepickerNumeric1220.ets | 41 + ...UIComponentButtonTimepickerNumeric1230.ets | 41 + ...UIComponentButtonTimepickerNumeric1240.ets | 44 + ...UIComponentButtonTimepickerNumeric1250.ets | 41 + ...UIComponentButtonTimepickerNumeric1260.ets | 37 + ...UIComponentButtonTimepickerNumeric1270.ets | 40 + ...UIComponentButtonTimepickerNumeric1280.ets | 41 + ...UIComponentButtonTimepickerNumeric1290.ets | 40 + ...UIComponentButtonTimepickerNumeric1300.ets | 40 + ...UIComponentButtonTimepickerNumeric1310.ets | 40 + ...UIComponentButtonTimepickerNumeric1320.ets | 40 + ...UIComponentButtonTimepickerNumeric1330.ets | 37 + ...UIComponentButtonTimepickerNumeric1340.ets | 37 + ...UIComponentButtonTimepickerNumeric1350.ets | 36 + ...UIComponentButtonTimepickerNumeric1360.ets | 41 + ...UIComponentButtonTimepickerNumeric1370.ets | 41 + ...UIComponentButtonTimepickerNumeric1380.ets | 41 + ...UIComponentButtonTimepickerNumeric1390.ets | 41 + ...UIComponentButtonTimepickerNumeric1400.ets | 41 + ...UIComponentButtonTimepickerNumeric1410.ets | 41 + ...UIComponentButtonTimepickerNumeric1420.ets | 41 + ...UIComponentButtonTimepickerNumeric1430.ets | 41 + ...UIComponentButtonTimepickerNumeric1440.ets | 41 + ...UIComponentButtonTimepickerNumeric1450.ets | 45 + ...UIComponentButtonTimepickerNumeric1460.ets | 41 + ...UIComponentButtonTimepickerNumeric1470.ets | 45 + ...UIComponentButtonTimepickerNumeric1480.ets | 41 + ...UIComponentButtonTimepickerNumeric1490.ets | 41 + ...UIComponentButtonTimepickerNumeric1500.ets | 41 + ...UIComponentButtonTimepickerNumeric1510.ets | 41 + ...UIComponentButtonTimepickerNumeric1520.ets | 41 + ...UIComponentButtonTimepickerNumeric1530.ets | 41 + ...UIComponentButtonTimepickerNumeric1540.ets | 41 + ...UIComponentButtonTimepickerNumeric1550.ets | 41 + ...UIComponentButtonTimepickerNumeric1560.ets | 41 + ...UIComponentButtonTimepickerNumeric1570.ets | 41 + ...UIComponentButtonTimepickerNumeric1580.ets | 41 + ...UIComponentButtonTimepickerNumeric1590.ets | 41 + ...UIComponentButtonTimepickerNumeric1600.ets | 45 + ...UIComponentButtonTimepickerNumeric1610.ets | 41 + ...UIComponentButtonTimepickerNumeric1620.ets | 45 + ...UIComponentButtonTimepickerNumeric1630.ets | 41 + ...UIComponentButtonTimepickerNumeric1640.ets | 41 + ...UIComponentButtonTimepickerNumeric1650.ets | 41 + ...UIComponentButtonTimepickerNumeric1660.ets | 41 + ...UIComponentButtonTimepickerNumeric1670.ets | 41 + ...UIComponentButtonTimepickerNumeric1680.ets | 41 + ...UIComponentButtonTimepickerNumeric1690.ets | 41 + ...UIComponentButtonTimepickerNumeric1700.ets | 45 + ...UIComponentButtonTimepickerNumeric1710.ets | 41 + ...UIComponentButtonTimepickerNumeric1720.ets | 44 + ...UIComponentButtonTimepickerNumeric1730.ets | 44 + ...UIComponentButtonTimepickerNumeric1740.ets | 44 + ...UIComponentButtonTimepickerNumeric1750.ets | 44 + ...UIComponentButtonTimepickerNumeric1760.ets | 44 + ...UIComponentButtonTimepickerNumeric1770.ets | 44 + ...UIComponentButtonTimepickerNumeric1780.ets | 37 + ...UIComponentButtonTimepickerNumeric1790.ets | 37 + ...UIComponentButtonTimepickerNumeric1800.ets | 36 + ...UIComponentButtonToggleCustomizing0010.ets | 47 + ...UIComponentButtonToggleCustomizing0020.ets | 47 + ...UIComponentButtonToggleCustomizing0030.ets | 46 + ...UIComponentButtonToggleCustomizing0050.ets | 43 + ...UIComponentButtonToggleCustomizing0060.ets | 43 + ...UIComponentButtonToggleCustomizing0070.ets | 50 + ...UIComponentButtonToggleCustomizing0080.ets | 50 + ...UIComponentButtonToggleCustomizing0090.ets | 42 + ...UIComponentButtonToggleCustomizing0100.ets | 48 + ...UIComponentButtonToggleCustomizing0110.ets | 45 + ...UIComponentButtonToggleCustomizing0120.ets | 45 + ...UIComponentButtonToggleCustomizing0130.ets | 50 + ...UIComponentButtonToggleCustomizing0140.ets | 50 + ...UIComponentButtonToggleCustomizing0150.ets | 50 + ...UIComponentButtonToggleCustomizing0170.ets | 43 + .../UIComponentButtonToggleEvent0010.ets | 42 + ...UIComponentButtonToggleInteraction0010.ets | 43 + ...UIComponentButtonToggleInteraction0020.ets | 41 + ...UIComponentButtonToggleInteraction0030.ets | 41 + .../UIComponentButtonToggleInterface0010.ets | 44 + .../UIComponentButtonToggleInterface0040.ets | 36 + .../UIComponentButtonToggleInterface0070.ets | 34 + .../UIComponentButtonToggleInterface0170.ets | 36 + .../UIComponentButtonToggleInterface0220.ets | 33 + .../UIComponentButtonToggleInterface0230.ets | 32 + .../UIComponentButtonToggleInterface0250.ets | 36 + .../UIComponentButtonToggleInterface0330.ets | 29 + .../UIComponentButtonToggleMirror0010.ets | 41 + .../UIComponentButtonToggleMirror0030.ets | 42 + .../UIComponentButtonToggleMirror0070.ets | 51 + .../UIComponentButtonToggleMirror0090.ets | 54 + .../UIComponentButtonToggleMirror0100.ets | 57 + .../UIComponentButtonToggleMirror0110.ets | 51 + .../UIComponentButtonToggleMirror0120.ets | 41 + .../UIComponentButtonToggleMirror0130.ets | 41 + .../UIComponentButtonToggleMirror0140.ets | 41 + .../UIComponentContainerSpanInterface002.ets | 34 + ...rmSelectionTimePickerLanguageOrder0020.ets | 54 + ...rmSelectionTimePickerLanguageOrder0030.ets | 48 + ...rmSelectionTimePickerLanguageOrder0040.ets | 61 + ...rmSelectionTimePickerLanguageOrder0050.ets | 48 + ...rmSelectionTimePickerLanguageOrder0060.ets | 54 + ...rmSelectionTimePickerLanguageOrder0070.ets | 54 + ...rmSelectionTimePickerLanguageOrder0080.ets | 48 + ...rmSelectionTimePickerLanguageOrder0090.ets | 68 + ...rmSelectionTimePickerLanguageOrder0100.ets | 54 + ...rmSelectionTimePickerLanguageOrder0110.ets | 68 + ...rmSelectionTimePickerLanguageOrder0120.ets | 54 + ...rmSelectionTimePickerLanguageOrder0130.ets | 48 + ...rmSelectionTimePickerLanguageOrder0140.ets | 48 + ...rmSelectionTimePickerLanguageOrder0150.ets | 49 + ...rmSelectionTimePickerLanguageOrder0160.ets | 54 + ...rmSelectionTimePickerLanguageOrder0170.ets | 48 + ...rmSelectionTimePickerLanguageOrder0180.ets | 54 + ...rmSelectionTimePickerLanguageOrder0190.ets | 54 + ...rmSelectionTimePickerLanguageOrder0200.ets | 48 + ...rmSelectionTimePickerLanguageOrder0210.ets | 61 + ...rmSelectionTimePickerLanguageOrder0220.ets | 54 + ...rmSelectionTimePickerLanguageOrder0230.ets | 48 + ...rmSelectionTimePickerLanguageOrder0240.ets | 54 + ...alComponentsDialogTextPickerDialog0030.ets | 35 + ...alComponentsDialogTextPickerDialog0040.ets | 35 + ...alComponentsDialogTextPickerDialog0080.ets | 34 + ...alComponentsDialogTextPickerDialog0090.ets | 34 + ...alComponentsDialogTextPickerDialog0100.ets | 34 + ...alComponentsDialogTextPickerDialog0150.ets | 37 + ...alComponentsDialogTextPickerDialog0160.ets | 37 + ...alComponentsDialogTextPickerDialog0170.ets | 34 + ...alComponentsDialogTextPickerDialog0190.ets | 92 + ...alComponentsDialogTextPickerDialog0200.ets | 36 + ...alComponentsDialogTextPickerDialog0300.ets | 39 + ...alComponentsDialogTextPickerDialog0310.ets | 39 + ...alComponentsDialogTextPickerDialog0320.ets | 39 + ...alComponentsDialogTextPickerDialog0340.ets | 39 + ...alComponentsDialogTextPickerDialog0350.ets | 39 + ...alComponentsDialogTextPickerDialog0360.ets | 48 + ...alComponentsDialogTextPickerDialog0370.ets | 34 + ...alComponentsDialogTextPickerDialog0380.ets | 37 + ...alComponentsDialogTextPickerDialog0390.ets | 37 + ...alComponentsDialogTextPickerDialog0400.ets | 37 + ...alComponentsDialogTextPickerDialog0410.ets | 37 + ...alComponentsDialogTextPickerDialog0420.ets | 39 + ...alComponentsDialogTextPickerDialog0430.ets | 39 + ...alComponentsDialogTextPickerDialog0440.ets | 39 + ...alComponentsDialogTextPickerDialog0450.ets | 39 + ...alComponentsDialogTextPickerDialog0460.ets | 39 + ...alComponentsDialogTextPickerDialog0470.ets | 39 + ...alComponentsDialogTextPickerDialog0480.ets | 39 + ...alComponentsDialogTextPickerDialog0490.ets | 48 + ...alComponentsDialogTextPickerDialog0500.ets | 34 + ...alComponentsDialogTextPickerDialog0510.ets | 35 + ...alComponentsDialogTextPickerDialog0790.ets | 49 + ...alComponentsDialogTextPickerDialog0820.ets | 49 + ...alComponentsDialogTextPickerDialog0830.ets | 37 + ...alComponentsDialogTextPickerDialog0840.ets | 37 + ...alComponentsDialogTextPickerDialog0850.ets | 37 + ...alComponentsDialogTextPickerDialog0860.ets | 37 + ...alComponentsDialogTextPickerDialog0870.ets | 37 + ...alComponentsDialogTextPickerDialog0880.ets | 37 + ...alComponentsDialogTextPickerDialog0890.ets | 37 + ...alComponentsDialogTextPickerDialog0900.ets | 37 + ...alComponentsDialogTextPickerDialog0910.ets | 37 + ...alComponentsDialogTextPickerDialog0920.ets | 37 + ...alComponentsDialogTextPickerDialog0930.ets | 37 + ...alComponentsDialogTextPickerDialog0940.ets | 37 + ...alComponentsDialogTextPickerDialog0950.ets | 37 + ...alComponentsDialogTextPickerDialog0960.ets | 34 + ...alComponentsDialogTextPickerDialog0970.ets | 35 + ...alComponentsDialogTextPickerDialog0980.ets | 35 + ...alComponentsDialogTextPickerDialog0990.ets | 35 + ...alComponentsDialogTextPickerDialog1000.ets | 35 + ...omponentInfomationMarqueeDirection0120.ets | 68 + .../UIComponentPopupBoxPicker0200.ets | 45 + .../UIComponentPopupBoxPopup0050.ets | 74 + .../UIComponentPopupBoxPopup0060.ets | 79 + .../UIComponentPopupBoxPopup0070.ets | 76 + .../UIComponentPopupBoxPopup0080.ets | 76 + ...ComponentPopupBoxPromptToastSystem0030.ets | 52 + ...ComponentPopupBoxPromptToastSystem0040.ets | 56 + ...ComponentPopupBoxPromptToastSystem0240.ets | 52 + ...ComponentPopupBoxPromptToastSystem0250.ets | 53 + ...ComponentPopupBoxPromptToastSystem0260.ets | 50 + ...ComponentPopupBoxPromptToastSystem0270.ets | 40 + ...ComponentPopupBoxPromptToastSystem0280.ets | 52 + ...ComponentPopupBoxPromptToastSystem0290.ets | 56 + ...mponentPopupBoxSpecificationsShadow023.ets | 52 + ...mponentPopupBoxSpecificationsShadow025.ets | 52 + ...mponentPopupBoxSpecificationsShadow026.ets | 52 + ...mponentPopupBoxSpecificationsShadow027.ets | 52 + ...mponentPopupBoxSpecificationsShadow029.ets | 60 + ...mponentPopupBoxSpecificationsShadow030.ets | 60 + ...mponentPopupBoxSpecificationsShadow031.ets | 60 + ...mponentPopupBoxSpecificationsShadow032.ets | 60 + ...mponentPopupBoxSpecificationsShadow033.ets | 104 + ...mponentPopupBoxSpecificationsShadow058.ets | 50 + ...mponentPopupBoxSpecificationsShadow059.ets | 43 + ...mponentPopupBoxSpecificationsShadow061.ets | 50 + ...mponentPopupBoxSpecificationsShadow062.ets | 50 + ...mponentPopupBoxSpecificationsShadow063.ets | 50 + ...mponentPopupBoxSpecificationsShadow064.ets | 50 + ...mponentPopupBoxSpecificationsShadow065.ets | 57 + ...mponentPopupBoxSpecificationsShadow066.ets | 57 + ...mponentPopupBoxSpecificationsShadow067.ets | 57 + ...mponentPopupBoxSpecificationsShadow068.ets | 57 + ...mponentPopupBoxSpecificationsShadow069.ets | 69 + ...mponentPopupBoxSpecificationsShadow070.ets | 57 + ...mponentPopupBoxSpecificationsShadow071.ets | 43 + ...mponentPopupBoxSpecificationsShadow072.ets | 43 + ...mponentPopupBoxSpecificationsShadow073.ets | 43 + ...mponentPopupBoxSpecificationsShadow074.ets | 43 + ...mponentPopupBoxSpecificationsShadow075.ets | 43 + ...mponentPopupBoxSpecificationsShadow076.ets | 50 + ...mponentPopupBoxSpecificationsShadow077.ets | 50 + ...mponentPopupBoxSpecificationsShadow078.ets | 50 + ...mponentPopupBoxSpecificationsShadow079.ets | 50 + ...mponentPopupBoxSpecificationsShadow080.ets | 56 + ...mponentPopupBoxSpecificationsShadow081.ets | 50 + ...mponentPopupBoxSpecificationsShadow084.ets | 52 + ...mponentPopupBoxSpecificationsShadow087.ets | 50 + ...mponentPopupBoxSpecificationsShadow088.ets | 43 + ...mponentPopupBoxSpecificationsShadow091.ets | 52 + ...mponentPopupBoxSpecificationsShadow094.ets | 49 + ...mponentPopupBoxSpecificationsShadow095.ets | 42 + ...mponentPopupBoxSpecificationsShadow098.ets | 53 + ...mponentPopupBoxSpecificationsShadow101.ets | 50 + ...mponentPopupBoxSpecificationsShadow102.ets | 43 + .../UIComponentPopupBoxStyleStrong0290.ets | 74 + .../UIComponentPopupBoxStyleStrong0300.ets | 51 + .../UIComponentPopupBoxStyleStrong0320.ets | 64 + .../UIComponentPopupBoxStyleStrong0330.ets | 43 + .../UIComponentPopupboxButtonstyle0020.ets | 55 + .../UIComponentPopupboxButtonstyle0030.ets | 44 + .../UIComponentPopupboxButtonstyle0050.ets | 54 + .../UIComponentPopupboxButtonstyle0060.ets | 43 + ...IComponentPopupboxConsistencyScene0040.ets | 44 + .../UIComponentPopupboxEnter0510.ets | 43 + .../UIComponentPopupboxEnter0520.ets | 55 + .../UIComponentPopupboxEnter0530.ets | 23 + .../UIComponentPopupboxEnter0540.ets | 23 + .../UIComponentPopupboxEnter0550.ets | 39 + .../UIComponentPopupboxEnter0570.ets | 39 + .../UIComponentPopupboxEnter0580.ets | 39 + .../UIComponentPopupboxEnter0590.ets | 43 + .../UIComponentPopupboxEnter0600.ets | 42 + .../UIComponentPopupboxEnter0610.ets | 52 + .../UIComponentPopupboxEnter0620.ets | 23 + .../UIComponentPopupboxEnter0630.ets | 23 + .../UIComponentPopupboxEnter0640.ets | 38 + .../UIComponentPopupboxMenuMenuTest0040.ets | 43 + .../UIComponentPopupboxMenuMenuTest0080.ets | 43 + .../UIComponentPopupboxMenuMenuTest0100.ets | 43 + .../UIComponentPopupboxMenuMenuTest0110.ets | 43 + .../UIComponentPopupboxMenuMenuTest0160.ets | 43 + .../UIComponentPopupboxMenuMenuTest0190.ets | 43 + .../UIComponentPopupboxMenuMenuTest0320.ets | 45 + .../UIComponentPopupboxMenuMenuTest0470.ets | 40 + .../UIComponentPopupboxMenuMenuTest0540.ets | 40 + .../UIComponentPopupboxMenuMenuTest0670.ets | 41 + .../UIComponentPopupboxMenuMenuTest0830.ets | 43 + .../UIComponentPopupboxMenuMenuTest1060.ets | 43 + .../UIComponentPopupboxMenuMenuTest1090.ets | 43 + .../UIComponentPopupboxMenuMenuTest1100.ets | 43 + .../UIComponentPopupboxMenuMenuTest1190.ets | 43 + .../UIComponentPopupboxMenuMenuTest1200.ets | 43 + .../UIComponentPopupboxMenuMenuTest1310.ets | 40 + .../UIComponentPopupboxMenuMenuTest1380.ets | 42 + .../UIComponentPopupboxMenuMenuTest1390.ets | 42 + .../UIComponentPopupboxMenuMenuTest1480.ets | 43 + .../UIComponentPopupboxMenuMenuTest1490.ets | 43 + .../UIComponentPopupboxMenuMenuTest1510.ets | 43 + .../UIComponentPopupboxMenuMenuTest1630.ets | 43 + .../UIComponentPopupboxMenuMenuTest1970.ets | 41 + .../UIComponentPopupboxMenuMenuTest1980.ets | 41 + .../UIComponentPopupboxPickerold1250.ets | 40 + .../UIComponentPopupboxPickerold1260.ets | 40 + .../UIComponentPopupboxPickerold1270.ets | 40 + ...pupboxPopupFollowtransformoftarget0450.ets | 59 + ...opupboxTextPickerDialogInteraction0010.ets | 91 + ...opupboxTextPickerDialogInteraction0020.ets | 91 + ...opupboxTextPickerDialogInteraction0030.ets | 91 + ...tPopupboxTextPickerDialogInterface1000.ets | 38 + ...tPopupboxTextPickerDialogInterface1010.ets | 39 + ...tPopupboxTextPickerDialogInterface1020.ets | 39 + ...tPopupboxTextPickerDialogInterface1030.ets | 39 + ...tPopupboxTextPickerDialogInterface1040.ets | 39 + ...tPopupboxTextPickerDialogInterface1050.ets | 39 + ...tPopupboxTextPickerDialogInterface1060.ets | 39 + ...tPopupboxTextPickerDialogInterface1070.ets | 46 + ...tPopupboxTextPickerDialogInterface1080.ets | 46 + ...tPopupboxTextPickerDialogInterface1090.ets | 48 + ...tPopupboxTextPickerDialogInterface1100.ets | 39 + ...tPopupboxTextPickerDialogInterface1110.ets | 39 + ...tPopupboxTextPickerDialogInterface1120.ets | 39 + ...tPopupboxTextPickerDialogInterface1130.ets | 39 + ...tPopupboxTextPickerDialogInterface1140.ets | 39 + ...tPopupboxTextPickerDialogInterface1150.ets | 39 + ...tPopupboxTextPickerDialogInterface1160.ets | 39 + ...tPopupboxTextPickerDialogInterface1170.ets | 39 + ...tPopupboxTextPickerDialogInterface1180.ets | 39 + ...tPopupboxTextPickerDialogInterface1190.ets | 39 + ...tPopupboxTextPickerDialogInterface1200.ets | 39 + ...tPopupboxTextPickerDialogInterface1210.ets | 39 + ...tPopupboxTextPickerDialogInterface1220.ets | 39 + ...tPopupboxTextPickerDialogInterface1230.ets | 39 + ...tPopupboxTextPickerDialogInterface1240.ets | 39 + ...tPopupboxTextPickerDialogInterface1250.ets | 39 + ...tPopupboxTextPickerDialogInterface1260.ets | 39 + ...tPopupboxTextPickerDialogInterface1270.ets | 39 + ...tPopupboxTextPickerDialogInterface1280.ets | 39 + ...tPopupboxTextPickerDialogInterface1290.ets | 39 + ...tPopupboxTextPickerDialogInterface1300.ets | 39 + ...tPopupboxTextPickerDialogInterface1310.ets | 39 + ...tPopupboxTextPickerDialogInterface1320.ets | 39 + ...tPopupboxTextPickerDialogInterface1330.ets | 39 + ...tPopupboxTextPickerDialogInterface1340.ets | 39 + ...tPopupboxTextPickerDialogInterface1350.ets | 39 + ...tPopupboxTextPickerDialogInterface1360.ets | 39 + ...tPopupboxTextPickerDialogInterface1370.ets | 39 + ...tPopupboxTextPickerDialogInterface1380.ets | 39 + ...tPopupboxTextPickerDialogInterface1390.ets | 39 + ...tPopupboxTextPickerDialogInterface1400.ets | 39 + ...tPopupboxTextPickerDialogInterface1410.ets | 39 + ...tPopupboxTextPickerDialogInterface1420.ets | 39 + ...tPopupboxTextPickerDialogInterface1430.ets | 39 + ...tPopupboxTextPickerDialogInterface1440.ets | 39 + ...tPopupboxTextPickerDialogInterface1450.ets | 34 + ...tPopupboxTextPickerDialogInterface1460.ets | 34 + ...tPopupboxTextPickerDialogInterface1470.ets | 37 + ...tPopupboxTimepickerdialogInterface0700.ets | 65 + ...tPopupboxTimepickerdialogInterface0710.ets | 65 + ...tPopupboxTimepickerdialogInterface0720.ets | 65 + ...tPopupboxTimepickerdialogInterface0730.ets | 65 + ...tPopupboxTimepickerdialogInterface0740.ets | 67 + ...tPopupboxTimepickerdialogInterface0750.ets | 67 + ...tPopupboxTimepickerdialogInterface0760.ets | 67 + ...tPopupboxTimepickerdialogInterface0770.ets | 67 + ...tPopupboxTimepickerdialogInterface0780.ets | 67 + ...tPopupboxTimepickerdialogInterface0790.ets | 67 + ...tPopupboxTimepickerdialogInterface0800.ets | 67 + ...tPopupboxTimepickerdialogInterface0810.ets | 67 + ...tPopupboxTimepickerdialogInterface0820.ets | 67 + ...tPopupboxTimepickerdialogInterface0830.ets | 67 + ...tPopupboxTimepickerdialogInterface0840.ets | 67 + ...tPopupboxTimepickerdialogInterface0850.ets | 67 + ...tPopupboxTimepickerdialogInterface0860.ets | 67 + ...tPopupboxTimepickerdialogInterface0870.ets | 67 + ...tPopupboxTimepickerdialogInterface0880.ets | 67 + ...tPopupboxTimepickerdialogInterface0890.ets | 65 + ...tPopupboxTimepickerdialogInterface0900.ets | 68 + ...tPopupboxTimepickerdialogInterface0910.ets | 65 + ...tPopupboxTimepickerdialogInterface0920.ets | 63 + ...tPopupboxTimepickerdialogInterface0930.ets | 58 + ...tPopupboxTimepickerdialogInterface0940.ets | 66 + ...tPopupboxTimepickerdialogInterface0950.ets | 66 + ...tPopupboxTimepickerdialogInterface0960.ets | 66 + ...tPopupboxTimepickerdialogInterface0970.ets | 65 + ...tPopupboxTimepickerdialogInterface0980.ets | 67 + ...tPopupboxTimepickerdialogInterface0990.ets | 67 + ...tPopupboxTimepickerdialogInterface1000.ets | 67 + ...tPopupboxTimepickerdialogInterface1010.ets | 68 + ...tPopupboxTimepickerdialogInterface1020.ets | 67 + ...tPopupboxTimepickerdialogInterface1030.ets | 68 + ...tPopupboxTimepickerdialogInterface1040.ets | 68 + ...tPopupboxTimepickerdialogInterface1050.ets | 68 + ...tPopupboxTimepickerdialogInterface1060.ets | 68 + ...tPopupboxTimepickerdialogInterface1070.ets | 68 + ...tPopupboxTimepickerdialogInterface1080.ets | 68 + ...tPopupboxTimepickerdialogInterface1090.ets | 68 + ...tPopupboxTimepickerdialogInterface1100.ets | 67 + ...tPopupboxTimepickerdialogInterface1110.ets | 67 + ...tPopupboxTimepickerdialogInterface1120.ets | 67 + ...tPopupboxTimepickerdialogInterface1130.ets | 67 + ...tPopupboxTimepickerdialogInterface1140.ets | 65 + ...tPopupboxTimepickerdialogInterface1150.ets | 65 + ...tPopupboxTimepickerdialogInterface1160.ets | 65 + ...tPopupboxTimepickerdialogInterface1170.ets | 65 + ...tPopupboxTimepickerdialogInterface1180.ets | 68 + ...tPopupboxTimepickerdialogInterface1190.ets | 68 + ...tPopupboxTimepickerdialogInterface1200.ets | 67 + ...tPopupboxTimepickerdialogInterface1210.ets | 67 + ...tPopupboxTimepickerdialogInterface1220.ets | 67 + ...tPopupboxTimepickerdialogInterface1230.ets | 68 + ...tPopupboxTimepickerdialogInterface1240.ets | 68 + ...tPopupboxTimepickerdialogInterface1250.ets | 68 + ...tPopupboxTimepickerdialogInterface1260.ets | 68 + ...tPopupboxTimepickerdialogInterface1270.ets | 67 + ...tPopupboxTimepickerdialogInterface1280.ets | 67 + ...tPopupboxTimepickerdialogInterface1290.ets | 68 + ...tPopupboxTimepickerdialogInterface1300.ets | 67 + ...tPopupboxTimepickerdialogInterface1310.ets | 68 + ...tPopupboxTimepickerdialogInterface1320.ets | 68 + ...tPopupboxTimepickerdialogInterface1330.ets | 68 + ...tPopupboxTimepickerdialogInterface1340.ets | 62 + ...tPopupboxTimepickerdialogInterface1350.ets | 62 + ...tPopupboxTimepickerdialogInterface1360.ets | 69 + ...PopupboxTimepickerdialogInterface20010.ets | 34 + ...PopupboxTimepickerdialogInterface20020.ets | 34 + ...PopupboxTimepickerdialogInterface20030.ets | 64 + ...PopupboxTimepickerdialogInterface20040.ets | 64 + ...PopupboxTimepickerdialogInterface20050.ets | 64 + ...PopupboxTimepickerdialogInterface20060.ets | 64 + ...PopupboxTimepickerdialogInterface20070.ets | 63 + ...PopupboxTimepickerdialogInterface20080.ets | 64 + ...PopupboxTimepickerdialogInterface20090.ets | 64 + ...PopupboxTimepickerdialogInterface20100.ets | 64 + ...PopupboxTimepickerdialogInterface20110.ets | 64 + ...PopupboxTimepickerdialogInterface20120.ets | 64 + ...PopupboxTimepickerdialogInterface20130.ets | 63 + ...PopupboxTimepickerdialogInterface20140.ets | 67 + ...PopupboxTimepickerdialogInterface20150.ets | 68 + ...PopupboxTimepickerdialogInterface20160.ets | 63 + ...PopupboxTimepickerdialogInterface20170.ets | 69 + ...PopupboxTimepickerdialogInterface20180.ets | 63 + ...PopupboxTimepickerdialogInterface20190.ets | 65 + ...PopupboxTimepickerdialogInterface20200.ets | 65 + ...PopupboxTimepickerdialogInterface20210.ets | 65 + ...PopupboxTimepickerdialogInterface20220.ets | 65 + ...PopupboxTimepickerdialogInterface20230.ets | 64 + ...PopupboxTimepickerdialogInterface20240.ets | 64 + ...PopupboxTimepickerdialogInterface20250.ets | 68 + ...PopupboxTimepickerdialogInterface20260.ets | 68 + ...PopupboxTimepickerdialogInterface20270.ets | 68 + ...PopupboxTimepickerdialogInterface20280.ets | 68 + ...PopupboxTimepickerdialogInterface20290.ets | 68 + ...PopupboxTimepickerdialogInterface20300.ets | 68 + ...PopupboxTimepickerdialogInterface20310.ets | 68 + ...PopupboxTimepickerdialogInterface20320.ets | 68 + ...PopupboxTimepickerdialogInterface20330.ets | 68 + ...PopupboxTimepickerdialogInterface20340.ets | 68 + ...PopupboxTimepickerdialogInterface20350.ets | 68 + ...PopupboxTimepickerdialogInterface20360.ets | 68 + ...PopupboxTimepickerdialogInterface20370.ets | 68 + ...PopupboxTimepickerdialogInterface20380.ets | 68 + ...PopupboxTimepickerdialogInterface20390.ets | 67 + ...PopupboxTimepickerdialogInterface20400.ets | 72 + ...tPopupboxTimepickerdialogScenarios0010.ets | 63 + ...tPopupboxTimepickerdialogScenarios0020.ets | 63 + ...tPopupboxTimepickerdialogScenarios0030.ets | 66 + ...tPopupboxTimepickerdialogScenarios0090.ets | 63 + ...omponentScrollPickerPickerrefactor0190.ets | 46 + .../UIComponentSoftKeyBoardOptimize0110.ets | 125 + .../UIComponentSoftKeyBoardOptimize0120.ets | 125 + .../UIComponentSoftKeyBoardOptimize0220.ets | 36 + .../UIComponentSoftKeyBoardOptimize0230.ets | 30 + .../UIComponentSoftKeyBoardOptimize0250.ets | 36 + .../UIComponentSpanBaselineoffset0060.ets | 42 + .../UIComponentTextInterface008.ets | 67 + ...UIComponentTextSelectionInterface_menu.ets | 88 + .../UIComponentTextTextAbility0040.ets | 51 + .../UIComponentTextTextAbility0050.ets | 67 + .../UIComponentTextTextAbility0060.ets | 74 + .../UIComponentTextTextAbility0080.ets | 42 + .../UIComponentTextTextAbility0100.ets | 64 + .../UIComponentTextTextAbility0110.ets | 48 + .../UIComponentTextTextAbility0180.ets | 86 + .../UIComponentTextTextEditable026.ets | 69 + .../UIComponentTextTextInputCursor1720.ets | 127 + ...nentTextTextInputKeepEditableState0100.ets | 56 + .../UIComponentUISupportColor1340.ets | 33 + .../UIComponentUISupportColor1350.ets | 33 + .../UIComponentUISupportColor1360.ets | 33 + .../UIComponentUISupportColor1370.ets | 33 + .../UIComponentUISupportColor1380.ets | 36 + .../UIComponentUISupportColor1390.ets | 36 + .../UIComponentUISupportColor1400.ets | 36 + .../UIComponentUISupportColor1550.ets | 38 + .../UIComponentUISupportColor1560.ets | 38 + .../UIComponentUISupportColor1570.ets | 38 + .../UIComponentUISupportColor1580.ets | 38 + .../UIComponentUISupportColor1590.ets | 38 + .../UIComponentUISupportColor1600.ets | 38 + .../UIComponentUISupportColor1610.ets | 38 + .../UIComponentUISupportColor1970.ets | 35 + .../UIComponentUISupportColor1980.ets | 41 + .../UIComponentUISupportColor1990.ets | 41 + .../UIComponentUISupportColor2000.ets | 35 + .../UIComponentUISupportColor2010.ets | 35 + .../UIComponentUISupportColor2020.ets | 31 + .../UIComponentUISupportColor2030.ets | 40 + .../UIComponentUISupportColor2110.ets | 38 + .../UIComponentUISupportColor2120.ets | 37 + .../UIComponentUISupportColor2130.ets | 37 + .../UIComponentUISupportColor2140.ets | 37 + .../UIComponentUISupportColor2150.ets | 35 + .../UIComponentUISupportColor2160.ets | 35 + .../UIComponentUISupportColor2170.ets | 39 + .../UIComponentUISupportColor2180.ets | 40 + .../UIComponentUISupportColor2190.ets | 40 + .../UIComponentUISupportColor2200.ets | 40 + .../UIComponentUISupportColor2210.ets | 40 + .../UIComponentUISupportColor2220.ets | 31 + .../UIComponentUISupportColor2230.ets | 41 + .../UIComponentUISupportColor2240.ets | 41 + ...ComponentButtonDatepickerInterface0230.ets | 30 + ...ComponentButtonDatepickerInterface0290.ets | 31 + .../UIComponentPopupbxPickrold0560.ets | 29 + .../UISearchInterface006.ets | 35 + .../resources/containerspan_click_error.png | Bin 0 -> 15905 bytes .../resources/containerspan_height_error.png | Bin 0 -> 37232 bytes .../resources/containerspan_width_error.png | Bin 0 -> 35731 bytes .../resources/span_null_param_error.png | Bin 0 -> 16861 bytes .../ets/testrunner/OpenHarmonyTestRunner.ts | 61 +- .../uicompare/entry/src/ohosTest/module.json5 | 17 +- .../resources/base/element/integer.json | 24 +- .../resources/base/element/strarray.json | 5 +- .../resources/base/profile/test_pages.json | 880 ++++++ .../uicompare_tools/excel/uicompare.xlsx | Bin 0 -> 28732 bytes .../uicompare_tools/excel/uicompare_gen.xlsx | Bin 0 -> 22069 bytes .../ui_compare_rh/uicompare_tools/run.bat | 2 +- 1040 files changed, 60252 insertions(+), 362 deletions(-) create mode 100644 function/ui_compare_rh/uicompare/entry/src/main/resources/base/element/integer.json create mode 100644 function/ui_compare_rh/uicompare/entry/src/main/resources/dark/element/dark.json create mode 100644 function/ui_compare_rh/uicompare/entry/src/main/resources/rawfile/font/HarmonyOS_Sans_Thin_Italic.ttf create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonRadioStyleTest/UIComponentButtonRadioStyle.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTextPickerEventTest/UIComponentButtonTextPickerEvent.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTextPickerFadeoutTest/UIComponentButtonTextPickerFadeout.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTextPickerInterfaceTest/UIComponentButtonTextPickerInterface.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTextPickerMirrorImageTest/UIComponentButtonTextPickerMirrorImage.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTextPickerOverBoundaryReboundTest/UIComponentButtonTextPickerOverBoundaryRebound.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTimepickerEventTest/UIComponentButtonTimepickerEvent.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTimepickerInterfaceTest/UIComponentButtonTimepickerInterface.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTimepickerNumericTest/UIComponentButtonTimepickerNumeric.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonToggleCustomizingTest/UIComponentButtonToggleCustomizing.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonToggleEventTest/UIComponentButtonToggleEvent.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonToggleInteractionTest/UIComponentButtonToggleInteraction.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonToggleInterfaceTest/UIComponentButtonToggleInterface.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonToggleMirrorTest/UIComponentButtonToggleMirror.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentFunctionFormSelectionTimePickerLanguageOrderTest/UIComponentFunctionFormSelectionTimePickerLanguageOrder.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentFunctionSpecialComponentsDialogTextPickerDialogTest/UIComponentFunctionSpecialComponentsDialogTextPickerDialog.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxPickerTest/UIComponentPopupBoxPicker.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxPopupTest/UIComponentPopupBoxPopup.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxPromptToastSystemTest/UIComponentPopupBoxPromptToastSystem.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxStyleStrongTest/UIComponentPopupBoxStyleStrong.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxButtonstyleTest/UIComponentPopupboxButtonstyle.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxConsistencySceneTest/UIComponentPopupboxConsistencyScene.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxEnterTest/UIComponentPopupboxEnter.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuMenuTestTest/UIComponentPopupboxMenuMenuTest.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxPickeroldTest/UIComponentPopupboxPickerold.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxPopupFollowtransformoftargetTest/UIComponentPopupboxPopupFollowtransformoftarget.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxTextPickerDialogInteractionTest/UIComponentPopupboxTextPickerDialogInteraction.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxTextPickerDialogInterfaceTest/UIComponentPopupboxTextPickerDialogInterface.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxTimepickerdialogInterface2Test/UIComponentPopupboxTimepickerdialogInterface2.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxTimepickerdialogInterfaceTest/UIComponentPopupboxTimepickerdialogInterface.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxTimepickerdialogScenariosTest/UIComponentPopupboxTimepickerdialogScenariosTest.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollPickerPickerrefactorTest/UIComponentScrollPickerPickerrefactor.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0520.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0530.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0540.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0550.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0560.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0570.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0580.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0590.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0600.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0610.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0620.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0630.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0640.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0650.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0660.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0670.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0680.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0690.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0700.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0710.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0720.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0730.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0740.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0750.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0760.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0770.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0780.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0800.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0810.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIButton/UIComponentUIsupportColor0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/ModifierConfig.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0460.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0470.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0480.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0490.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0500.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0510.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle006.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle008.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle009.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle012.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle014.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle015.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle016.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle017.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle018.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle019.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle021.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle022.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle023.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle024.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle025.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle026.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0390.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0400.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0410.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0420.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0510.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0520.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0530.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0540.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0550.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0560.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0570.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0580.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/Commons.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0390.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0400.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0410.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0420.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0430.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0440.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0450.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0470.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0480.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0490.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0500.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0510.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0520.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0530.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0540.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0550.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0560.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0570.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0580.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0590.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0620.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0630.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0640.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0650.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0660.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0670.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0680.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0690.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0700.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0710.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0720.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0730.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0740.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0750.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0760.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0770.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0780.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0790.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0800.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0810.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0820.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0830.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0840.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0850.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0860.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0870.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0880.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0890.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0900.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0910.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0920.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0930.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0940.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0950.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0960.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0970.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0980.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0990.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage1000.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerEvent/UIComponentButtonTimepickerEvent0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0390.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0400.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0410.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0420.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0430.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0440.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0450.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0460.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0470.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0480.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0490.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0500.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0510.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0520.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0530.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0540.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0550.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0560.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0570.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0580.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0590.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0600.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0610.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0620.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0630.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0640.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0650.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0660.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0670.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0680.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0690.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0700.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0710.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0720.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0730.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0740.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0750.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0760.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0770.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0780.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0790.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0800.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0810.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0820.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0830.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0840.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0850.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0860.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0870.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0880.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0890.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0900.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0910.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0920.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0930.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0940.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0950.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0960.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0970.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0980.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0990.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1000.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1390.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1400.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1410.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1420.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1430.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1440.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1450.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1460.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1470.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1480.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1490.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1500.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1510.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1520.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1530.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1540.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1550.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1560.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1570.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1580.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1590.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1600.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1610.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1620.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1630.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1640.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1650.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1660.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1670.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1680.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1690.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1700.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1710.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1720.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1730.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1740.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1750.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1760.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1770.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1780.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1790.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1800.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleEvent/UIComponentButtonToggleEvent0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInteraction/UIComponentButtonToggleInteraction0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInteraction/UIComponentButtonToggleInteraction0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInteraction/UIComponentButtonToggleInteraction0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentContainerSpanInterface/UIComponentContainerSpanInterface002.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0390.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0400.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0410.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0420.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0430.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0440.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0450.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0460.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0470.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0480.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0490.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0500.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0510.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0790.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0820.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0830.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0840.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0850.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0860.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0870.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0880.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0890.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0900.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0910.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0920.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0930.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0940.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0950.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0960.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0970.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0980.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0990.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog1000.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInfomationMarqueeDirection/UIComponentInfomationMarqueeDirection0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPicker/UIComponentPopupBoxPicker0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow023.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow025.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow026.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow027.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow029.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow031.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow032.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow033.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow058.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow059.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow061.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow062.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow063.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow064.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow065.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow066.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow067.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow068.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow069.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow071.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow072.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow073.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow074.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow075.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow076.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow077.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow078.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow079.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow081.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow084.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow087.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow088.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow091.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow094.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow095.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow098.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow101.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow102.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0510.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0520.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0530.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0540.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0550.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0570.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0580.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0590.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0600.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0610.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0620.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0630.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0640.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0470.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0540.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0670.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0830.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1390.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1480.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1490.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1510.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1630.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1970.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1980.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxPickerold/UIComponentPopupboxPickerold1250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxPickerold/UIComponentPopupboxPickerold1260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxPickerold/UIComponentPopupboxPickerold1270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxPopupFollowtransformoftarget/UIComponentPopupboxPopupFollowtransformoftarget0450.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInteraction/UIComponentPopupboxTextPickerDialogInteraction0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInteraction/UIComponentPopupboxTextPickerDialogInteraction0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInteraction/UIComponentPopupboxTextPickerDialogInteraction0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1000.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1390.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1400.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1410.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1420.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1430.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1440.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1450.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1460.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1470.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0700.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0710.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0720.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0730.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0740.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0750.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0760.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0770.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0780.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0790.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0800.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0810.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0820.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0830.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0840.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0850.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0860.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0870.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0880.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0890.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0900.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0910.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0920.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0930.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0940.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0950.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0960.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0970.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0980.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0990.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1000.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20390.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20400.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollPickerPickerrefactor/UIComponentScrollPickerPickerrefactor0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpanBaselineoffset/UIComponentSpanBaselineoffset0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInterface/UIComponentTextInterface008.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextSelectionInterface/UIComponentTextSelectionInterface_menu.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable026.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextInputCursor/UIComponentTextTextInputCursor1720.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextInputKeepEditableState/UIComponentTextTextInputKeepEditableState0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1390.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1400.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1550.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1560.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1570.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1580.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1590.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1600.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1610.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1970.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1980.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1990.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2000.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIDataPicker/UIComponentButtonDatepickerInterface0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIDataPicker/UIComponentButtonDatepickerInterface0290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIDataPicker/UIComponentPopupbxPickrold0560.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UISearchInterface/UISearchInterface006.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/resources/containerspan_click_error.png create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/resources/containerspan_height_error.png create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/resources/containerspan_width_error.png create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/resources/span_null_param_error.png create mode 100644 function/ui_compare_rh/uicompare_tools/excel/uicompare.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/uicompare_gen.xlsx diff --git a/OAT.xml b/OAT.xml index e6b5b947..41ef7957 100644 --- a/OAT.xml +++ b/OAT.xml @@ -115,6 +115,8 @@ Note:If the text contains special characters, please escape them according to th + + diff --git a/function/ui_compare_rh/uicompare/entry/src/main/resources/base/element/integer.json b/function/ui_compare_rh/uicompare/entry/src/main/resources/base/element/integer.json new file mode 100644 index 00000000..a7b0cbb8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/main/resources/base/element/integer.json @@ -0,0 +1,8 @@ +{ + "integer": [ + { + "name": "integer_1", + "value": 700 + } + ] +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/main/resources/base/element/string.json b/function/ui_compare_rh/uicompare/entry/src/main/resources/base/element/string.json index f9459551..453f8658 100644 --- a/function/ui_compare_rh/uicompare/entry/src/main/resources/base/element/string.json +++ b/function/ui_compare_rh/uicompare/entry/src/main/resources/base/element/string.json @@ -11,6 +11,30 @@ { "name": "EntryAbility_label", "value": "label" + }, + { + "name": "apple", + "value": "苹果" + }, + { + "name": "fruit", + "value": "水果" + }, + { + "name": "appliance", + "value": "家电" + }, + { + "name": "banana", + "value": "香蕉" + }, + { + "name": "tv", + "value": "电视" + }, + { + "name": "computer", + "value": "电脑" } ] } \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/main/resources/dark/element/dark.json b/function/ui_compare_rh/uicompare/entry/src/main/resources/dark/element/dark.json new file mode 100644 index 00000000..162a7b6f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/main/resources/dark/element/dark.json @@ -0,0 +1,8 @@ +{ + "color": [ + { + "name": "start_window_background", + "value": "#FFFFFF" + } + ] +} diff --git a/function/ui_compare_rh/uicompare/entry/src/main/resources/rawfile/font/HarmonyOS_Sans_Thin_Italic.ttf b/function/ui_compare_rh/uicompare/entry/src/main/resources/rawfile/font/HarmonyOS_Sans_Thin_Italic.ttf new file mode 100644 index 0000000000000000000000000000000000000000..a5c4e3eccd5369aad2dd3727b65a04402ddc8261 GIT binary patch literal 143400 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 literal 0 HcmV?d00001 diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/Ability.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/Ability.test.ets index 76e140bc..611d4b29 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/Ability.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/Ability.test.ets @@ -14,7 +14,7 @@ */ import hilog from '@ohos.hilog'; -import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; export default function abilityTest() { describe('ActsAbilityTest', () => { diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/List.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/List.test.ets index 0860e123..e8facc93 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/List.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/List.test.ets @@ -13,6 +13,47 @@ * limitations under the License. */ +import UIComponentButtonTextPickerFadeoutTest from './UIComponentButtonTextPickerFadeoutTest/UIComponentButtonTextPickerFadeout.test'; +import UIComponentButtonTextPickerOverBoundaryReboundTest from './UIComponentButtonTextPickerOverBoundaryReboundTest/UIComponentButtonTextPickerOverBoundaryRebound.test'; +import UIComponentPopupboxButtonstyleTest from './UIComponentPopupboxButtonstyleTest/UIComponentPopupboxButtonstyle.test'; +import UIComponentPopupboxEnterTest from './UIComponentPopupboxEnterTest/UIComponentPopupboxEnter.test'; +import UIComponentButtonTimepickerInterfaceTest from './UIComponentButtonTimepickerInterfaceTest/UIComponentButtonTimepickerInterface.test'; +import UIComponentUISupportColor from './UIComponentUISupportColorTest/UIComponentUISupportColor.test'; +import UIComponentPopupboxTextPickerDialogInterface from './UIComponentPopupboxTextPickerDialogInterfaceTest/UIComponentPopupboxTextPickerDialogInterface.test'; +import UIComponentPopupboxTextPickerDialogInteraction from './UIComponentPopupboxTextPickerDialogInteractionTest/UIComponentPopupboxTextPickerDialogInteraction.test'; +import UIComponentFunctionSpecialComponentsDialogTextPickerDialog from './UIComponentFunctionSpecialComponentsDialogTextPickerDialogTest/UIComponentFunctionSpecialComponentsDialogTextPickerDialog.test'; +import UIComponentPopupBoxPopup from './UIComponentPopupBoxPopupTest/UIComponentPopupBoxPopup.test'; +import UIComponentButtonTimepickerEvent from './UIComponentButtonTimepickerEventTest/UIComponentButtonTimepickerEvent.test'; +import UIComponentButtonTextPickerMirrorImageTest from './UIComponentButtonTextPickerMirrorImageTest/UIComponentButtonTextPickerMirrorImage.test'; +import UIComponentButtonTextPickerEventTest from './UIComponentButtonTextPickerEventTest/UIComponentButtonTextPickerEvent.test'; +import UIComponentButtonTextPickerInterfaceTest from './UIComponentButtonTextPickerInterfaceTest/UIComponentButtonTextPickerInterface.test'; +import UIComponentPopupBoxSpecificationsShadow from './UIComponentPopupBoxSpecificationsShadowTest/UIComponentPopupBoxSpecificationsShadow.test'; +import UIComponentButtonTimepickerNumeric from './UIComponentButtonTimepickerNumericTest/UIComponentButtonTimepickerNumeric.test'; +import UIComponentPopupBoxStyleStrong from './UIComponentPopupBoxStyleStrongTest/UIComponentPopupBoxStyleStrong.test'; +import UIComponentFunctionFormSelectionTimePickerLanguageOrder from './UIComponentFunctionFormSelectionTimePickerLanguageOrderTest/UIComponentFunctionFormSelectionTimePickerLanguageOrder.test'; +import UIComponentButtonToggleInterationTest from './UIComponentButtonToggleInteractionTest/UIComponentButtonToggleInteraction.test'; +import UIComponentPopupBoxPromptToastSystem from './UIComponentPopupBoxPromptToastSystemTest/UIComponentPopupBoxPromptToastSystem.test'; +import UIComponentPopupboxTimepickerdialogInterface from './UIComponentPopupboxTimepickerdialogInterfaceTest/UIComponentPopupboxTimepickerdialogInterface.test'; +import UIComponentPopupboxTimepickerdialogInterface2 from './UIComponentPopupboxTimepickerdialogInterface2Test/UIComponentPopupboxTimepickerdialogInterface2.test'; +import UIComponentPopupboxTimepickerdialogScenarios from './UIComponentPopupboxTimepickerdialogScenariosTest/UIComponentPopupboxTimepickerdialogScenariosTest.test'; +import UIComponentButtonTimepickerInterface from './UIComponentButtonTimepickerInterfaceTest/UIComponentButtonTimepickerInterface.test'; +import UIComponentScrollPickerPickerrefactor from './UIComponentScrollPickerPickerrefactorTest/UIComponentScrollPickerPickerrefactor.test'; +import UIComponentPopupboxPickerold from './UIComponentPopupboxPickeroldTest/UIComponentPopupboxPickerold.test'; +import UIComponentPopupboxConsistencyScene from './UIComponentPopupboxConsistencySceneTest/UIComponentPopupboxConsistencyScene.test'; +import UIComponentButtonStyle from './UIComponentButtonStyleTest/UIComponentButtonStyle.test'; +import UIComponentButtonRadioStyle from './UIComponentButtonRadioStyleTest/UIComponentButtonRadioStyle.test'; +import UIComponentButtonToggleCustomizingTest from './UIComponentButtonToggleCustomizingTest/UIComponentButtonToggleCustomizing.test'; +import UIComponentButtonToggleEvent from './UIComponentButtonToggleEventTest/UIComponentButtonToggleEvent.test'; +import UIComponentButtonToggleInterface from './UIComponentButtonToggleInterfaceTest/UIComponentButtonToggleInterface.test'; +import UIComponentButtonToggleMirror from './UIComponentButtonToggleMirrorTest/UIComponentButtonToggleMirror.test'; +import UIComponentButtonCommonButton from './UIComponentButtonCommonButtonTest/UIComponentButtonCommonButton.test'; + +import UIComponentPopupboxPromptToastsystemTest from './UIComponentPopupboxPromptToastsystemTest/UIComponentPopupboxPromptToastsystem.test'; +import UIComponentPopupBoxPicker from './UIComponentPopupBoxPickerTest/UIComponentPopupBoxPicker.test'; +import UIComponentPopupboxPopupFollowtransformoftarget + from './UIComponentPopupboxPopupFollowtransformoftargetTest/UIComponentPopupboxPopupFollowtransformoftarget.test'; +import UIComponentPopupboxMenuMenuTest + from './UIComponentPopupboxMenuMenuTestTest/UIComponentPopupboxMenuMenuTest.test'; import ComponentTextRicheditorFontfeatures from './ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeatures.test'; import ComponentTextRicheditorCustomColors @@ -151,6 +192,45 @@ import UIComponentPopupBoxFullDialogInterface001 from './UIComponentPopupBoxFullDialogInterfaceTest/UIComponentPopupBoxFullDialogInterface001.test'; export default function testsuite() { + UIComponentButtonTextPickerMirrorImageTest(); + UIComponentButtonTextPickerEventTest(); + UIComponentButtonCommonButton(); + UIComponentButtonTextPickerInterfaceTest(); + UIComponentButtonTextPickerFadeoutTest(); + UIComponentButtonTextPickerOverBoundaryReboundTest(); + UIComponentPopupboxButtonstyleTest(); + UIComponentButtonTimepickerInterfaceTest(); + UIComponentPopupboxEnterTest(); + UIComponentButtonToggleInterationTest(); + UIComponentUISupportColor(); + UIComponentPopupboxTextPickerDialogInterface(); + UIComponentPopupboxTextPickerDialogInteraction(); + UIComponentFunctionSpecialComponentsDialogTextPickerDialog(); + UIComponentPopupBoxPopup(); + UIComponentButtonTimepickerEvent(); + UIComponentButtonStyle(); + UIComponentPopupBoxSpecificationsShadow(); + UIComponentButtonTimepickerNumeric(); + UIComponentPopupBoxStyleStrong(); + UIComponentFunctionFormSelectionTimePickerLanguageOrder(); + UIComponentPopupBoxPromptToastSystem(); + UIComponentPopupboxTimepickerdialogInterface2(); + UIComponentPopupboxTimepickerdialogInterface(); + UIComponentPopupboxTimepickerdialogScenarios(); + UIComponentButtonTimepickerNumeric(); + UIComponentButtonTimepickerInterface(); + UIComponentScrollPickerPickerrefactor(); + UIComponentPopupboxPickerold(); + UIComponentPopupboxConsistencyScene(); + UIComponentButtonRadioStyle(); + UIComponentButtonToggleCustomizingTest(); + UIComponentButtonToggleEvent(); + UIComponentButtonToggleInterface(); + UIComponentButtonToggleMirror(); + UIComponentPopupboxPromptToastsystemTest(); + UIComponentPopupBoxPicker(); + UIComponentPopupboxPopupFollowtransformoftarget(); + UIComponentPopupboxMenuMenuTest(); ComponentTextRicheditorFontfeatures(); ComponentTextRicheditorCustomColors(); ComponentTextRicheditorWordbreaks(); @@ -240,5 +320,3 @@ export default function testsuite() { UIComponentPopupBoxPromptToastSequence(); UIComponentPopupBoxSpecificationsPopup(); } - - diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonCommonButtonTest/UIComponentButtonCommonButton.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonCommonButtonTest/UIComponentButtonCommonButton.test.ets index f0efa3c9..5e66c44a 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonCommonButtonTest/UIComponentButtonCommonButton.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonCommonButtonTest/UIComponentButtonCommonButton.test.ets @@ -13,15 +13,18 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' import Settings from '../model/Settings' import windowSnap from '../model/snapShot' import Logger from '../model/Logger' import Utils from '../model/Utils' -import { Driver, ON } from '@ohos.UiTest' +import uiAppearance from '@ohos.uiAppearance' +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant' + +import { Component, Driver, ON } from '@ohos.UiTest' /* - * UIComponentButtonCommonButton + * UIComponentButtonStyle * * Settings.createWindow(config.url): * 创建窗口,更改窗口基本配置,更改方式详见model/Settings createWindow方法 @@ -39,6 +42,138 @@ import { Driver, ON } from '@ohos.UiTest' export default function UIComponentButtonCommonButton() { describe('UIComponentButtonCommonButton', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0500 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0500 + * @tc.desc 验证Toggle组件,测试参数index=1的时候,modifier配置和原有配置效果是否一致 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0500_1', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0500"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0500 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0500 + * @tc.desc 验证Toggle组件,测试参数index=1的时候,modifier配置和原有配置效果是否一致 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0500_2', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0500"); + await Utils.sleep(1000); + + let driver = Driver.create(); + let modifyButton = await driver.findComponent(ON.id('showButton')); + await modifyButton.click(); + await Utils.sleep(500); + + await windowSnap.snapShot(); + await Utils.sleep(1000); + + done(); + }) + + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0470 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0470 + * @tc.desc 验证TextPicker组件,测试参数index=2时候,modifier配置和原有配置效果是否一致 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0470', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0470 start.`); + Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0470"); + await Utils.sleep(1000); + let driver = Driver.create(); + let modifyButton = await driver.findComponent(ON.id('button1')); + await modifyButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0470 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0460 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0460 + * @tc.desc 验证TextPicker组件,测试参数index=1时候,modifier配置和原有配置效果是否一致 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0460', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0460 start.`); + Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0460"); + await Utils.sleep(1000); + let driver = Driver.create(); + let modifyButton = await driver.findComponent(ON.id('button1')); + await modifyButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0460 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0490 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0490 + * @tc.desc 验证TimePicker组件,测试参数index=2的时候,modifer配置和原有配置效果是否一致 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0490', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0490 start.`); + Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0490"); + await Utils.sleep(1000); + let driver = Driver.create(); + let modifyButton = await driver.findComponent(ON.id('button1')); + await modifyButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0490 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0480 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0480 + * @tc.desc 验证TimePicker组件,测试参数index=1的时候,modifer配置和原有配置效果是否一致 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0480', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0480 start.`); + Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0480"); + await Utils.sleep(1000); + let driver = Driver.create(); + let modifyButton = await driver.findComponent(ON.id('button1')); + await modifyButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0480 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0510 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0510 + * @tc.desc 验证Toggle组件,测试参数index=2的时候,modifier配置和原有配置效果是否一致 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0510 start.`); + Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0510"); + await Utils.sleep(1000); + let driver = Driver.create(); + let modifyButton = await driver.findComponent(ON.id('button1')); + await modifyButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0510 finish.`); + done(); /* * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0330 diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonRadioStyleTest/UIComponentButtonRadioStyle.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonRadioStyleTest/UIComponentButtonRadioStyle.test.ets new file mode 100644 index 00000000..fa23b882 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonRadioStyleTest/UIComponentButtonRadioStyle.test.ets @@ -0,0 +1,368 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Settings from '../model/Settings'; +import windowSnap from '../model/snapShot'; +import Logger from '../model/Logger'; +import Utils from '../model/Utils'; +import { Driver, ON, Component } from '@ohos.UiTest'; + +export default function UIComponentButtonRadioStyle() { + describe('UIComponentButtonRadioStyle', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_006 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_006 + * @tc.desc 浅色模式下,不设置Switch类型按钮关闭状态的背景颜色.走默认值 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_006', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_006 start.`); + Settings.createWindow("testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle006"); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_006 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_008 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_008 + * @tc.desc 浅色模式下,通过十六进制数值设置Switch类型按钮关闭状态的背景颜色 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_008', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_008 start.`); + Settings.createWindow("testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle008"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("Button")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_008 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_009 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_009 + * @tc.desc 浅色模式下,通过rgb、rgba字符串类型设置Switch类型按钮关闭状态的背景颜色 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_009', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_009 start.`); + Settings.createWindow("testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle009"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("Button")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + await windowSnap.snapShot('1'); + await driver.delayMs(300); + await driver.click(pointCenter.x, pointCenter.y); + await windowSnap.snapShot('2'); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_009 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_010 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_010 + * @tc.desc 浅色模式下,设置Switch类型按钮关闭状态的背景颜色为非法值 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_010 start.`); + Settings.createWindow("testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle010"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("Button")); + await SliderCom.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_010 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_012 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_012 + * @tc.desc 浅色模式下,不设置Switch类型按钮关闭状态状态的背景颜色 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_012', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_012 start.`); + Settings.createWindow("testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle012"); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_012 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_016 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_016 + * @tc.desc 浅色模式下,不设置Switch类型的滑轨的圆角的数值,走默认值 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_016', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_016 start.`); + Settings.createWindow("testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle016"); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_016 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_017 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_017 + * @tc.desc 浅色模式下,设置Switch类型的圆形滑块半径的数值为number类型 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_017', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_017 start.`); + Settings.createWindow("testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle017"); + await Utils.sleep(5000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("Button")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + await windowSnap.snapShot('1'); + await driver.delayMs(300); + await driver.click(pointCenter.x, pointCenter.y); + await windowSnap.snapShot('2'); + await driver.delayMs(300); + await driver.click(pointCenter.x, pointCenter.y); + await windowSnap.snapShot('3'); + await driver.delayMs(300); + await driver.click(pointCenter.x, pointCenter.y); + await windowSnap.snapShot('4'); + await driver.delayMs(300); + await driver.click(pointCenter.x, pointCenter.y); + await windowSnap.snapShot('5'); + await driver.delayMs(300); + await driver.click(pointCenter.x, pointCenter.y); + await windowSnap.snapShot('6'); + await Utils.sleep(5000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_017 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_020 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_020 + * @tc.desc 浅色模式下,不设置Switch类型的圆形滑块半径的数值,走默认值 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_020 start.`); + Settings.createWindow("testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle020"); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_020 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_021 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_021 + * @tc.desc 浅色模式下,checkbox类型滑块设置unselectedColor、pointRadius、pointColor、trackBorderRadius属性不生效 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_021', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_021 start.`); + Settings.createWindow("testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle021"); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_021 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_022 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_022 + * @tc.desc 浅色模式下,Button类型滑块设置unselectedColor、pointRadius、pointColor、trackBorderRadius属性不生效 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_022', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_022 start.`); + Settings.createWindow("testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle022"); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_022 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_023 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_023 + * @tc.desc 浅色模式下,使用设置width、height设置Switch类型滑轨宽高 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_023', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_023 start.`); + Settings.createWindow("testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle023"); + await Utils.sleep(5000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("Button")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + await driver.delayMs(150); + await windowSnap.snapShot('1'); + await driver.click(pointCenter.x, pointCenter.y); + await driver.delayMs(150); + await windowSnap.snapShot('2'); + await driver.click(pointCenter.x, pointCenter.y); + await driver.delayMs(150); + await windowSnap.snapShot('3'); + await driver.click(pointCenter.x, pointCenter.y); + await driver.delayMs(150); + await windowSnap.snapShot('4'); + await driver.click(pointCenter.x, pointCenter.y); + await driver.delayMs(150); + await windowSnap.snapShot('5'); + await driver.click(pointCenter.x, pointCenter.y); + await driver.delayMs(150); + await windowSnap.snapShot('6'); + await driver.click(pointCenter.x, pointCenter.y); + await windowSnap.snapShot(); + await Utils.sleep(5000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_023 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_024 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_024 + * @tc.desc 浅色模式下,使用设置width、height设置Switch类型滑轨宽高,滑轨高度大于滑块高度 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_024', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_024 start.`); + Settings.createWindow("testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle024"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("Button")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_024 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_025 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_025 + * @tc.desc 浅色模式下,使用设置width、height设置Switch类型滑轨宽高,滑轨高度等于滑块高度 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_025', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_025 start.`); + Settings.createWindow("testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle025"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("Button")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_025 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_026 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_026 + * @tc.desc 浅色模式下,使用设置width、height设置Switch类型滑轨宽高,滑轨高度小于滑块高度 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_026', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_026 start.`); + Settings.createWindow("testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle026"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("Button")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_026 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_014 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_014 + * @tc.desc 浅色模式下,设置Switch类型的滑轨的圆角的数值为引用值Resource + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_014', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_014 start.`); + Settings.createWindow("testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle014"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_014 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_015 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_015 + * @tc.desc 浅色模式下,设置Switch类型的滑轨的圆角的数值为非法值 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_015', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_015 start.`); + Settings.createWindow("testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle015"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_015 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_018 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_018 + * @tc.desc 浅色模式下,设置Switch类型的圆形滑块半径的数值为引用值Resource + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_018', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_018 start.`); + Settings.createWindow("testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle018"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_018 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_019 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_019 + * @tc.desc 浅色模式下,设置Switch类型的圆形滑块半径的数值为非法值 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_019', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_019 start.`); + Settings.createWindow("testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle019"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_STYLE_019 finish.`); + done(); + }); + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonStyleTest/UIComponentButtonStyle.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonStyleTest/UIComponentButtonStyle.test.ets index 2a173564..196ce650 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonStyleTest/UIComponentButtonStyle.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonStyleTest/UIComponentButtonStyle.test.ets @@ -13,12 +13,12 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' -import Settings from '../model/Settings' -import windowSnap from '../model/snapShot' -import Logger from '../model/Logger' -import Utils from '../model/Utils' -import { Driver, ON } from '@ohos.UiTest' +import { afterEach, describe, it } from '@ohos/hypium'; +import Settings from '../model/Settings'; +import windowSnap from '../model/snapShot'; +import Logger from '../model/Logger'; +import Utils from '../model/Utils'; +import { Driver, ON } from '@ohos.UiTest'; /* * Settings.createWindow(config.url): @@ -37,7 +37,10 @@ import { Driver, ON } from '@ohos.UiTest' export default function UIComponentButtonStyle() { describe('UIComponentButtonStyle', () => { - + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) /* * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0540 @@ -60,6 +63,23 @@ export default function UIComponentButtonStyle() { }) /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0120 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0120 + * @tc.desc Toggle测试,switchPointColorStyleModifier样式修改属性 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0120', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0120"); + await Utils.sleep(1000); + let driver = Driver.create(); + let modifyButton = await driver.findComponent(ON.id('UIComponentButtonStyle0120')); + await modifyButton.click(); + await Utils.sleep(500); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0120 finish.`); + done(); + }) + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0530 * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0530 * @tc.desc set Rating.stepSize @@ -79,6 +99,19 @@ export default function UIComponentButtonStyle() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0100 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0100 + * @tc.desc Toggle测试,ToggleAttributeStyleModifier样式修改属性 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0100_1', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0100"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0510 * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0510 @@ -119,6 +152,25 @@ export default function UIComponentButtonStyle() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0100 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0100 + * @tc.desc Toggle测试,ToggleAttributeStyleModifier样式修改属性 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0100_2', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0100"); + await Utils.sleep(1000); + + let driver = Driver.create(); + let modifyButton = await driver.findComponent(ON.id('showButton')); + await modifyButton.click(); + await Utils.sleep(500); + + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0570 * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0570 diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTextPickerEventTest/UIComponentButtonTextPickerEvent.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTextPickerEventTest/UIComponentButtonTextPickerEvent.test.ets new file mode 100644 index 00000000..e46a95ee --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTextPickerEventTest/UIComponentButtonTextPickerEvent.test.ets @@ -0,0 +1,102 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Logger from '../model/Logger'; +import Settings from '../model/Settings'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; +import { Driver, ON, Component } from '@ohos.UiTest'; + +export default function UIComponentButtonTextPickerEventTest() { + describe('UIComponentButtonTextPickerEventTest', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0010 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0010 + * @tc.desc 在Textpicker组件中,onChange?:(value:TextPickerResult)=>void;:滑动选择器,当前选择项改变时触发 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0010 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0010"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + await (await driver.findComponent(ON.text('peach2'))).click(); + await Utils.sleep(5000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0010 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0020 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0020 + * @tc.desc 滑动选择文本内容组件TextPicker,点击未选中项,验证效果 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0020 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0020"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + await (await driver.findComponent(ON.text('peach2'))).click(); + await Utils.sleep(5000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0020 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0040 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0040 + * @tc.desc 滑动选择文本内容组件TextPicker,创建多级联动选择器,固定一级文本,变更二级文本 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0040 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0040"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + await (await driver.findComponent(ON.text('黄冈市'))).click(); + await Utils.sleep(5000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0040 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0030 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0030 + * @tc.desc 滑动选择文本内容组件TextPicker,创建多级联动选择器,变更一级文本 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0030 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0030"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + await (await driver.findComponent(ON.text('浙江省'))).click(); + await Utils.sleep(5000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0030 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTextPickerFadeoutTest/UIComponentButtonTextPickerFadeout.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTextPickerFadeoutTest/UIComponentButtonTextPickerFadeout.test.ets new file mode 100644 index 00000000..84d82fe3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTextPickerFadeoutTest/UIComponentButtonTextPickerFadeout.test.ets @@ -0,0 +1,256 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Logger from '../model/Logger'; +import Settings from '../model/Settings'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; +import { Driver, ON, Component } from '@ohos.UiTest'; + +export default function UIComponentButtonTextPickerFadeoutTest () { + describe('UIComponentButtonTextPickerFadeoutTest', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0040 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0040 + * @tc.desc 设置渐隐效果高度gradientHeight (50fp) + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0040 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0040"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showPickerBt = await driver.findComponent(ON.id('show_picker_bt')); + await showPickerBt.click(); + await Utils.sleep(1000); + const prop = getInspectorByKey('text_picker'); + const picker: Record = JSON.parse(prop); + const attr = picker['$attrs']; + if (attr) { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0040: gradientHeight = ${(attr as object)['gradientHeight']}`); + } + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0040 finish.`); + done(); + }) + + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0090 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0090"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showPickerBt = await driver.findComponent(ON.id('show_picker_bt')); + await showPickerBt.click(); + await Utils.sleep(1000); + const prop = getInspectorByKey('text_picker'); + const picker: Record = JSON.parse(prop); + const attr = picker['$attrs']; + if (attr) { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0090: gradientHeight = ${(attr as object)['gradientHeight']}`); + } + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0090 finish.`); + done(); + }) + + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0030 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0030"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showPickerBt = await driver.findComponent(ON.id('show_picker_bt')); + await showPickerBt.click(); + await Utils.sleep(1000); + const prop = getInspectorByKey('text_picker'); + const picker: Record = JSON.parse(prop); + const attr = picker['$attrs']; + if (attr) { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0030: gradientHeight = ${(attr as object)['gradientHeight']}`); + } + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0030 finish.`); + done(); + }) + + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0080 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0080"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showPickerBt = await driver.findComponent(ON.id('show_picker_bt')); + await showPickerBt.click(); + await Utils.sleep(1000); + const prop = getInspectorByKey('text_picker'); + const picker: Record = JSON.parse(prop); + const attr = picker['$attrs']; + if (attr) { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0080: gradientHeight = ${(attr as object)['gradientHeight']}`); + } + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0080 finish.`); + done(); + }) + + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0120 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0120"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showPickerBt = await driver.findComponent(ON.id('show_picker_bt')); + await showPickerBt.click(); + await Utils.sleep(1000); + const prop = getInspectorByKey('text_picker'); + const picker: Record = JSON.parse(prop); + const attr = picker['$attrs']; + if (attr) { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0120: gradientHeight = ${(attr as object)['gradientHeight']}`); + } + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0120 finish.`); + done(); + }) + + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0110 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0110"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showPickerBt = await driver.findComponent(ON.id('show_picker_bt')); + await showPickerBt.click(); + await Utils.sleep(1000); + const prop = getInspectorByKey('text_picker'); + const picker: Record = JSON.parse(prop); + const attr = picker['$attrs']; + if (attr) { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0110: gradientHeight = ${(attr as object)['gradientHeight']}`); + } + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0110 finish.`); + done(); + }) + + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0100 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0100"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showPickerBt = await driver.findComponent(ON.id('show_picker_bt')); + await showPickerBt.click(); + await Utils.sleep(1000); + const prop = getInspectorByKey('text_picker'); + const picker: Record = JSON.parse(prop); + const attr = picker['$attrs']; + if (attr) { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0100: gradientHeight = ${(attr as object)['gradientHeight']}`); + } + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0100 finish.`); + done(); + }) + + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0070 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0070"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showPickerBt = await driver.findComponent(ON.id('show_picker_bt')); + await showPickerBt.click(); + await Utils.sleep(1000); + const prop = getInspectorByKey('text_picker'); + const picker: Record = JSON.parse(prop); + const attr = picker['$attrs']; + if (attr) { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0070: gradientHeight = ${(attr as object)['gradientHeight']}`); + } + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0070 finish.`); + done(); + }) + + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0050 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0050"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showPickerBt = await driver.findComponent(ON.id('show_picker_bt')); + await showPickerBt.click(); + await Utils.sleep(1000); + const prop = getInspectorByKey('text_picker'); + const picker: Record = JSON.parse(prop); + const attr = picker['$attrs']; + if (attr) { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0050: gradientHeight = ${(attr as object)['gradientHeight']}`); + } + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0050 finish.`); + done(); + }) + + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0010 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0010"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showPickerBt = await driver.findComponent(ON.id('show_picker_bt')); + await showPickerBt.click(); + await Utils.sleep(1000); + const prop = getInspectorByKey('text_picker'); + const picker: Record = JSON.parse(prop); + const attr = picker['$attrs']; + if (attr) { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0010: gradientHeight = ${(attr as object)['gradientHeight']}`); + } + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0010 finish.`); + done(); + }) + + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0130 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0130"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showPickerBt = await driver.findComponent(ON.id('show_picker_bt')); + await showPickerBt.click(); + await Utils.sleep(1000); + const prop = getInspectorByKey('text_picker'); + const picker: Record = JSON.parse(prop); + const attr = picker['$attrs']; + if (attr) { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0130: gradientHeight = ${(attr as object)['gradientHeight']}`); + } + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_FADEOUT_0130 finish.`); + done(); + }) + }) + +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTextPickerInterfaceTest/UIComponentButtonTextPickerInterface.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTextPickerInterfaceTest/UIComponentButtonTextPickerInterface.test.ets new file mode 100644 index 00000000..4c2cde34 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTextPickerInterfaceTest/UIComponentButtonTextPickerInterface.test.ets @@ -0,0 +1,726 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Logger from '../model/Logger'; +import Settings from '../model/Settings'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; +import { Driver, ON, Component } from '@ohos.UiTest'; + +export default function UIComponentButtonTextPickerInterfaceTest() { + describe('UIComponentButtonTextPickerInterfaceTest', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0310 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0310 + * @tc.desc 在Textpicker组件中,验证通用属性constraintSize为百分比 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0310 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0310"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0310 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0010 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0010 + * @tc.desc 在Textpicker组件中defaultPickerltemHeight:number:0 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0010 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0010"); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0010 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0060 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0060 + * @tc.desc 在Textpicker组件中defaultPickerltemHeight:string:百分比 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0060 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0060"); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0060 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0030 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0030 + * @tc.desc 在Textpicker组件中defaultPickerltemHeight:number:负数 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0030 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0030"); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0030 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0040 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0040 + * @tc.desc 在Textpicker组件中,defaultPickerltemHeight:string:"20" + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0040 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0040"); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0040 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0050 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0050 + * @tc.desc 在Textpicker组件中defaultPickerltemHeight:string:指定像素单位 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0050 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0050"); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0050 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0070 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0070 + * @tc.desc 在Textpicker组件中,设置disappearTextStyle属性 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0070 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0070"); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0070 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0370 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0370 + * @tc.desc 在Textpicker组件中,验证通用属性padding为Length行 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0370 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0370"); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0370 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0400 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0400 + * @tc.desc 在Textpicker组件中,验证通用属性size设置 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0400 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0400"); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0400 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0420 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0420 + * @tc.desc 在Textpicker组件中,验证通用属性width子父组件设置正常 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0420 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0420"); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0420 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0230 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0230 + * @tc.desc 在Textpicker组件中,验证向上拖拽功能 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0230 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0230"); + await Utils.sleep(1000); + const driver = Driver.create(); + await (await driver.findComponent(ON.text('Test 2'))).click(); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0230 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0270 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0270 + * @tc.desc 在Textpicker组件中,验证向组合拖拽功能 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0270 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0270"); + await Utils.sleep(1000); + const driver = Driver.create(); + const picker = await driver.findComponent(ON.type('TextPicker')); + const point = await picker.getBoundsCenter(); + await driver.swipe(point.x, point.y, point.x + 50, point.y - 70); + await driver.swipe(point.x, point.y - 70, point.x, point.y + 70); + await Utils.sleep(7000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0270 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0240 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0240 + * @tc.desc 在Textpicker组件中,验证向下拖拽功能 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0240 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0240"); + await Utils.sleep(1000); + const driver = Driver.create(); + await (await driver.findComponent(ON.text('Test 33'))).click(); + await Utils.sleep(5000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0240 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0260 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0260 + * @tc.desc 在Textpicker组件中,验证向左拖拽功能 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0260 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0260"); + await Utils.sleep(1000); + const driver = Driver.create(); + await (await driver.findComponent(ON.text('Test 2'))).click(); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0260 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0250 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0250 + * @tc.desc 在Textpicker组件中,验证向右拖拽功能 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0250 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0250"); + await Utils.sleep(1000); + const driver = Driver.create(); + await (await driver.findComponent(ON.text('Test 2'))).click(); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0250 finish.`); + done(); + }) + + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0120 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0120"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0120 finish.`); + done(); + }) + + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0130 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0130"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0130 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0320 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0320 + * @tc.desc 在Textpicker组件中,验证通用属性height子父组件设置异常 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0320 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0320"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0320 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0390 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0390 + * @tc.desc 在Textpicker组件中,验证通用属性padding默认值 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0390 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0390"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0390 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0350 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0350 + * @tc.desc 在Textpicker组件中,验证通用属性margin为百分比 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0350 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0350"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0350 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0380 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0380 + * @tc.desc 在Textpicker组件中,验证通用属性padding为百分比 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0380 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0380"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0380 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0150 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0150 + * @tc.desc 在Textpicker组件中,验证入参range必选、参数为string类型selected必选,value必选 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0150 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0150"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0150 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0160 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0160 + * @tc.desc 在Textpicker组件中,验证入参range必选、参数为string类型selected未选,value必选 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0160 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0160"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0160 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0170 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0170 + * @tc.desc 在Textpicker组件中,验证入参range必选、参数为string类型,selected未选value未选 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0170 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0170"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0170 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0410 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0410 + * @tc.desc 在Textpicker组件中,验证通用属性width子父组件设置异常 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0410', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0410 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0410"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0410 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0330 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0330 + * @tc.desc 在Textpicker组件中,验证通用属性height子父组件设置正常 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0330 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0330"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0330 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0300 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0300 + * @tc.desc 在Textpicker组件中,验证通用属性constraintSize为minWidth大于maxWidth + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0300 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0300"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0300 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0080 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0080 + * @tc.desc 在Textpicker组件中,设置selectedTextStyle属性 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0080 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0080"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0080 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0360 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0360 + * @tc.desc 在Textpicker组件中,验证通用属性margin默认值 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0360 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0360"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0360 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0340 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0340 + * @tc.desc 在Textpicker组件中,验证通用属性margin为Length行 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0340 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0340"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0340 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0580 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0580 + * @tc.desc 滑动选择文本内容组件 TextPicker,设置循环滚动 canLoop由false变为null,验证其可滚动 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0580', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0580 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0580"); + await Utils.sleep(2000); + const driver = Driver.create(); + const optionBt = await driver.findComponent(ON.id('option_bt')); + await optionBt.click(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('Test 2'))).click(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('Test 2'))).click(); + await Utils.sleep(5000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0580 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0530 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0530 + * @tc.desc 滑动选择文本内容组件 TextPicker,设置循环滚动 canLoop为null,验证其可滚动 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0530', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0530 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0530"); + await Utils.sleep(1000); + const driver = Driver.create(); + await (await driver.findComponent(ON.text('Test 2'))).click(); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0530 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0510 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0510 + * @tc.desc 滑动选择文本内容组件 TextPicker,不设置循环滚动 canLoop (默认值true),验证其可滚动 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0510 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0510"); + await Utils.sleep(1000); + const driver = Driver.create(); + await (await driver.findComponent(ON.text('Test 2'))).click(); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0510 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0550 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0550 + * @tc.desc 滑动选择文本内容组件 TextPicker,设置循环滚动 canLoop为空字符串"",验证其可滚动 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0550', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0550 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0550"); + await Utils.sleep(1000); + const driver = Driver.create(); + await (await driver.findComponent(ON.text('Test 2'))).click(); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0550 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0560 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0560 + * @tc.desc 滑动选择文本内容组件 TextPicker,设置循环滚动 canLoop由true变为false, 验证其不可滚动 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0560', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0560 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0560"); + await Utils.sleep(2000); + const driver = Driver.create(); + const optionBt = await driver.findComponent(ON.id('option_bt')); + await optionBt.click(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('Test 2'))).click(); + await Utils.sleep(5000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0560 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0570 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0570 + * @tc.desc 滑动选择文本内容组件 TextPicker,设置循环滚动 canLoop由null变为false,验证其不可滚动 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0570', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0570 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0570"); + await Utils.sleep(2000); + const driver = Driver.create(); + const optionBt = await driver.findComponent(ON.id('option_bt')); + await optionBt.click(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('Test 2'))).click(); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0570 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0520 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0520 + * @tc.desc 滑动选择文本内容组件 TextPicker,设置循环滚动 canLoop为false, 验证其不可滚动 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0520', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0520 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0520"); + await Utils.sleep(1000); + const driver = Driver.create(); + await (await driver.findComponent(ON.text('Test 2'))).click(); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0520 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0540 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0540 + * @tc.desc 滑动选择文本内容组件 TextPicker,设置循环滚动 canLoop为undefined,验证其可滚动 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0540', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0540 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0540"); + await Utils.sleep(1000); + const driver = Driver.create(); + await (await driver.findComponent(ON.text('Test 2'))).click(); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0540 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0280 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0280 + * @tc.desc 在Textpicker组件中,验证文本内容大于组件显示区域 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0280 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0280"); + await Utils.sleep(1000); + const driver = Driver.create(); + await (await driver.findComponent(ON.text('香蕉2banana'))).click(); + await Utils.sleep(5000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0280 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0290 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0290 + * @tc.desc 在Textpicker组件中,验证点击事件触发滑动 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0290 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0290"); + await Utils.sleep(1000); + const driver = Driver.create(); + const bt1 = await driver.findComponent(ON.id('button1')); + await Utils.sleep(200); + const bt2 = await driver.findComponent(ON.id('button2')); + await Utils.sleep(200); + await bt1.click(); + await Utils.sleep(1000); + await bt2.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0290 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0100 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0100 + * @tc.desc 在Textpicker组件中,验证text文本中英文互换 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0100 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0100"); + await Utils.sleep(1000); + windowSnap.snapShot('zh'); + await Utils.sleep(2000); + const driver = Driver.create(); + const optionBt = await driver.findComponent(ON.id('option_bt1')); + await optionBt.click(); + await Utils.sleep(1000); + windowSnap.snapShot("en"); + await Utils.sleep(3000); + const optionBt2 = await driver.findComponent(ON.id('option_bt2')); + await optionBt2.click(); + await Utils.sleep(1000); + windowSnap.snapShot("number"); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0100 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0090 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0090 + * @tc.desc 在Textpicker组件中,设置textStyle属性 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0090 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0090"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_INTERFACE_0090 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTextPickerMirrorImageTest/UIComponentButtonTextPickerMirrorImage.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTextPickerMirrorImageTest/UIComponentButtonTextPickerMirrorImage.test.ets new file mode 100644 index 00000000..858fc607 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTextPickerMirrorImageTest/UIComponentButtonTextPickerMirrorImage.test.ets @@ -0,0 +1,2435 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Logger from '../model/Logger'; +import Settings from '../model/Settings'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; +import { Driver, ON, Component } from '@ohos.UiTest'; + +export default function UIComponentButtonTextPickerMirrorImageTest() { + describe('UIComponentButtonTextPickerMirrorImageTest', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0090 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0090 + * @tc.desc TextPicker单列range为带图片TextPickerRangeContent[];首次渲染:繁体中文+RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0090 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0090"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + await driver.swipe((rect.left + rect.right) / 2, rect.top, (rect.left + rect.right) / 2, rect.bottom); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0090 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0030 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0030 + * @tc.desc TextPicker单列range为带图片TextPickerRangeContent[];首次渲染:简体中文+RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0030 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0030"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + await driver.swipe((rect.left + rect.right) / 2, rect.top, (rect.left + rect.right) / 2, rect.bottom); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0030 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0050 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0050 + * @tc.desc TextPicker单列range为string[];首次渲染:简体中文+Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0050 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0050"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + await driver.swipe((rect.left + rect.right) / 2, rect.top, (rect.left + rect.right) / 2, rect.bottom); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0050 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0060 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0060 + * @tc.desc TextPicker单列range为string[];首次渲染:简体中文+LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0050 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0060"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + await driver.swipe((rect.left + rect.right) / 2, rect.top, (rect.left + rect.right) / 2, rect.bottom); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0060 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0020 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0020 + * @tc.desc TextPicker多列range为string[][];首次渲染:简体中文+LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0020 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0020"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + await driver.swipe((rect.left + rect.right) / 2, rect.top, (rect.left + rect.right) / 2, rect.bottom); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0020 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0080 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0080 + * @tc.desc TextPicker多列range为string[][];首次渲染:繁体中文+LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0080 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0080"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + await driver.swipe((rect.left + rect.right) / 2, rect.top, (rect.left + rect.right) / 2, rect.bottom); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0080 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0110 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0110 + * @tc.desc TextPickerDialog多列range为string[][];首次渲染:英语 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0110 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0110"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0110 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0070 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0070 + * @tc.desc TextPicker单列range为Resource;首次渲染:维吾尔文+LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0070 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0070"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0070: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0070 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0140 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0140 + * @tc.desc TextPicker多列range为TextCascadePickerRangeContent;首次渲染:维吾尔文+Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0140 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0140"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0140: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0140 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0100 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0100 + * @tc.desc TextPicker多列range为TextCascadePickerRangeContent;首次渲染:繁体中文+RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0100 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0100"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0100: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0100 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0120 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0120 + * @tc.desc TextPicker单列range为string[];首次渲染:简体中文+RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0120 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0120"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0120: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0120 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0130 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0130 + * @tc.desc TextPicker单列range为string[];首次渲染:维吾尔文+Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0130 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0130"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0130: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0130 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0150 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0150 + * @tc.desc TextPickerDialog单列range为带图片TextPickerRangeContent[];首次渲染:藏文 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0150 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0150"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0150 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0530 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0530 + * @tc.desc TextPicker多列range为string[][];首次渲染:维吾尔文+ RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0530', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0530 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0530"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0530: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0530 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0590 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0590 + * @tc.desc TextPicker多列range为TextCascadePickerRangeContent;首次渲染:简体中文+RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0590', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0590 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0590"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0590: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0590 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0550 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0550 + * @tc.desc TextPicker多列range为TextCascadePickerRangeContent;首次渲染:藏文+RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0550', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0550 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0550"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0550: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0550 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0560 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0560 + * @tc.desc TextPicker单列range为带图片TextPickerRangeContent[];首次渲染:简体中文+Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0560', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0550 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0560"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0560: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0560 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0520 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0520 + * @tc.desc TextPicker单列range为Resource;首次渲染:简体中文+LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0520', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0520 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0520"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0520: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0520 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0510 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0510 + * @tc.desc TextPicker单列range为带图片TextPickerRangeContent[];首次渲染:藏文+Rtl + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0510 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0510"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0510: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0510 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0540 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0540 + * @tc.desc TextPickerDialog单列range为string[];首次渲染:简体中文 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0540', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0540 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0540"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0540 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0570 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0570 + * @tc.desc TextPicker单列range为string[];首次渲染:藏文+Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0570', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0570 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0570"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0570: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0570 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0650 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0650 + * @tc.desc TextPicker多列range为string[][];首次渲染:简体中文+ Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0650', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0650 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0650"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0650: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0650 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0660 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0660 + * @tc.desc TextPickerDialog单列range为Resource;首次渲染:英语 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0660', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0660 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0660"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0660 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0640 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0640 + * @tc.desc TextPickerDialog多列range为TextCascadePickerRangeContent[];首次渲染:维吾尔文 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0640', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0640 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0640"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0640 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0580 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0580 + * @tc.desc TextPicker单列range为string[];首次渲染:藏文+LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0580', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0580 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0580"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0580: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0580 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0620 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0620 + * @tc.desc TextPicker单列range为string[];首次渲染:繁体中文+ Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0620', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0620 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0620"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0620: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0620 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0630 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0630 + * @tc.desc TextPicker多列range为TextCascadePickerRangeContent;首次渲染:英语+Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0630', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0630 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0630"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0630: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0630 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0180 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0180 + * @tc.desc TextPicker单列range为Resource;首次渲染:繁体中文+Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0180 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0180"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0180: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0180 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0170 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0170 + * @tc.desc TextPicker单列range为string[];首次渲染:维吾尔文+RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0170 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0170"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0170: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0170 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0200 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0200 + * @tc.desc TextPicker多列range为TextCascadePickerRangeContent;首次渲染:维吾尔文+LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0200 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0200"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0200: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0200 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0220 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0220 + * @tc.desc TextPicker单列range为Resource;首次渲染:英语+Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0220 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0220"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0220: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0220 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0230 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0230 + * @tc.desc TextPicker单列range为string[];首次渲染:英语+LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0230 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0230"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0230: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0230 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0190 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0190 + * @tc.desc TextPicker单列range为带图片TextPickerRangeContent[];首次渲染:繁体中文+Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0190 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0190"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0190: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0190 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0270 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0270 + * @tc.desc TextPicker多列range为string[][];首次渲染:简体中文+ RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0270 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0270"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0270: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0270 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0290 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0290 + * @tc.desc TextPickerDialog单列range为带图片TextPickerRangeContent[];首次渲染:简体中文 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0290 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0290"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0290 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0280 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0280 + * @tc.desc TextPickerDialog单列range为Resource;首次渲染:维吾尔文 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0280 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0280"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0280 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0260 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0260 + * @tc.desc TextPicker多列range为TextCascadePickerRangeContent;首次渲染:简体中文+Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0260 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0260"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0260: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0260 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0250 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0250 + * @tc.desc TextPicker多列range为string[][];首次渲染:藏文+ Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0250 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0250"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0250: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0250 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0300 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0300 + * @tc.desc TextPickerDialog单列range为带图片TextPickerRangeContent[];首次渲染:英文 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0300 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0300"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0300 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0320 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0320 + * @tc.desc TextPicker多列range为TextCascadePickerRangeContent;首次渲染:简体中文+LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0320 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0320"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0320: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0320 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0680 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0680 + * @tc.desc TextPicker单列range为带图片TextPickerRangeContent[];首次渲染:维吾尔文+Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0680', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0680 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0680"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0680: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0680 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0670 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0670 + * @tc.desc TextPickerDialog多列range为TextCascadePickerRangeContent[];首次渲染:英文 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0670', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0670 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0670"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0670 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0790 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0790 + * @tc.desc TextPicker多列range为TextCascadePickerRangeContent;首次渲染:繁体中文+LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0790', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0790 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0790"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0790: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0790 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0770 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0770 + * @tc.desc TextPickerDialog多列range为TextCascadePickerRangeContent[];首次渲染:简体中文 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0770', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0770 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0770"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0770 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0700 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0700 + * @tc.desc TextPicker多列range为TextCascadePickerRangeContent;首次渲染:藏文+LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0700', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0700 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0700"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0700: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0700 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0750 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0750 + * @tc.desc TextPicker多列range为string[][];首次渲染:英文+ RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0750', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0750 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0750"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0750: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0750 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0740 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0740 + * @tc.desc TextPicker单列range为string[];首次渲染:英文+ RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0740', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0740 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0740"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0740: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0740 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0730 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0730 + * @tc.desc TextPicker多列range为string[][];首次渲染:维吾尔文+ LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0730', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0730 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0730"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0730: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0730 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0720 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0720 + * @tc.desc TextPicker多列range为string[][];首次渲染:繁体中文+ LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0720', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0720 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0720"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0720: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0720 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0780 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0780 + * @tc.desc TextPicker单列range为string[];首次渲染:维吾尔文+ LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0780', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0780 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0780"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0780: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0780 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0810 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0810 + * @tc.desc TextPicker单列range为带图片TextPickerRangeContent[];首次渲染:维吾尔文+LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0810', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0810 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0810"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0810: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0810 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0710 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0710 + * @tc.desc TextPicker单列range为string[];首次渲染:藏文+ RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0710', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0710 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0710"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0710: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0710 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0760 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0760 + * @tc.desc TextPicker多列range为TextCascadePickerRangeContent;首次渲染:维吾尔文+RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0760', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0760 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0760"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0760: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0760 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0800 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0800 + * @tc.desc TextPicker单列range为带图片TextPickerRangeContent[];首次渲染:藏文+LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0800', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0800 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0800"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0800: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0800 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0820 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0820 + * @tc.desc TextPicker单列range为string[];首次渲染:繁体中文+ RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0820', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0820 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0820"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0820: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0820 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0330 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0330 + * @tc.desc TextPicker单列range为带图片TextPickerRangeContent[];首次渲染:维吾尔文+ RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0330 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0330"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0330: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0330 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0370 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0370 + * @tc.desc TextPicker多列range为string[][];首次渲染:英文+ LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0370 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0370"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0370: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0370 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0350 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0350 + * @tc.desc TextPicker单列range为Resource;首次渲染:繁体中文+LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0350 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0350"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0350: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0350 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0340 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0340 + * @tc.desc TextPickerDialog多列range为string[][];首次渲染:藏文 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0340 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0340"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0340 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0390 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0390 + * @tc.desc TextPickerDialog多列range为string[][];首次渲染:简体中文 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0390 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0390"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0390 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0690 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0690 + * @tc.desc TextPicker多列range为TextCascadePickerRangeContent;首次渲染:繁体中文+Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0690', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0690 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0690"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0690: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0690 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0410 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0410 + * @tc.desc TextPicker单列range为Resource;首次渲染:藏文+LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0410', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0410 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0410"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const rect = await textPicker.getBounds(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0410: ${JSON.stringify(rect)}`); + await driver.swipe((rect.left + rect.right) / 2, rect.top + 10, (rect.left + rect.right) / 2, rect.bottom - 10); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0410 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0400 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0400 + * @tc.desc TextPickerDialog单列range为带图片TextPickerRangeContent[];首次渲染:繁体中文 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0400 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0400"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0400 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0420 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0420 + * @tc.desc TextPicker多列range为TextCascadePickerRangeContent;首次渲染:英文+RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0420 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0420"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0420 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0380 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0380 + * @tc.desc TextPickerDialog单列range为Resource;首次渲染:藏文 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0380 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0380"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0380 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0360 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0360 + * @tc.desc TextPicker多列range为string[][]:首次渲染:藏文+RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0360 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0360"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0360 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0430 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0430 + * @tc.desc TextPicker单列range为带图片TextPickerRangeContent[]; 首次渲染:英语+LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0430', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0430 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0430"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0430 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0450 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0450 + * @tc.desc TextPicker单列range为Resource;首次渲染:繁体中文 + RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0450', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0450 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0450"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0450 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0830 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0830 + * @tc.desc TextPicker单列range为Resource;首次渲染:维吾尔文 + RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0830', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0830 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0830"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0830 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0470 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0470 + * @tc.desc TextPicker单列range为带图片TextPickerRangeContent[];首次渲染:藏文+Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0470', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0470 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0470"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0470 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0440 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0440 + * @tc.desc TextPicker单列range为Resource;首次渲染:简体中文+RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0440', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0440 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0440"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0440 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0870 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0870 + * @tc.desc TextPicker多列range为string[][];首次渲染:维吾尔文+Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0870', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0870 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0870"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0870 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0890 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0890 + * @tc.desc TextPickerDialog多列range为string[][];首次渲染:维吾尔文 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0890', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0890 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0890"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0890 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0900 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0900 + * @tc.desc TextPicker单列range为Resource;首次渲染:维吾尔文+Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0900', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0900 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0900"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0900 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0910 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0910 + * @tc.desc TextPicker多列range为string[][];首次渲染:藏文+LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0910', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0910 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0910"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0910 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0840 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0840 + * @tc.desc TextPickerDialog多列range为TextCascadePickerRangeContent;首次渲染:藏文 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0840', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0840 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0840"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + ; + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0840 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0480 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0480 + * @tc.desc TextPicker单列range为Resource;首次渲染:英文+LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0480', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0480 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0480"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0480 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0930 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0930 + * @tc.desc TextPickerDialog单列range为Resource;首次渲染:繁体中文 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0930', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0930 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0930"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0930 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0950 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0950 + * @tc.desc TextPicker单列range为Resource;首次渲染:英文+RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0950', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0950 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0950"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0950 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0850 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0850 + * @tc.desc TextPicker单列range为string[];首次渲染:英文+Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0850', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0850 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0850"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0850 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0880 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0880 + * @tc.desc TextPickerDialog单列range为Resource;首次渲染:简体中文 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0880', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0880 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0880"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0880 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0860 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0860 + * @tc.desc TextPicker单列range为带图片TextPickerRangeContent[];首次渲染:英文+Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0860', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0860 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0860"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0860 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0940 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0940 + * @tc.desc TextPicker多列range为string[][];首次渲染:繁体中文+Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0940', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0940 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0940"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0940 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0970 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0970 + * @tc.desc TextPicker多列range为string[][];首次渲染:英文+Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0970', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0970 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0970"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0970 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0490 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0490 + * @tc.desc TextPicker单列range为带图片TextPickerRangeContent[];首次渲染:简体中文+LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0490', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0490 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0490"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0490 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0960 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0960 + * @tc.desc TextPicker单列range为带图片TextPickerRangeContent[];首次渲染:英文+RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0960', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0960 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0960"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0960 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0920 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0920 + * @tc.desc TextPicker多列range为TextCascadePickerRangeContent;首次渲染:藏文+Auto + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0920', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0920 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0920"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0920 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0500 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0500 + * @tc.desc TextPicker多列range为string[][];首次渲染:繁体中文+RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0500', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0500 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0500"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0500 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0980 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0980 + * @tc.desc TextPicker单列range为带图片TextPickerRangeContent[];首次渲染:繁体中文+LTR + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0980', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0980 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0980"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0980 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_1000 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_1000 + * @tc.desc TextPickerDialog多列range为string[][];首次渲染:繁体中文 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_1000', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_1000 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage1000"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_1000 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0990 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0990 + * @tc.desc TextPicker单列range为Resource;首次渲染:藏文+RTL + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0990', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0990 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0990"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const showTextPicker: Component = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPicker.click(); + await Utils.sleep(1000); + const directionRtl: Component = await driver.findComponent(ON.id('direction_bt')); + await directionRtl.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y - 50, point.x, point.y + 50); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0990 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTextPickerOverBoundaryReboundTest/UIComponentButtonTextPickerOverBoundaryRebound.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTextPickerOverBoundaryReboundTest/UIComponentButtonTextPickerOverBoundaryRebound.test.ets new file mode 100644 index 00000000..d45a8cee --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTextPickerOverBoundaryReboundTest/UIComponentButtonTextPickerOverBoundaryRebound.test.ets @@ -0,0 +1,155 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Logger from '../model/Logger'; +import Settings from '../model/Settings'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; +import { Driver, ON, Component } from '@ohos.UiTest'; + +export default function UIComponentButtonTextPickerOverBoundaryReboundTest() { + describe('UIComponentButtonTextPickerOverBoundaryReboundTest', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0050 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0050 + * @tc.desc 多列range为TextCascadePickerRangeContent[]:验证TextPicker的拖拽过界、惯性拋滑过界场景 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0050 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0050"); + const driver: Driver = Driver.create(); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y, point.x, point.y + 150); + await Utils.sleep(1000); + await driver.swipe(point.x, point.y + 50, point.x, point.y - 200); + await Utils.sleep(1000); + await driver.swipe(point.x, point.y, point.x, point.y + 250, 1500); + await Utils.sleep(1000); + await driver.swipe(point.x, point.y + 50, point.x, point.y - 200, 1500); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0050 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0040 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0040 + * @tc.desc 多列range为string[][]:验证 TextPicker的拖拽过界、惯性抛滑过界场景 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0040 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0040"); + const driver: Driver = Driver.create(); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y, point.x, point.y + 150); + await Utils.sleep(1000); + await driver.swipe(point.x, point.y + 50, point.x, point.y - 200); + await Utils.sleep(1000); + await driver.swipe(point.x, point.y, point.x, point.y + 250, 1500); + await Utils.sleep(1000); + await driver.swipe(point.x, point.y + 50, point.x, point.y - 200, 1500); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0040 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0030 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0030 + * @tc.desc 单列range为带图片TextPickerRangeContent[]:验证 TextPicker的拖拽过界、惯性抛滑过界场景 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0030 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0030"); + const driver: Driver = Driver.create(); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y, point.x, point.y + 150); + await Utils.sleep(1000); + await driver.swipe(point.x, point.y + 50, point.x, point.y - 200); + await Utils.sleep(1000); + await driver.swipe(point.x, point.y, point.x, point.y + 250, 1500); + await Utils.sleep(1000); + await driver.swipe(point.x, point.y + 50, point.x, point.y - 200, 1500); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0030 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0020 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0020 + * @tc.desc 单列range为string[]:验证 TextPicker的拖拽过界、惯性抛滑过界场景 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0020 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0020"); + const driver: Driver = Driver.create(); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y, point.x, point.y + 250); + await Utils.sleep(1000); + await driver.swipe(point.x, point.y + 50, point.x, point.y - 300); + await Utils.sleep(1000); + await driver.swipe(point.x, point.y, point.x, point.y + 350, 1500); + await Utils.sleep(1000); + await driver.swipe(point.x, point.y + 50, point.x, point.y - 350, 1500); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0020 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0010 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0010 + * @tc.desc 单列range为Resource:验证 TextPicker的拖拽过界、惯性拋滑过界场景 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0010 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0010"); + const driver: Driver = Driver.create(); + const textPicker: Component = await driver.findComponent(ON.id('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y, point.x, point.y + 150); + await Utils.sleep(1000); + await driver.swipe(point.x, point.y + 50, point.x, point.y - 200); + await Utils.sleep(1000); + await driver.swipe(point.x, point.y, point.x, point.y + 250, 1500); + await Utils.sleep(1000); + await driver.swipe(point.x, point.y + 50, point.x, point.y - 200, 1500); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_OVERBOUNDARYREBOUND_0010 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTimepickerEventTest/UIComponentButtonTimepickerEvent.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTimepickerEventTest/UIComponentButtonTimepickerEvent.test.ets new file mode 100644 index 00000000..97f0bd2f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTimepickerEventTest/UIComponentButtonTimepickerEvent.test.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Settings from '../model/Settings'; +import windowSnap from '../model/snapShot'; +import Logger from '../model/Logger'; +import Utils from '../model/Utils'; +import uiAppearance from '@ohos.uiAppearance'; +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; +import { Component, Driver, ON } from '@ohos.UiTest'; + +export default function UIComponentButtonTimepickerEvent() { + describe('UIComponentButtonTimepickerEvent', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_EVENT_0020 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_EVENT_0020 + * @tc.desc 在TimePicker组件中,onChange?:(value:               TimePickerResult)=>void;:滑动选择器,当前选择项改变时的触发 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_EVENT_0020', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentButtonTimepickerEvent/UIComponentButtonTimepickerEvent0020"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showButton = await driver.findComponent(ON.id('showButton')); + await showButton.click(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('9'))).click(); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTimepickerInterfaceTest/UIComponentButtonTimepickerInterface.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTimepickerInterfaceTest/UIComponentButtonTimepickerInterface.test.ets new file mode 100644 index 00000000..ebea39c5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTimepickerInterfaceTest/UIComponentButtonTimepickerInterface.test.ets @@ -0,0 +1,447 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Settings from '../model/Settings'; +import windowSnap from '../model/snapShot'; +import Logger from '../model/Logger'; +import Utils from '../model/Utils'; +import { DisplayRotation, Driver, ON, Component } from '@ohos.UiTest'; + +export default function UIComponentButtonTimepickerInterface() { + describe('UIComponentButtonTimepickerInterface', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0290 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0290 + * @tc.desc 在TimePicker组件中,验证通用属性size设置 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0290 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0290"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0290 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0010 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0010 + * @tc.desc 在TimePicker组件中,useMilitaryTime:false + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0010 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0010"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0010 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0260 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0260 + * @tc.desc 在TimePicker组件中,验证通用属性padding为Length行 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0260 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0260"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0260 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0280 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0280 + * @tc.desc 在TimePicker组件中,验证通用属性padding默认值 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0280 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0280"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0280 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0110 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0110 + * @tc.desc 在TimePicker组件中,验证入参selected为data类型 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0110 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0110"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0110 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0030 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0030 + * @tc.desc 在TimePicker组件中,useMilitaryTime:默认 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0030 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0030"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0030 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0150 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0150 + * @tc.desc 在TimePicker组件中,验证向下拖拽功能 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0150 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0150"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let text = await driver.findComponent(ON.text('7')); + let point = await text.getBoundsCenter(); + await driver.swipe(point.x, point.y, point.x, point.y + 300); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0150 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0200 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0200 + * @tc.desc 在TimePicker组件中,验证通用属性constraintSize为百分比 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0200 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0200"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0200 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0020 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0020 + * @tc.desc 在TimePicker组件中,useMilitaryTime:true + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0020 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0020"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0020 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0230 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0230 + * @tc.desc 在TimePicker组件中,验证通用属性margin为Length行 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0230 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0230"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0230 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0130 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0130 + * @tc.desc 在TimePicker组件中,验证入参selected未选择 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0130 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0130"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0130 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0210 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0210 + * @tc.desc 在TimePicker组件中,验证通用属性height子父组件设置异常 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0210 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0210"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0210 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0360 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0360 + * @tc.desc 在TimePicker组件中,验证12小时制转换24小时制 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0360 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0360"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentButtonTimepickerInterface0360_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(500); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0360 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0140 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0140 + * @tc.desc 在TimePicker组件中,验证向上组合拖拽功能 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0140 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0140"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let text = await driver.findComponent(ON.text('9')); + let point = await text.getBoundsCenter(); + await driver.swipe(point.x, point.y, point.x, point.y - 200); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0140 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0160 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0160 + * @tc.desc 在TimePicker组件中,验证向右拖拽功能 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0160 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0160"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let text = await driver.findComponent(ON.text('9')); + let point = await text.getBoundsCenter(); + await driver.swipe(point.x, point.y, point.x + 200, point.y); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0160 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0170 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0170 + * @tc.desc 在TimePicker组件中,验证向左拖拽功能 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0170 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0170"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let text = await driver.findComponent(ON.text('9')); + let point = await text.getBoundsCenter(); + await driver.swipe(point.x, point.y, point.x - 200, point.y); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0170 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0250 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0250 + * @tc.desc 在TimePicker组件中,验证通用属性margin默认值 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0250 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0250"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0250 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0370 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0370 + * @tc.desc 在TimePicker组件中,验证点击事件触发滑动 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0370 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0370"); + await Utils.sleep(1000); + const driver = Driver.create(); + const bt1 = await driver.findComponent(ON.id('button1')); + await Utils.sleep(200); + const bt2 = await driver.findComponent(ON.id('button2')); + await Utils.sleep(200); + await bt1.click(); + await Utils.sleep(1000); + await bt2.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0370 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0220 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0220 + * @tc.desc 在TimePicker组件中,验证通用属性height子父组件设置正常 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0220 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0220"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0220 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0240 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0240 + * @tc.desc 在TimePicker组件中,验证通用属性margin为百分比 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0240 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0240"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0240 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0270 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0270 + * @tc.desc 在TimePicker组件中,验证通用属性padding为百分比 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0270 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0270"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0270 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0190 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0190 + * @tc.desc 在TimePicker组件中,验证通用属性constraintSize为minWidth大于maxWidth + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0190 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0190"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0190 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0310 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0310 + * @tc.desc 在TimePicker组件中,验证通用属性width子父组件设置正常 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0310 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0310"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0310 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0180 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0180 + * @tc.desc 在TimePicker组件中,验证向组合拖拽功能 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0180 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0180"); + await Utils.sleep(1000); + const driver = Driver.create(); + const picker = await driver.findComponent(ON.type('TimePicker')); + const point = await picker.getBoundsCenter(); + await driver.swipe(point.x, point.y, point.x + 50, point.y - 70); + await driver.swipe(point.x, point.y - 70, point.x, point.y + 70); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0180 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0300 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0300 + * @tc.desc 在TimePicker组件中,验证通用属性width子父组件设置异常 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0300 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0300"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_INTERFACE_0300 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTimepickerNumericTest/UIComponentButtonTimepickerNumeric.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTimepickerNumericTest/UIComponentButtonTimepickerNumeric.test.ets new file mode 100644 index 00000000..08f1e911 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonTimepickerNumericTest/UIComponentButtonTimepickerNumeric.test.ets @@ -0,0 +1,2725 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, afterEach, it } from '@ohos/hypium'; +import Settings from '../model/Settings'; +import windowSnap from '../model/snapShot'; +import Logger from '../model/Logger'; +import Utils from '../model/Utils'; +import { Component, Driver, ON } from '@ohos.UiTest'; + +export default function UIComponentButtonTimepickerNumeric() { + describe('UIComponentButtonTimepickerNumeric', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1430 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1430 + * @tc.desc Observe the hour/minute/second time display + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1430', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1430 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1430"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1430 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0210 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0210 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"null",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0210 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0210"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0210 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1330 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1330 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{undefined} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1330 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1330"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1330 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1590 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1590 + * @tc.desc Observe the hour/minute/second time display + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1590', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1590 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1590"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1590 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0770 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0770 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"2-digit",second:"null"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0770', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0770 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0770"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0770 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1300 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1300 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{minute:"2-digit",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1300 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1300"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1300 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0570 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0570 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"null",minute:"numeric",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0570', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0570 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0570"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0570 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1570 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1570 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",minute:"null",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1570', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1570 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1570"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1570 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0250 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0250 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",minute:",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0250 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0250"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0250 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1320 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1320 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",minute:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1320 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1320"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1320 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1530 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1530 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"undefined",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1530', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1530 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1530"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1530 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0750 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0750 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"numeric"second:"null"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0750', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0750 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0750"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0750 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1250 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1250 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"2-digit",second:""} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1250 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1250"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1250 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0540 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0540 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"undefined",minute:"numeric",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0540', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0540 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0540"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0540 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1510 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1510 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1510 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1510"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1510 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0220 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0220 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",minute:"null",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0220 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0220"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0220 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1280 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1280 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1280 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1280"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1280 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1480 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1480 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为(hour:"",minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1480', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1480 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1480"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1480 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0700 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0700 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",minute:"",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0700', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0700 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0700"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0700 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1220 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1220 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"2-digit",second:"null"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1220 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1220"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1220 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0550 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0550 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"null",minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0550', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0550 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0550"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0550 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0610 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0610 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0610', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0610 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0610"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0610 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0280 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0280 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",minute:"numeric",second:"undefined"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0280 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0280"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0280 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1390 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1390 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",minute:"2-digit",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1390 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1390"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1390 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1520 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1520 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"2-digit",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1520', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1520 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1520"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1520 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0790 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0790 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",minute:"numeric",second:""} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0790', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1520 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0790"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0790 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1310 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1310 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1310 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1310"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1310 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1490 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1490 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"",minute:"2-digit",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1490', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1490 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1490"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1490 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0560 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0560 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"null",minute:"2-digit",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0560', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0560 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0560"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0560 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0740 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0740 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"2-digit",second:"undefined"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0740', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0740 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0740"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0740 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1230 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1230 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"numeric",second:""} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1230 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1230"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1230 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1580 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1580 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"null",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1580', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1580 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1580"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1580 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0530 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0530 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"undefined",minute:"2-digit",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0530', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0530 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0530"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0530 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1410 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1410 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",minute:"2-digit",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1410', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1410 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1410"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1410 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0780 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0780 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"numeric",second:""} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0780', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0780 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0780"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0780 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0260 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0260 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0260 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0260"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0260 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1270 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1270 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1270 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1270"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1270 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1350 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1350 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的,不调用国际化接口 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1350 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1350"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1350 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0600 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0600 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions{hour:"", minute:"numeric",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0600', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0600 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0600"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0600 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1420 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1420 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"undefined",minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1420 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1420"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1420 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0240 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0240 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0240 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0240"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0240 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1380 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1380 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"numeric"second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1380 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1380"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1380 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1500 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1500 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"",minute:"numeric",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1500', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1500 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1500"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1500 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1630 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1630 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",minute:"numeric",second:"undefined"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1630', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1630 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1630"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1630 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1290 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1290 + * @tc.desc "1.启动应用2.设置设置dateTimeOptions为{hour:""2-digit"",minute:""numeric"",second:""undefined""}3.观察时/分/秒时间显示" + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1290 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1290"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1290 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1460 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1460 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"null",minute:"2-digit",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1460', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1460 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1460"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1460 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0590 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0590 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"",minute:"2-digit",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0590', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0590 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0590"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0590 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0720 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0720 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"numeric",second:"undefined"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0720', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0720 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0720"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0720 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1260 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1260 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1260 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1260"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1260 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0580 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0580 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"",minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0580', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0580 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0580"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0580 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1440 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1440 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"undefined",minute:"numeric"second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1440', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1440 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1440"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1440 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0230 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0230 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"null",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0230 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0230"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0230 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1340 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1340 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{null} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1340 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1340"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1340 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1560 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1560 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"null",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1560', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1560 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1560"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1560 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0310 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0310 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",minute:"numeric",second:"null"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0310 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0310"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0310 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1400 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1400 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",minute:"numeric",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1400 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1400"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1400 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1540 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1540 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",minute:"undefined",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1540', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1540 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1540"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1540 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0290 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0290 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"2-digit",second:"undefined"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0290 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0290"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0290 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1790 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1790 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{null} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1790', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1790 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1790"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1790 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1550 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1550 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"undefined",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1550', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1550 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1550"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1550 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0270 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0270 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"numeric",second:"undefined"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0270 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0270"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0270 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1100 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1100 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"undefined",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1100 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1100"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1100 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1360 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1360 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour"numeric",minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1360 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1360"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1360 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0330 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0330 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"numeric",second:""} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0330 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0330"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0330 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1370 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1370 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"2-digit",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1370 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1370"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1370 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1050 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1050 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"",minute:"numeric",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1050 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1050"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1050 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0300 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0300 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"numeric",second:"null"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0300 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0300"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0300 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0850 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0850 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{minute:"2-digit",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0850', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0850 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0850"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0850 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1090 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1090 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",minute:"undefined",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1090 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1090"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1090 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0380 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0380 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0380 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0380"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0380 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1800 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1800 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的,不调用国际化接口 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1800', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1800 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1800"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1800 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1060 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1060 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit”,minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1060 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1060"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1060 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0320 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0320 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"2-digit",second:"null"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0320 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0320"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0320 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0840 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0840 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0840', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0840 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0840"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0840 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0980 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0980 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"undefined",minute:"2-digit",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0980', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0980 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0980"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0980 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1010 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1010 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"null",minute:"2-digit",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1010 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1010"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1010 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0020 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0020 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"2-digit",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0020 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0020"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0020 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0340 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0340 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",minute:"numeric",second:""} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0340 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0340"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0340 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1160 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1160 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1160 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1160"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1160 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0860 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0860 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0860', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0860 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0860"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0860 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1680 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1680 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"numeric"second:""} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1680', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1680 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1680"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1680 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1030 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1030 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"",minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1030 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1030"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1030 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0970 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0970 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"undefined",minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0970', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0970 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0970"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0970 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0350 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0350 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"2-digit",second:""} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0350 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0350"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0350 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0110 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0110 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"null",minute:"2-digit",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0110 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0110"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0110 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1020 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1020 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"null",minute:"numeric",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1020 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1020"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1020 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1170 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1170 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"numeric",second:"undefined"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1170 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1170"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1170 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1780 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1780 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{undefined} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1780', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1780 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1780"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1780 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0400 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0400 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{minute:"2-digit",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0400 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0400"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0400 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0870 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0870 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",minute:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0870', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0870 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0870"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0870 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1070 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1070 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"2-digit",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1070 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1070"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1070 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0370 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0370 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0370 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0370"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0370 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0880 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0880 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{undefined} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0880', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0880 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0880"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0880 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1120 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1120 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",minute:"null",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1120 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1120"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1120 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1650 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1650 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"numeric",second:"null"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1650', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1650 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1650"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1650 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0960 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0960 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",minute:"2-digit",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0960', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0960 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0960"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0960 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1180 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1180 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",minute:"numeric",second:"undefined"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1180 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1180"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1180 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0390 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0390 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"humeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0390 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0390"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0390 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0890 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0890 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{null} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0890', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0890 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0890"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0890 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0090 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0090 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"undefined",minute:"numeric",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0090 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0090"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0090 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1140 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1140 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1140 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1140"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1140 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0360 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0360 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0360 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0360"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0360 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0930 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0930 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"numeric",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0930', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0930 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0930"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0930 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0080 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0080 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"undefined",minute:"2-digit",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0080 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0080"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0080 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1200 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1200 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"numeric",second:"null"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1200 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1200"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1200 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1660 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1660 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit”,minute:"numeric",second:"null"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1660', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1660 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1660"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1660 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0950 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0950 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",minute:"numeric",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0950', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0950 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0950"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0950 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0050 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0050 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit”,minute:"numeric",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0050 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0050"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0050 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1040 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1040 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"",minute:"2-digit",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1040 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1040"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1040 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1640 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1640 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"2-digit",second:"undefined"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1640', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1640 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1640"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1640 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1690 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1690 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",minute:"numeric",second:""} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1690', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1690 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1690"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1690 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0910 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0910 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的12小时制的dateTimeOptions为{hour:"numeric",minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0910', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0910 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0910"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0910 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0120 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0120 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"null",minute:"numeric",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0120 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0120"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0120 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1080 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1080 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"undefined",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1080 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1080"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1080 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0800 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0800 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"2-digit",second:""} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0800', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0800 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0800"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0800 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1000 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1000 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"null",minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1000', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1000 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1000"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1000 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0060 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0060 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",minute:"2-digit",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0060 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0060"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0060 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1150 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1150 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",minute:"",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1150 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1150"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1150 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1610 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1610 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1610', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1610 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1610"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1610 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0900 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0900 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的,不调用国际化接口 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0900', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0900 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0900"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0900 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0100 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0100 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"null",minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0100 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0100"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0100 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1130 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1130 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"null",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1130 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1130"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1130 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1670 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1670 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"2-digit",second:"null"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1670', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1670 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1670"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1670 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0920 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0920 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"2-digit",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0920', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0920 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0920"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0920 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0180 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0180 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"undefined",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0180 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0180"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0180 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1190 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1190 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"2-digit",second:"undefined"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1190 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1190"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1190 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1730 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1730 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1730', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1730 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1730"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1730 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0940 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0940 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",minute:"2-digit",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0940', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0940 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0940"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0940 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0170 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0170 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"2-digit",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0170 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0170"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0170 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1110 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1110 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"null",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1110 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1110"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1110 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1740 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1740 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1740', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1740 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1740"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1740 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0990 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0990 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"undefined",minute:"numeric",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0990', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0990 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0990"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0990 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0070 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0070 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"undefined",minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0070 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0070"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0070 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1600 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1600 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",minute:"",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1600', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1600 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1600"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1600 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1760 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1760 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1760', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1760 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1760"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1760 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0410 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0410 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0410', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0410 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0410"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0410 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0140 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0140 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"",minute:"2-digit",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0140 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0140"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0140 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0630 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0630 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"undefined",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0630', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0630 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0630"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0630 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1710 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1710 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1710', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1710 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1710"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1710 finish.`); + done(); + }); + + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0030 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0030"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0030 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0420 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0420 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",minute:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0420 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0420"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0420 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0620 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0620 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"2-digit",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0620', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0620 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0620"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0620 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1720 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1720 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1720', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1720 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1720"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1720 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0430 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0430 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{undefined} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0430', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0430 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0430"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0430 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0010 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0010 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的12小时制的dateTimeOptions为{hour:"numeric",minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0010 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0010"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0010 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0650 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0650 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"undefined",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0650', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0650 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0650"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0650 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1750 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1750 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{minute:"2-digit",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1750', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1750 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1750"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1750 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0440 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0440 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{null} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0440', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0440 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0440"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0440 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0040 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0040 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",minute:"2-digit",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0040 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0040"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0040 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0710 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0710 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0710', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0710 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0710"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0710 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1620 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1620 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"numeric"second:"undefined"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1620', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1620 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1620"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1620 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0450 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0450 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的,不调用国际化接口 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0450', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0450 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0450"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0450 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0130 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0130 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"",minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0130 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0130"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0130 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0670 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0670 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",minute:"null",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0670', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0670 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0670"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0670 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0820 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0820 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0820', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0820 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0820"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0820 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0460 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0460 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0460', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0460 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0460"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0460 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0160 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0160 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0160 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0160"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0160 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0640 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0640 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",minute:"undefined",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0640', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0640 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0640"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0640 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1700 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1700 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"2-digit",second:""} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1700', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1700 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1700"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1700 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0470 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0470 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"2-digit",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0470', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0470 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0470"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0470 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0200 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0200 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"numeric",minute:"undefined",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0200 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0200"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0200 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0690 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0690 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0690', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0690 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0690"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0690 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0830 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0830 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0830', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0830 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0830"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0830 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0480 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0480 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"numeric",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0480', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0480 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0480"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0480 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0190 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0190 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",minute:"undefined",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0190 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0190"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0190 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0680 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0680 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"null",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0680', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0680 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0680"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0680 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0810 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0810 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0810', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0810 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0810"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0810 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0490 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0490 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",minute:"2-digit",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0490', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0490 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0490"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0490 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0150 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0150 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"",minute:"numeric",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0150 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0150"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0150 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0660 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0660 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"numeric",minute:"null",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0660', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0660 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0660"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0660 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1770 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1770 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",minute:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1770', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1770 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1770"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1770 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0510 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0510 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",minute:"2-digit",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0510 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0510"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0510 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1470 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1470 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"null",minute:"numeric",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1470', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1470 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1470"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1470 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0760 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0760 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",minute:"numeric",second:"null"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0760', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0760 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0760"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0760 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1210 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1210 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",minute:"numeric",second:"null"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1210 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1210"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1210 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0500 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0500 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",minute:"numeric",second:"2-digit"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0500', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0500 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0500"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0500 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1450 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1450 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"null",minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1450', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1450 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1450"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1450 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0730 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0730 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"2-digit",minute:"numeric",second:"undefined"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0730', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0730 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0730"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0730 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1240 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1240 + * @tc.desc 1.Time Format为:HOUR_MINUTE 2.设置TimePicker的的12小时制的dateTimeOptions为{hour:"2-digit",minute:"numeric",second:""} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1240 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1240"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_1240 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0520 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0520 + * @tc.desc 1.Time Format为:HOUR_MINUTE_SECOND 2.设置TimePicker的的24小时制的dateTimeOptions为{hour:"undefined",minute:"numeric",second:"numeric"} + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0520', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0520 start.`); + Settings.createWindow("testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0520"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TIMEPICKER_NUMERIC_0520 finish.`); + done(); + }); + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonToggleCustomizingTest/UIComponentButtonToggleCustomizing.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonToggleCustomizingTest/UIComponentButtonToggleCustomizing.test.ets new file mode 100644 index 00000000..9167732f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonToggleCustomizingTest/UIComponentButtonToggleCustomizing.test.ets @@ -0,0 +1,316 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, afterEach, it } from '@ohos/hypium'; +import Settings from '../model/Settings'; +import windowSnap from '../model/snapShot'; +import Logger from '../model/Logger'; +import Utils from '../model/Utils'; +import { Driver, ON } from '@ohos.UiTest'; + +export default function UIComponentButtonToggleCustomizingTest() { + describe('UIComponentButtonToggleCustomizingTest', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0010 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0010 + * @tc.desc 自定义buildToggle,设置isOn为true,enabled为true,设置text,显示当前isOn、enabled的值,使用triggerChange,进行选中状态改变 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0010 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0010"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let SliderCom = await driver.findComponent(ON.id("buildToggle")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0010 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0020 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0020 + * @tc.desc 自定义buildToggle,设置isOn为null,enabled为true,设置text,显示当前isOn、enabled的值,使用triggerChange,进行选中状态改变 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0020 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0020"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("buildToggle")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0020 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0030 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0030 + * @tc.desc 自定义buildToggle,设置isOn为undefined,enabled为true,设置text,显示当前isOn、enabled的值,使用triggerChange,进行选中状态改变 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0030 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0030"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("buildToggle")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0030 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0050 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0050 + * @tc.desc 自定义buildToggle,设置enabled:undefined,设置text,显示enabled数值 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0050 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0050"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("buildToggle")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0050 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0060 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0060 + * @tc.desc 自定义buildToggle,设置enabled:null,设置text,显示enabled数值 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0060 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0060"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("buildToggle")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0060 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0070 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0070 + * @tc.desc 自定义buildToggle,contentModifier设置为undefined + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0070 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0070"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("buildToggle")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0070 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0080 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0080 + * @tc.desc 自定义buildToggle,contentModifier设置为null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0080 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0080"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("buildToggle")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0080 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0090 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0090 + * @tc.desc 自定义buildToggle,不设置 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0090 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0090"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("buildToggle")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0090 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0100 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0100 + * @tc.desc 自定义buildRadio,使用triggerChange,给toggle设置onchange事件,triggerChange可以触发onChange + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0100 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0100"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("buildToggle")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0100 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0110 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0110 + * @tc.desc 设置Toggle组件,自定义buildToggle中设置triggerChange都为null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0110 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0110"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("buildToggle")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0110 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0120 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0120 + * @tc.desc 设置Toggle组件,自定义buildToggle中设置triggerChange都为undefined + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0120 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0120"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("buildToggle")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0120 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0130 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0130 + * @tc.desc contentModifier传参类型为number:123465 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0130 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0130"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("buildToggle")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0130 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0140 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0140 + * @tc.desc contentModifier传参类型为number:-10.55555 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0140 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0140"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("buildToggle")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0140 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0150 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0150 + * @tc.desc contentModifier传参类型为string:嘻嘻哈哈&-…%% + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0150 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0150"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("buildToggle")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0150 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0170 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0170 + * @tc.desc 调用2个contentModifier + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0170 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0170"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let SliderCom = await driver.findComponent(ON.id("buildToggle")); + let pointCenter = await SliderCom.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_CUSTOMIZING_0170 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonToggleEventTest/UIComponentButtonToggleEvent.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonToggleEventTest/UIComponentButtonToggleEvent.test.ets new file mode 100644 index 00000000..b980091c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonToggleEventTest/UIComponentButtonToggleEvent.test.ets @@ -0,0 +1,59 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Settings from '../model/Settings'; +import windowSnap from '../model/snapShot'; +import Logger from '../model/Logger'; +import Utils from '../model/Utils'; +import { Driver, ON } from '@kit.TestKit'; + +export default function UIComponentButtonToggleEvent() { + describe('UIComponentButtonToggleEvent', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_EVENT_0010 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_EVENT_0010 + * @tc.desc Toggle.Button自适应Text文本大小验证 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_EVENT_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_EVENT_0010 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleEvent/UIComponentButtonToggleEvent0010"); + await Utils.sleep(2000); + await windowSnap.snapShot('1'); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let Button = await driver.findComponent(ON.id("Button")); + await Button.click(); + await Utils.sleep(300); + await windowSnap.snapShot('2'); + await Utils.sleep(1000); + await Button.click(); + await Utils.sleep(300); + await windowSnap.snapShot('3'); + await Utils.sleep(1000); + await Button.click(); + await Utils.sleep(300); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_EVENT_0010 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonToggleInteractionTest/UIComponentButtonToggleInteraction.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonToggleInteractionTest/UIComponentButtonToggleInteraction.test.ets new file mode 100644 index 00000000..8ceea086 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonToggleInteractionTest/UIComponentButtonToggleInteraction.test.ets @@ -0,0 +1,106 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Logger from '../model/Logger'; +import Settings from '../model/Settings'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; +import { Driver, ON, Component } from '@ohos.UiTest'; +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +export default function UIComponentButtonToggleInteractionTest() { + describe('UIComponentButtonToggleInteractionTest', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERACTION_0010 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERACTION_0010 + * @tc.desc Toggle组件交互方式验证(手指) + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERACTION_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERACTION_0010 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleInteraction/UIComponentButtonToggleInteraction0010"); + await Utils.sleep(1000); + await windowSnap.snapShot("before"); + const driver: Driver = Driver.create(); + let click = async (id: string[]) => { + for (let i = 0; i < id.length; i++) { + let toggle = await driver.findComponent(ON.id(id[i])); + await toggle.click(); + } + } + await click(["toggle_1", "toggle_2", "toggle_3"]); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERACTION_0010 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERACTION_0030 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERACTION_0030 + * @tc.desc Toggle组件交互方式验证(键盘+空格) + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERACTION_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERACTION_0030 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleInteraction/UIComponentButtonToggleInteraction0030"); + await Utils.sleep(1000); + await windowSnap.snapShot("before"); + const driver: Driver = Driver.create(); + let space = async () => { + await driver.triggerKey(2049); + await driver.triggerKey(2050); + } + await space(); + await space(); + await space(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERACTION_0030 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERACTION_0020 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERACTION_0020 + * @tc.desc Toggle组件交互方式验证(键盘+Enter) + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERACTION_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERACTION_0020 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleInteraction/UIComponentButtonToggleInteraction0020"); + await Utils.sleep(1000); + await windowSnap.snapShot("before"); + const driver: Driver = Driver.create(); + let enter = async () => { + await driver.triggerKey(2049); + await driver.triggerKey(2054); + } + await enter(); + await enter(); + await enter(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERACTION_0020 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonToggleInterfaceTest/UIComponentButtonToggleInterface.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonToggleInterfaceTest/UIComponentButtonToggleInterface.test.ets new file mode 100644 index 00000000..ebfe78af --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonToggleInterfaceTest/UIComponentButtonToggleInterface.test.ets @@ -0,0 +1,149 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Settings from '../model/Settings'; +import windowSnap from '../model/snapShot'; +import Logger from '../model/Logger'; +import Utils from '../model/Utils'; + +export default function UIComponentButtonToggleInterface() { + describe('UIComponentButtonToggleInterface', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0010 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0010 + * @tc.desc switchPointColor仅在ToggleType.Switch下生效验证 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0010 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0010"); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0010 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0040 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0040 + * @tc.desc ToggleType.Checkbox margin默认值验证 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0040 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0040"); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0040 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0070 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0070 + * @tc.desc ToggleType.Switch margin默认值验证 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0070 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0070"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0070 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0170 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0170 + * @tc.desc Toggle属性selectedColor为undefined + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0010 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0170"); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0330 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0220 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0220 + * @tc.desc Toggle组件设置isOn为null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0220 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0220"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0220 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0230 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0230 + * @tc.desc Toggle组件设置isOn为undefined + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0230 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0230"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0230 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0250 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0250 + * @tc.desc Toggle组件设置selectedColor为null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0250 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0250"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0250 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0330 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0330 + * @tc.desc Toggle组件设置switchPointColor入参为undefined + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0330 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0330"); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_INTERFACE_0330 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonToggleMirrorTest/UIComponentButtonToggleMirror.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonToggleMirrorTest/UIComponentButtonToggleMirror.test.ets new file mode 100644 index 00000000..1eba5ffd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonToggleMirrorTest/UIComponentButtonToggleMirror.test.ets @@ -0,0 +1,198 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Settings from '../model/Settings'; +import windowSnap from '../model/snapShot'; +import Logger from '../model/Logger'; +import Utils from '../model/Utils'; +import { Driver, ON } from '@ohos.UiTest'; + +export default function UIComponentButtonToggleMirror() { + describe('UIComponentButtonToggleMirror', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0100 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0100 + * @tc.desc toggle组件Switch、Button、Checkbox类型镜像(设置direction场景) + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0100 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0100"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let Button = await driver.findComponent(ON.id("Button")); + await Button.click(); + await windowSnap.snapShot('1'); + await Utils.sleep(300); + await Button.click(); + await windowSnap.snapShot('2'); + await Utils.sleep(300); + await Button.click(); + await windowSnap.snapShot('3'); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0100 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0010 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0010 + * @tc.desc toggle组件Switch、Button、Checkbox类型镜像(在应用开启后系统切换语言) + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0010 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0010"); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0010 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0070 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0070 + * @tc.desc toggle组件Switch、Button、Checkbox类型镜像(锁屏在开启场景) + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0070 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0070"); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0070 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0030 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0030 + * @tc.desc toggle组件Switch、Button、Checkbox类型镜像(设置切换应用语言) + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0030 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0030"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let Button = await driver.findComponent(ON.id("Button")); + await Button.click(); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0030 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0120 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0120 + * @tc.desc toggle组件Switch、Button、Checkbox类型镜像(设置margin属性) + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0120 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0120"); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0120 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0130 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0130 + * @tc.desc toggle组件Switch、Button、Checkbox类型镜像(设置padding属性) + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0130 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0130"); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0130 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0110 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0110 + * @tc.desc toggle组件Switch、Button、Checkbox类型镜像(子组件Text设置direction场景) + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0110 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0110"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let Button = await driver.findComponent(ON.id("Button")); + await Button.click(); + await windowSnap.snapShot('1'); + await Utils.sleep(300); + await Button.click(); + await windowSnap.snapShot('2'); + await Utils.sleep(300); + await Button.click(); + await windowSnap.snapShot('3'); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0110 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0090 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0090 + * @tc.desc toggle组件Switch、Button、Checkbox类型镜像(modifier场景) + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0090 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0090"); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0090 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0140 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0140 + * @tc.desc toggle组件Switch、Button、Checkbox类型镜像(设置不同语言场景) + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0140 start.`); + Settings.createWindow("testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0140"); + await Utils.sleep(4000); + let driver: Driver = Driver.create(); + let Button = await driver.findComponent(ON.id("Button")); + await Button.click(); + await windowSnap.snapShot('1'); + await Utils.sleep(300); + await Button.click(); + await windowSnap.snapShot('2'); + await Utils.sleep(300); + await Button.click(); + await windowSnap.snapShot('3'); + await Utils.sleep(300); + await Button.click(); + await windowSnap.snapShot('4'); + await Utils.sleep(4000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TOGGLE_MIRROR_0140 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentFunctionFormSelectionTimePickerLanguageOrderTest/UIComponentFunctionFormSelectionTimePickerLanguageOrder.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentFunctionFormSelectionTimePickerLanguageOrderTest/UIComponentFunctionFormSelectionTimePickerLanguageOrder.test.ets new file mode 100644 index 00000000..cc225d3d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentFunctionFormSelectionTimePickerLanguageOrderTest/UIComponentFunctionFormSelectionTimePickerLanguageOrder.test.ets @@ -0,0 +1,530 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { afterEach, describe, it } from '@ohos/hypium'; +import Logger from '../model/Logger'; +import Settings from '../model/Settings'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; +import { Driver, ON, Component, Point, Rect } from '@ohos.UiTest'; + +export default function UIComponentFunctionFormSelectionTimePickerLanguageOrder() { + describe('UIComponentFunctionFormSelectionTimePickerLanguageOrder', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0020 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0020 + * @tc.desc 验证TimePickerDialog的(12小时制、时分秒)首次渲染:简体中文 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0020', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0020 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0020"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0020 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0060 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0060 + * @tc.desc 验证TimePickerDialog的(12小时制、时分秒)首次渲染:藏文 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0060', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0060 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0060"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0060 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0070 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0070 + * @tc.desc 验证TimePickerDialog的(12小时制、时分秒)首次渲染:维吾尔文 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0070', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0070 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0070"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0070 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0100 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0100 + * @tc.desc 验证TimePickerDialog的(12小时制、时分秒)首次渲染:繁体中文 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0100', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0100 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0100"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0100 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0120 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0120 + * @tc.desc 验证TimePickerDialog的(24小时制、时分)首次渲染:繁体中文 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0120', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0120 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0120"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0120 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0150 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0150 + * @tc.desc 验证TimePicker的(24小时制、时分)首次渲染:简体中文 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0150', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0150 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0150"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0150 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0050 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0050 + * @tc.desc 验证TimePicker的(24小时制、时分)首次渲染:藏文 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0050', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0050 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0050"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0050 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0200 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0200 + * @tc.desc 验证TimePicker的(24小时制、时分)首次渲染:维吾尔文 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0200', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0200 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0200"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0200 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0230 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0230 + * @tc.desc 验证TimePicker的(24小时制、时分)首次渲染:繁体中文 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0230', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0230 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0230"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0230 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0160 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0160 + * @tc.desc 验证TimePickerDialog的(24小时制、时分)首次渲染:维吾尔文 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0160', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0160 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0160"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0160 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0180 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0180 + * @tc.desc 验证TimePickerDialog的(24小时制、时分)首次渲染:简体中文 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0180', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0180 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0180"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0180 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0190 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0190 + * @tc.desc 验证TimePickerDialog的(12小时制、时分秒)首次渲染:英文 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0190', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0190 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0190"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + await Utils.sleep(5000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0190 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0220 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0220 + * @tc.desc 验证TimePickerDialog的(24小时制、时分)首次渲染:英文 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0220', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0220 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0220"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + await Utils.sleep(5000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0220 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0240 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0240 + * @tc.desc 验证TimePickerDialog的(24小时制、时分)首次渲染:藏文 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0240', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0240 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0240"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0240 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0030 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0030 + * @tc.desc 验证TimePicker的(12小时制、时分秒)首次渲染:维吾尔文 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0030', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0030 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0030"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0030 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0080 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0080 + * @tc.desc 验证TimePicker的(12小时制、时分秒)首次渲染:藏文 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0080', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0080 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0080"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0080 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0140 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0140 + * @tc.desc 验证TimePicker的(12小时制、时分秒)首次渲染:英文 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0140', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0140 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0140"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0140 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0130 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0130 + * @tc.desc 验证TimePicker的(12小时制、时分秒)首次渲染:简体中文 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0130', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0130 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0130"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + await Utils.sleep(5000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0130 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0170 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0170 + * @tc.desc 验证TimePicker的(12小时制、时分秒)首次渲染:繁体中文 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0170', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0170 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0170"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let picker = await driver.findComponent(ON.id('TimePicker')); + let pickerCenter = await picker.getBoundsCenter(); + await driver.swipe(pickerCenter.x, pickerCenter.y - 50, pickerCenter.x, pickerCenter.y + 50); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0170 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0040 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0040 + * @tc.desc 验证TimePicker的(12小时制、时分秒)首次渲染后动态切换:简体中文切换其他语言 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0040', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0040 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0040"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + await Utils.sleep(3000); + windowSnap.snapShot('1'); + await Utils.sleep(1000); + let changeLanguageBtn = await driver.findComponent(ON.id('ChangeAppLanguage')); + await changeLanguageBtn.click(); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0040 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0210 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0210 + * @tc.desc 验证TimePicker的(24小时制、时分)首次渲染后动态切换:简体中文切换其他语言 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0210', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0210 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0210"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + await Utils.sleep(3000); + windowSnap.snapShot('1'); + await Utils.sleep(1000); + let changeLanguageBtn = await driver.findComponent(ON.id('ChangeAppLanguage')); + await changeLanguageBtn.click(); + await Utils.sleep(3000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0210 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0090 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0090 + * @tc.desc 验证TimePickerDialog的(24小时制、时分)首次渲染后动态切换: 简体中文切换其他语言 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0090', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0090 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0090"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + //dialog消失 + await button.click(); + let changeLanguageBtn = await driver.findComponent(ON.id('ChangeAppLanguage')); + await changeLanguageBtn.click(); + await Utils.sleep(1000); + //dialog显示 + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0090 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0110 + * @tc.name ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0110 + * @tc.desc 验证TimePickerDialog的(12小时制、时分秒)首次渲染后动态切换:简体中文切换其他语言 + */ + it('ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0110', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0110 start.`); + Settings.createWindow("testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0110"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('29'))).click(); + await Utils.sleep(3000); + //dialog消失 + await button.click(); + let changeLanguageBtn = await driver.findComponent(ON.id('ChangeAppLanguage')); + await changeLanguageBtn.click(); + await Utils.sleep(1000); + //dialog显示 + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_BASICCONTAINER_FORMSELECTION_TIMEPICKER_LANGUAGEORDER_0110 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentFunctionSpecialComponentsDialogTextPickerDialogTest/UIComponentFunctionSpecialComponentsDialogTextPickerDialog.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentFunctionSpecialComponentsDialogTextPickerDialogTest/UIComponentFunctionSpecialComponentsDialogTextPickerDialog.test.ets new file mode 100644 index 00000000..e928eb1e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentFunctionSpecialComponentsDialogTextPickerDialogTest/UIComponentFunctionSpecialComponentsDialogTextPickerDialog.test.ets @@ -0,0 +1,2001 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Settings from '../model/Settings'; +import windowSnap from '../model/snapShot'; +import Logger from '../model/Logger'; +import Utils from '../model/Utils'; +import uiAppearance from '@ohos.uiAppearance'; +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; +import { Component, Driver, ON } from '@ohos.UiTest'; + +export default function UIComponentFunctionSpecialComponentsDialogTextPickerDialog() { + describe('UIComponentFunctionSpecialComponentsDialogTextPickerDialog', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0510 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0510 + * @tc.desc TextPickerDialog中设置selectedTextStyle中的Color为枚举类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0510', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0510"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0200 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0200 + * @tc.desc selected设置为number类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0200', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0200"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1000 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1000 + * @tc.desc 文本滑动选择器弹窗maskRect中设置x为Resource类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1000', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog1000"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0500 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0500 + * @tc.desc 验证TextPickerDialog中selectedTextStyle对象下参数的非必填性 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0500', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0500"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0150 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0150 + * @tc.desc 设置range为TextPickerRangeContent类型,TextPickerRangeContent下的text参数设置为Resource类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0150', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0150"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0940 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0940 + * @tc.desc 文本滑动选择器弹窗offset设置为String类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0940', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0940"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0490 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0490 + * @tc.desc TextPickerDialog中设置textStyle中font中的family使用自定义字体 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0490', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0490"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0160 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0160 + * @tc.desc 设置range为TextPickerRangeContent类型,TextPickerRangeContent下的text参数设置为string类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0160', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0160"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0980 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0980 + * @tc.desc 文本滑动选择器弹窗maskRect中设置x为空串(maskRect:{x: }) + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0980', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0980"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0470 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0470 + * @tc.desc TextPickerDialog中设置textStyle中font中的family使用一个字体$(Arial) + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0470', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0470"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0080 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0080 + * @tc.desc 验证TextPickerDialog show()中options的非必填性 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0080', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0080"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0950 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0950 + * @tc.desc 文本滑动选择器弹窗offset设置为number类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0950', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0950"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0190 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0190 + * @tc.desc 设置range为TextCascadePickerRangeContent[]类型,TextCascadePickerRangeContent[]下的children参数设置为TextCascadePickerRangeContent[] + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0190', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0190"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0960 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0960 + * @tc.desc 验证maskRect中4个参数的非必填性maskRect{} + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0960', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0960"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0460 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0460 + * @tc.desc TextPickerDialog中设置textStyle中font中的weight为number类型的异常值0 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0460', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0460"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0090 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0090 + * @tc.desc 验证TextPickerDialog中options对象下所有非必填参数的非必填性 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0090', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0090"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0970 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0970 + * @tc.desc 文本滑动选择器弹窗maskRect中设置x为string类型(maskRect:{x:50px}) + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0970', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0970"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0450 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0450 + * @tc.desc TextPickerDialog中设置textStyle中font中的weight为number类型的异常值1000 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0450', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0450"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0170 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0170 + * @tc.desc 设置range为TextCascadePickerRangeContent[]类型,TextCascadePickerRangeContent[]下的text参数设置为string类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0170', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0170"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0480 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0480 + * @tc.desc TextPickerDialog中设置textStyle中font中的family使用多个字体Arial,HarmonyOS Sans + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0480', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0480"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0990 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0990 + * @tc.desc 文本滑动选择器弹窗maskRect中设置x为number类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0990', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0990"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0400 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0400 + * @tc.desc TextPickerDialog中设置textStyle中的Color为string类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0400', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0400"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0100 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0100 + * @tc.desc 设置range为string[]类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0100', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0100"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0930 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0930 + * @tc.desc 文本滑动选择器弹窗offset设置为Resource类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0930', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0930"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0440 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0440 + * @tc.desc TextPickerDialog中设置textStyle中font中的weight为string类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0440', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0440"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0900 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0900 + * @tc.desc 文本滑动选择器弹窗中alignment设置为CenterEnd + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0900', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0900"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0430 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0430 + * @tc.desc TextPickerDialog中设置textStyle中font中的size为Resource类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0430', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0430"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0040 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0040 + * @tc.desc 文本滑动选择器弹窗TextPickerDialog中canLoop设置为true + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0040', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0040"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0920 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0920 + * @tc.desc 文本滑动选择器弹窗中alignment设置为BottomEnd + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0920', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0920"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0420 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0420 + * @tc.desc TextPickerDialog中设置textStyle中font中的size为string类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0420', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0420"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0030 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0030 + * @tc.desc 文本滑动选择器弹窗TextPickerDialog中canLoop设置为false + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0030', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0030"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0910 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0910 + * @tc.desc 文本滑动选择器弹窗中alignment设置为BottomStart + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0910', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0910"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0410 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0410 + * @tc.desc TextPickerDialog中设置textStyle中的Color为Resource类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0410', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0410"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0890 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0890 + * @tc.desc 文本滑动选择器弹窗中alignment设置为CenterStart + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0890', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0890"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0360 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0360 + * @tc.desc TextPickerDialog中设置disappearTextStyle中font中的family使用自定义字体 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0360', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0360"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0880 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0880 + * @tc.desc 文本滑动选择器弹窗中alignment设置为TopEnd + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0880', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0880"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0310 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0310 + * @tc.desc TextPickerDialog中设置disappearTextStyle中font中的weight为string类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0310', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0310"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0870 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0870 + * @tc.desc 文本滑动选择器弹窗中alignment设置为TopStart + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0870', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0870"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0390 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0390 + * @tc.desc TextPickerDialog中设置textStyle中的Color为number类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0390', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0390"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0860 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0860 + * @tc.desc 文本滑动选择器弹窗中alignment设置为Default + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0860', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0860"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0370 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0370 + * @tc.desc 验证TextPickerDialog中textStyle对象下参数的非必填性 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0370', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0370"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0840 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0840 + * @tc.desc 文本滑动选择器弹窗中alignment设置为Center + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0840', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0840"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0340 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0340 + * @tc.desc TextPickerDialog中设置disappearTextStyle中font中的family使用一个字体$(Arial) + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0340', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0340"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0790 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0790 + * @tc.desc 文本滑动选择器弹窗中backgroundBlurStyle设置为COMPONENT_THIN + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0790', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0790"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0380 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0380 + * @tc.desc TextPickerDialog中设置textStyle中的Color为枚举类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0380', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0380"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0850 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0850 + * @tc.desc 文本滑动选择器弹窗中alignment设置为Bottom + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0850', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0850"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0350 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0350 + * @tc.desc TextPickerDialog中设置disappearTextStyle中font中的family使用多个字体ArialHarmonyOS Sans + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0350', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0350"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0820 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0820 + * @tc.desc 文本滑动选择器弹窗中backgroundBlurStyle设置为COMPONENT_ULTRA_THICK + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0820', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0820"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0300 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0300 + * @tc.desc TextPickerDialog中设置disappearTextStyle中font中的size为Resource类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0300', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0300"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0830 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0830 + * @tc.desc 文本滑动选择器弹窗中alignment设置为Top + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0830', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0830"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0320 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0320 + * @tc.desc TextPickerDialog中设置disappearTextStyle中font中的weight为number类型的异常值1000 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0320', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0320"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0120 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0120 + * @tc.desc 设置range为Recource类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0120', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0120 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0120"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0120 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0530 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0530 + * @tc.desc TextPickerDialog中设置selectedTextStyle中的Color为string类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0530', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0530 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0530"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0530 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0560 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0560 + * @tc.desc TextPickerDialog中设置selectedTextStyle中font中的size为Resource类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0560', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0560 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0560"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0560 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0590 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0590 + * @tc.desc TextPickerDialog中设置selectedTextStyle中font中的weight为number类型的异常值0 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0590', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0590 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0590"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0590 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0620 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0620 + * @tc.desc TextPickerDialog中设置selectedTextStyle中font中的family使用自定义字体 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0620', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0620 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0620"); + await Utils.sleep(3000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0620 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0650 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0650 + * @tc.desc 文本滑动选择器弹窗中defaultPickerltemHeight设置为异常值-50 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0650', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0650 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0650"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0650 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1010 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1010 + * @tc.desc 文本滑动选择器弹窗maskRect中设置x为NULL + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1010', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1010 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1010"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1010 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1020 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1020 + * @tc.desc 文本滑动选择器弹窗maskRect中殳置y为string类型(maskRect:{y:50% }) + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1020', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1020 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1020"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1020 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1030 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1030 + * @tc.desc 文本滑动选择器弹窗maskRect中设置y为空串(maskRect:{y: }) + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1030', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1030 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1030"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1030 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1050 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1050 + * @tc.desc 文本滑动选择器弹窗maskRect中设置y为Resource类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1050', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1050 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1050"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1050 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0180 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0180 + * @tc.desc 设置range为TextCascadePickerRangeContent[]类型,TextCascadePickerRangeContent[]下的text参数设置为Resource类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0180', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0180 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0180"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0180 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0570 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0570 + * @tc.desc TextPickerDialog中设置selectedTextStyle中font中的weight为string类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0570', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0570 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0570"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0570 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0240 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0240 + * @tc.desc 验证TextPickerDialog中disappearTextStyle对象下参数的非必填性 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0240', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0240 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0240"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0240 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0670 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0670 + * @tc.desc 文本滑动选择器弹窗中backgroundColor设置为枚举类型Color.Red + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0670', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0670 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0670"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0670 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0110 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0110 + * @tc.desc 设置range为string[][]类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0110', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0110 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0110"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0110 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0130 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0130 + * @tc.desc 设置range为TextPickerRangeContent类型,TextPickerRangeContent下的icon参数设置为string类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0130', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0130 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0130"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0130 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0600 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0600 + * @tc.desc TextPickerDialog中设置selectedTextStyle中font中的family使用一个字体$(Arial) + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0600', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0600 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0600"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0600 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0520 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0520 + * @tc.desc TextPickerDialog中设置selectedTextStyle中的Color为number类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0520', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0520 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0520"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0520 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0220 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0220 + * @tc.desc value设置为string类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0220', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0220 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0220"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0220 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1070 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1070 + * @tc.desc 文本滑动选择器弹窗maskRect中设置width为string类型40% + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1070', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1070 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1070"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1070 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0640 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0640 + * @tc.desc 文本滑动选择器弹窗中defaultPickerltemHeight设置为异常值0px + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0640', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0640 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0640"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0640 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0540 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0540 + * @tc.desc TextPickerDialog中设置selectedTextStyle中的Color为Resource类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0540', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0540 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0540"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0540 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1040 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1040 + * @tc.desc 文本滑动选择器弹窗maskRect中设置y为number类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1040', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1040 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1040"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1040 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0630 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0630 + * @tc.desc 文本滑动选择器弹窗中defaultPickerltemHeight设置为异常值1000 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0630', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0630 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0630"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0630 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0140 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0140 + * @tc.desc 设置range为TextPickerRangeContent类型,TextPickerRangeContent下的icon参数设置为Resource类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0140', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0140 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0140"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0140 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1060 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1060 + * @tc.desc 文本滑动选择器弹窗maskRect中设置y为Undefined + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1060', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1060 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1060"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1060 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0580 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0580 + * @tc.desc TextPickerDialog中设置selectedTextStyle中font中的weight为number类型的异常值1000 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0580', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0580 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0580"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0580 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0550 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0550 + * @tc.desc TextPickerDialog中设置selectedTextStyle中font中的size为string类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0550', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0550 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0550"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0550 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1090 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1090 + * @tc.desc 文本滑动选择器弹窗maskRect中设置width为Resource类型$r(300px) + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1090', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1090 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1090"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1090 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0610 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0610 + * @tc.desc TextPickerDialog中设置selectedTextStyle中font中的family使用多个字体Arial HarmonyOS     Sans + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0610', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0610 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0610"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0610 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1100 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1100 + * @tc.desc 文本滑动选择器弹窗maskRect中设置width为异常值-200 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1100', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1100 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1100"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1100 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0660 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0660 + * @tc.desc 文本滑动选择器弹窗中backgroundColor设置number类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0660', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0660 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0660"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0660 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1130 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1130 + * @tc.desc 文本滑动选择器弹窗maskRect中设置height为Resource类型$r(60%) + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1130', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1130 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1130"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1130 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0680 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0680 + * @tc.desc 文本滑动选择器弹窗中backgroundColor设置为string类型rgb(0,128,0) + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0680', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0680 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0680"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0680 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0210 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0210 + * @tc.desc selected设置为number[]类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0210', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0210 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0210"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0210 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0690 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0690 + * @tc.desc 文本滑动选择器弹窗中backgroundColor设置为Resource类型$r(#800080) + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0690', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0690 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0690"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0690 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1140 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1140 + * @tc.desc 文本滑动选择器弹窗maskRect中设置height为异常值-60% + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1140', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1140 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1140"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1140 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0700 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0700 + * @tc.desc 文本滑动选择器弹窗中backgroundBlurStyle设置为Thin + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0700', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0700 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0700"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0700 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0250 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0250 + * @tc.desc TextPickerDialog中设置disappearTextStyle中的Color为枚举类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0250', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0250 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0250"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0250 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0710 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0710 + * @tc.desc 文本滑动选择器弹窗中backgroundBlurStyle设置为Regular + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0710', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0710 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0710"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0710 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1080 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1080 + * @tc.desc 文本滑动选择器弹窗maskRect中设置width为number类型200 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1080', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1080 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1080"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1080 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0730 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0730 + * @tc.desc 文本滑动选择器弹窗中backgroundBlurStyle设置为BACKGROUND_THIN + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0730', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0730 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0730"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0730 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1120 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1120 + * @tc.desc 文本滑动选择器弹窗maskRect中设置height为number类型200 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1120', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1120 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1120"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1120 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0720 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0720 + * @tc.desc 文本滑动选择器弹窗中backgroundBlurStyle设置为Thick + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0720', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0720 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0720"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0720 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0230 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0230 + * @tc.desc value设置为string[]类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0230', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0230 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0230"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0230 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0740 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0740 + * @tc.desc 文本滑动选择器弹窗中backgroundBlurStyle设置为BACKGROUND_REGULAR + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0740', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0740 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0740"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0740 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1110 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1110 + * @tc.desc 文本滑动选择器弹窗maskRect中设置height为string类型200px + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1110', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1110 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1110"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_1110 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0270 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0270 + * @tc.desc TextPickerDialog中设置disappearTextStyle中的Color为string类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0270', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0270 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0270"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0270 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0750 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0750 + * @tc.desc 文本滑动选择器弹窗中backgroundBlurStyle设置为BACKGROUND_THICK + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0750', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0750 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0750"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0750 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0800 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0800 + * @tc.desc 文本滑动选择器弹窗中backgroundBlurStyle设置为COMPONENT_REGULAR + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0800', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0800 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0800"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0800 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0260 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0260 + * @tc.desc TextPickerDialog中设置disappearTextStyle中的Color为number类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0260', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0260 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0260"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0260 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0760 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0760 + * @tc.desc 文本滑动选择器弹窗中backgroundBlurStyle设置为BACKGROUND_ULTRA_THICK + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0760', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0760 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0760"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0760 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0280 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0280 + * @tc.desc TextPickerDialog中设置disappearTextStyle中的Color为Resource类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0280', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0280 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0280"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0280 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0810 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0810 + * @tc.desc 文本滑动选择器弹窗中backgroundBlurStyle设置为COMPONENT_THICK + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0810', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0810 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0810"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0810 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0290 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0290 + * @tc.desc TextPickerDialog中设置disappearTextStyle中font中的size为string类型 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0290', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0290 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0290"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0290 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0770 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0770 + * @tc.desc 文本滑动选择器弹窗中backgroundBlurStyle设置为NONE + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0770', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0770 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0770"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0770 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0330 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0330 + * @tc.desc TextPickerDialog中设置disappearTextStyle中font中的weight为number类型的异常值0 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0330', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0330 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0330"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0330 finish.`); + done(); + }) + + /* + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0780 + * @tc.name ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0780 + * @tc.desc 文本滑动选择器弹窗中backgroundBlurStyle设置为COMPONENT_ULTRA_THIN + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0780', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0780 start.`); + Settings.createWindow("testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0780"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id('show_dialog')); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_DIALOG_TEXTPICKERDIALOG_0780 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxPickerTest/UIComponentPopupBoxPicker.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxPickerTest/UIComponentPopupBoxPicker.test.ets new file mode 100644 index 00000000..58baecb2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxPickerTest/UIComponentPopupBoxPicker.test.ets @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import uiAppearance from '@ohos.uiAppearance' +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant' + +import { Component, Driver, ON } from '@ohos.UiTest' + +/* + * UIComponentButtonStyle + * + * Settings.createWindow(config.url): + * 创建窗口,更改窗口基本配置,更改方式详见model/Settings createWindow方法 + * + * windowSnap.snapShot(globalThis.context): + * 窗口截屏&图片文件保存,存储在设备端 + * 存储文件固定,单挑用例执行后覆盖,用于自动化UI对比 + * 支持调试更改文件名为时间戳格式,更改model/snapShot createAndGetFile方法 注释L35,放开L32,L33 + * + * Logger日志使用方法: + * import Logger form './model/Logger' + * Logger.info(TAG,`config = ${config}, err = ${JSON.stringify(exception)}`) + * */ + +export default function UIComponentPopupBoxPicker() { + + describe('UIComponentPopupBoxPicker', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PICKER_0200 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PICKER_0200 + * @tc.desc disAppear设置日期实现效果 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_PICKER_0200', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupBoxPicker/UIComponentPopupBoxPicker0200"); + await Utils.sleep(1000); + let driver:Driver = Driver.create(); + let btn = await driver.findComponent(ON.id('btn')); + await btn.click(); + await Utils.sleep(1000); + await driver.triggerKey(2054); + await Utils.sleep(1000); + await btn.click(); + await Utils.sleep(1000); + await driver.triggerKey(2054); + await Utils.sleep(1000); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxPopupTest/UIComponentPopupBoxPopup.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxPopupTest/UIComponentPopupBoxPopup.test.ets new file mode 100644 index 00000000..a11bcbeb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxPopupTest/UIComponentPopupBoxPopup.test.ets @@ -0,0 +1,245 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Settings from '../model/Settings'; +import windowSnap from '../model/snapShot'; +import Logger from '../model/Logger'; +import Utils from '../model/Utils'; +import uiAppearance from '@ohos.uiAppearance'; +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; +import { Component, Driver, ON } from '@ohos.UiTest'; + +export default function UIComponentPopupBoxPopup() { + describe('UIComponentPopupBoxPopup', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0080 + * @tc.name SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0080 + * @tc.desc 验证bindsheet组件高度自适应而内容区域变更 + */ + it('SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0080', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0080"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showButton = await driver.findComponent(ON.id('showButton')); + await showButton.click(); + await Utils.sleep(500); + let height666Button = await driver.findComponent(ON.id('height666')); + await height666Button.click(); + await windowSnap.snapShot('1'); + await Utils.sleep(100); + { + const content: Component = await driver.findComponent(ON.id('content')); + const point = await content.getBounds(); + await driver.swipe(point.left + 10, point.top + 50, point.left + 10, point.top + 30); + await Utils.sleep(1000); + await driver.swipe(point.left + 10, point.top + 50, point.left + 10, point.top + 80); + await Utils.sleep(1000); + await driver.swipe(point.left - 10, point.top + 50, point.left - 10, point.top + 100); + await Utils.sleep(500); + } + let height333Button = await driver.findComponent(ON.id('height333')); + await height333Button.click(); + await windowSnap.snapShot('2'); + await Utils.sleep(400); + { + const content: Component = await driver.findComponent(ON.id('content')); + const point = await content.getBounds(); + await driver.swipe(point.left + 10, point.top + 50, point.left + 10, point.top + 30); + await Utils.sleep(1000); + await driver.swipe(point.left + 10, point.top + 50, point.left + 10, point.top + 80); + await Utils.sleep(1000); + await driver.swipe(point.left - 10, point.top + 50, point.left - 10, point.top + 100); + await Utils.sleep(500); + } + let height111Button = await driver.findComponent(ON.id('height111')); + await height111Button.click(); + await windowSnap.snapShot('3'); + await Utils.sleep(400); + { + const content: Component = await driver.findComponent(ON.id('content')); + const point = await content.getBounds(); + await driver.swipe(point.left + 10, point.top + 50, point.left + 10, point.top + 30); + await Utils.sleep(1000); + await driver.swipe(point.left + 10, point.top + 50, point.left + 10, point.top + 80); + await Utils.sleep(1000); + await driver.swipe(point.left - 10, point.top + 50, point.left - 10, point.top + 100); + await Utils.sleep(400); + } + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(500); + done(); + }) + + /* + * @tc.number SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0070 + * @tc.name SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0070 + * @tc.desc 验证bindsheet组件高度和内容的动态切换:bindsheet不变,内容高度变化 + */ + it('SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0070', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0070"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showButton = await driver.findComponent(ON.id('showButton')); + await showButton.click(); + await Utils.sleep(400); + let height666Button = await driver.findComponent(ON.id('height666')); + await height666Button.click(); + await windowSnap.snapShot('1'); + await Utils.sleep(100); + { + const content: Component = await driver.findComponent(ON.id('content')); + const point = await content.getBounds(); + await driver.swipe(point.left + 10, point.top + 50, point.left + 10, point.top + 30); + await Utils.sleep(1000); + await driver.swipe(point.left + 10, point.top + 50, point.left + 10, point.top + 80); + await Utils.sleep(1000); + await driver.swipe(point.left - 10, point.top + 50, point.left - 10, point.top + 100); + await Utils.sleep(400); + } + let height333Button = await driver.findComponent(ON.id('height333')); + await height333Button.click(); + await windowSnap.snapShot('2'); + await Utils.sleep(400); + { + const content: Component = await driver.findComponent(ON.id('content')); + const point = await content.getBounds(); + await driver.swipe(point.left + 10, point.top + 50, point.left + 10, point.top + 30); + await Utils.sleep(1000); + await driver.swipe(point.left + 10, point.top + 50, point.left + 10, point.top + 80); + await Utils.sleep(1000); + await driver.swipe(point.left - 10, point.top + 50, point.left - 10, point.top + 100); + await Utils.sleep(500); + } + let height111Button = await driver.findComponent(ON.id('height111')); + await height111Button.click(); + await windowSnap.snapShot('3'); + await Utils.sleep(400); + { + const content: Component = await driver.findComponent(ON.id('content')); + const point = await content.getBounds(); + await driver.swipe(point.left + 10, point.top + 50, point.left + 10, point.top + 30); + await Utils.sleep(1000); + await driver.swipe(point.left + 10, point.top + 50, point.left + 10, point.top + 80); + await Utils.sleep(1000); + await driver.swipe(point.left - 10, point.top + 50, point.left - 10, point.top + 100); + await Utils.sleep(400); + } + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0060 + * @tc.name SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0060 + * @tc.desc 验证bindsheet组件高度和内容的动态切换:内容不变,bindsheet变化 + */ + it('SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0060', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0060"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showButton = await driver.findComponent(ON.id('showButton')); + await showButton.click(); + await Utils.sleep(400); + let height666Button = await driver.findComponent(ON.id('height666')); + await windowSnap.snapShot('1'); + await height666Button.click(); + { + const content: Component = await driver.findComponent(ON.id('content')); + const point = await content.getBounds(); + await driver.swipe(point.left + 10, point.top + 50, point.left + 10, point.top + 30); + await Utils.sleep(1000); + await driver.swipe(point.left - 10, point.top + 50, point.left - 10, point.top + 100); + await Utils.sleep(400); + } + let height333Button = await driver.findComponent(ON.id('height333')); + await height333Button.click(); + await windowSnap.snapShot('2'); + await Utils.sleep(400); + { + const content: Component = await driver.findComponent(ON.id('content')); + const point = await content.getBounds(); + await driver.swipe(point.left + 10, point.top + 50, point.left + 10, point.top + 30); + await Utils.sleep(1000); + await driver.swipe(point.left - 10, point.top + 50, point.left - 10, point.top + 100); + await Utils.sleep(400); + } + let height111Button = await driver.findComponent(ON.id('height111')); + await height111Button.click(); + await windowSnap.snapShot('3'); + await Utils.sleep(400); + { + const content: Component = await driver.findComponent(ON.id('content')); + const point = await content.getBounds(); + await driver.swipe(point.left + 10, point.top + 50, point.left + 10, point.top + 30); + await Utils.sleep(1000); + await driver.swipe(point.left - 10, point.top + 50, point.left - 10, point.top + 100); + await Utils.sleep(400); + } + let height000Button = await driver.findComponent(ON.id('height000')); + await height000Button.click(); + await windowSnap.snapShot('4'); + await Utils.sleep(400); + { + const content: Component = await driver.findComponent(ON.id('content')); + const point = await content.getBounds(); + await driver.swipe(point.left + 10, point.top + 50, point.left + 10, point.top + 30); + await Utils.sleep(1000); + await driver.swipe(point.left + 10, point.top + 50, point.left + 10, point.top + 80); + await Utils.sleep(1000); + await driver.swipe(point.left - 10, point.top + 50, point.left - 10, point.top + 100); + await Utils.sleep(400); + } + await windowSnap.snapShot(); + await Utils.sleep(500); + done(); + }) + + /* + * @tc.number SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0050 + * @tc.name SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0050 + * @tc.desc 验证bindsheet组件高度动态切换 + */ + it('SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0050', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0050"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showButton = await driver.findComponent(ON.id('showButton')); + await showButton.click(); + await Utils.sleep(500); + let height666Button = await driver.findComponent(ON.id('height666')); + await height666Button.click(); + await windowSnap.snapShot('1'); + await Utils.sleep(500); + let height333Button = await driver.findComponent(ON.id('height333')); + await height333Button.click(); + await windowSnap.snapShot('2'); + await Utils.sleep(500); + let height111Button = await driver.findComponent(ON.id('height111')); + await height111Button.click(); + await Utils.sleep(500); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxPromptToastSystemTest/UIComponentPopupBoxPromptToastSystem.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxPromptToastSystemTest/UIComponentPopupBoxPromptToastSystem.test.ets new file mode 100644 index 00000000..dd6042e0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxPromptToastSystemTest/UIComponentPopupBoxPromptToastSystem.test.ets @@ -0,0 +1,192 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { afterEach, describe, it } from '@ohos/hypium'; +import Logger from '../model/Logger'; +import Settings from '../model/Settings'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; +import { Driver, ON, Component, Point, Rect } from '@ohos.UiTest'; + +export default function UIComponentPopupBoxPromptToastSystem() { + describe('UIComponentPopupBoxPromptToastSystem', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0030 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0030 + * @tc.desc 验证在toast的模式设置为default的时候,是否会避让输入法 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0030 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0030"); + await Utils.sleep(1000); + const driver = Driver.create(); + let button: Component = await driver.findComponent(ON.text('ShowToast')); + await button.click(); + await Utils.sleep(5000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0030 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0040 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0040 + * @tc.desc 验证在toast的模式设置为default的时候,横竖屏切换toast的显示情况 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0040 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0040"); + await Utils.sleep(1000); + const driver = Driver.create(); + let button: Component = await driver.findComponent(ON.text('ShowToast')); + await button.click(); + await Utils.sleep(1000); + Settings.changeOrientation(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0040 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0240 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0240 + * @tc.desc 验证在toast的模式设置为sysTopMost的时候,是否会避让输入法 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0240 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0240"); + await Utils.sleep(1000); + const driver = Driver.create(); + let button: Component = await driver.findComponent(ON.text('ShowToast')); + await button.click(); + await Utils.sleep(5000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0240 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0250 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0250 + * @tc.desc 验证在toast的模式设置为sysTopMost的时候,横竖屏切换toast的显示情况 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0250 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0250"); + await Utils.sleep(1000); + const driver = Driver.create(); + let button: Component = await driver.findComponent(ON.text('ShowToast')); + await button.click(); + await Utils.sleep(1000); + Settings.changeOrientation(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0250 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0280 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0280 + * @tc.desc 验证在toast的模式设置为topmost的时候,是否会避让输入法 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0280 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0280"); + await Utils.sleep(1000); + const driver = Driver.create(); + let button: Component = await driver.findComponent(ON.text('ShowToast')); + await button.click(); + await Utils.sleep(5000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0280 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0290 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0290 + * @tc.desc 验证在toast的模式设置为topmost的时候,横竖屏切换toast的显示情况 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0290 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0290"); + await Utils.sleep(1000); + const driver = Driver.create(); + let button: Component = await driver.findComponent(ON.text('ShowToast')); + await button.click(); + await Utils.sleep(1000); + Settings.changeOrientation(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0290 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0270 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0270 + * @tc.desc 验证在toast的模式设置为topmost的时候,左右滑动toast是否支持退出 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0270 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0270"); + await Utils.sleep(1000); + const driver = Driver.create(); + const button: Component = await driver.findComponent(ON.id('button1')); + await Utils.sleep(200); + await button.click(); + await Utils.sleep(500); + await driver.swipe(0,300, 20, 300); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0270 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0260 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0260 + * @tc.desc 验证在toast的模式设置为sysTopMost的时候,窗口z序层级关系 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0260 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0260"); + await Utils.sleep(1000); + const driver = Driver.create(); + const button: Component = await driver.findComponent(ON.id('button1')); + await Utils.sleep(200); + await button.click(); + await Utils.sleep(2500); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_TOASTSYSTEM_0260 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxSpecificationsShadowTest/UIComponentPopupBoxSpecificationsShadow.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxSpecificationsShadowTest/UIComponentPopupBoxSpecificationsShadow.test.ets index d1ef9fb3..f52f9533 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxSpecificationsShadowTest/UIComponentPopupBoxSpecificationsShadow.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxSpecificationsShadowTest/UIComponentPopupBoxSpecificationsShadow.test.ets @@ -13,31 +13,365 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' -import Logger from '../model/Logger' -import Settings from '../model/Settings' -import Utils from '../model/Utils' -import windowSnap from '../model/snapShot' -import { Driver, ON } from '@ohos.UiTest' - -/* - * Settings.createWindow(config.url): - * 创建窗口,更改窗口基本配置,更改方式详见model/Settings createWindow方法 - * - * windowSnap.snapShot(globalThis.context): - * 窗口截屏&图片文件保存,存储在设备端 - * 存储文件固定,单挑用例执行后覆盖,用于自动化UI对比 - * 支持调试更改文件名为时间戳格式,更改model/snapShot createAndGetFile方法 注释L35,放开L32,L33 - * - * Logger日志使用方法: - * import Logger form './model/Logger' - * Logger.info(TAG,`config = ${config}, err = ${JSON.stringify(exception)}`) - * */ +import { afterEach, describe, it } from '@ohos/hypium'; +import Logger from '../model/Logger'; +import Settings from '../model/Settings'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; +import { Driver, ON, Component, Point, Rect } from '@ohos.UiTest'; export default function UIComponentPopupBoxSpecificationsShadow() { describe('UIComponentPopupBoxSpecificationsShadow', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0230 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0230 + * @tc.desc TipsDialog配置shadow(ShadowStyle.OUTER_DEFAULT_LG) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0230 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow023"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TipsDialog')); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0230 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0250 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0250 + * @tc.desc TipsDialog配置shadow(ShadowStyle.OUTER_DEFAULT_XS) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0250 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow025"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let colorButton: Component = await driver.findComponent(ON.text('TipsDialog')); + await colorButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0250 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0260 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0260 + * @tc.desc TipsDialog配置shadow(ShadowStyle.OUTER_FLOATING_MD) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0260 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow026"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let colorButton: Component = await driver.findComponent(ON.text('TipsDialog')); + await colorButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0260 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0270 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0270 + * @tc.desc TipsDialog配置shadow(ShadowStyle.OUTER_FLOATING_SM) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0270 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow027"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let colorButton: Component = await driver.findComponent(ON.text('TipsDialog')); + await colorButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0270 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0290 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0290 + * @tc.desc TipsDialog配置shadow({radius:引用$r("app.integer.integer100")100vp,type:ShadowType.COLOR,color:ColoringStrategy AVERAGE,offsetX:$r("app.integer.integer30")30vp,offsety:$r("app.integer.integer30")30vp,fill:false}) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0290 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow029"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let colorButton: Component = await driver.findComponent(ON.text('TipsColorDialog')); + await colorButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0290 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0300 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0300 + * @tc.desc TipsDialog配置shadow({radius:引用$r("app.integer.integer100")100vp,type:ShadowType.COLOR,color:ColoringStrategy.INVERT,offsetX:引用$r("app.integer.integer100")100vp,offsety:引用$r("app.integer.integer100")100vp,fill:false}) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0300 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow030"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let colorButton: Component = await driver.findComponent(ON.text('TipsColorDialog')); + await colorButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0300 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0310 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0310 + * @tc.desc TipsDialog配置shadow({radius:引用$r("app.integer.integer100")100vp,type:ShadowType.COLOR,color:ColoringStrategy.PRIMARY,offsetX:$r("app.integer integer30")30vp,offsety:$r("app.integer.integer30")30vp,fill:false}) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0310 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow031"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let colorButton: Component = await driver.findComponent(ON.text('TipsColorDialog')); + await colorButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0310 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0320 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0320 + * @tc.desc TipsDialog配置shadow({radius:引用$r("app.integer.integer30")30vp,type:ShadowType.COLOR,color:引用$r("app.color.color3")"#00FFFF",offsetX:引用$r("app.integer.integer100")100vp,offsety:引用$r("app.integerinteger100")100vp,fill:false}) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0320 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow032"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let colorButton: Component = await driver.findComponent(ON.text('TipsColorDialog')); + await colorButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0320 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0330 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0330 + * @tc.desc TipsDialog配置shadow({radius:引用$r("app.string string1")30vp,type:ShadowType.BLUR,color:"#FFOOFF",offsetX:引用$r("app.string.string1")30vp,offsety:引用$r("app.string string1")30vp,fill:false}) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0330 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow033"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let blurButton: Component = await driver.findComponent(ON.text('TipsBlurDialog')); + let colorButton: Component = await driver.findComponent(ON.text('TipsColorDialog')); + let closeButton: Component = await driver.findComponent(ON.text('CloseDialog')); + await blurButton.click(); + await Utils.sleep(1000); + await closeButton.click(); + await Utils.sleep(1000); + await colorButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0330 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0580 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0580 + * @tc.desc null:TextPickerDialog配置shadow (null) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0580', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0580 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow058"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TextPickerDialog')); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0580 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0590 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0590 + * @tc.desc null:TimePickerDialog配置shadow (null) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0590', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0590 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow059"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0590 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0610 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0610 + * @tc.desc TextPickerDialog配置shadow(ShadowStyle.OUTER_DEFAULT_SM) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0610', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0610 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow061"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TextPickerDialog')); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0610 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0620 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0620 + * @tc.desc TextPickerDialog配置shadow(ShadowStyle.OUTER_DEFAULT_XS) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0620', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0620 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow062"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TextPickerDialog')); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0620 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0630 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0630 + * @tc.desc TextPickerDialog配置shadow(ShadowStyle.OUTER_FLOATING_MD) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0630', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0630 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow063"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TextPickerDialog')); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0630 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0640 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0640 + * @tc.desc TextPickerDialog配置shadow(ShadowStyle.OUTER_FLOATING_SM) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0640', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0640 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow064"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TextPickerDialog')); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0640 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0650 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0650 + * @tc.desc TextPickerDialog配置shadow({radius:30vp,type:ShadowType.COLOR,color:Color.Black,offsetX:30vp,offsety:30vp,fill:true}) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0650', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0650 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow065"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TextPickerDialog')); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0650 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0660 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0660 + * @tc.desc TextPickerDialog配置shadow({radius:引用$r("app.integer integer100")100vp,type:ShadowType.COLOR,color:ColoringStrategy.AVERAGE,offsetX:$r("app.integer.integer30")30vp,offsety:$r("app.integer integer30")30vp,fill:false}) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0660', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0660 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow066"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TextPickerDialog')); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0660 finish.`); + done(); + }) /* * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0200 @@ -59,6 +393,46 @@ export default function UIComponentPopupBoxSpecificationsShadow() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0670 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0670 + * @tc.desc TextPickerDialog配置shadow({radius:引用$r("app.integer integer100")100vp,type:ShadowType.COLOR,color:ColoringStrategy.INVERT,offsetX:引用$r("app.integer integer100")100vp,offsety:引用$r("app.integer integer100")100vp,fill:false}) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0670', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0670 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow067"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TextPickerDialog')); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0670 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0680 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0680 + * @tc.desc TextPickerDialog配置shadow({radius:引用$r("app.integer integer100")100vp,type:ShadowType.COLOR,color:ColoringStrategy.PRIMARY,offsetX:$r("app.integer integer30")30vp,offsety:$r("app.integer integer30")30vp,fill:false}) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0680', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0680 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow068"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TextPickerDialog')); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0680 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0170 * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0170 @@ -79,6 +453,72 @@ export default function UIComponentPopupBoxSpecificationsShadow() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0690 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0690 + * @tc.desc TextPickerDialog配置shadow({radius:引用$r("app.integer integer30")30vp,type:ShadowType.BLUR,color:"#FF00FF",offsetX:引用$r(app.integer integer30")30vp,offsety:引用$r("app.integer integer30")30vp,fill:false}) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0690', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0690 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow069"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let blurButton: Component = await driver.findComponent(ON.text('TextPickerBlurDialog')); + await blurButton.click(); + await Utils.sleep(2000); + //点击空白区域消失 + await driver.click(100, 100); + await Utils.sleep(2000); + let colorButton: Component = await driver.findComponent(ON.text('TextPickerColorDialog')); + await colorButton.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0690 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0700 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0700 + * @tc.desc TimePickerDialog配置shadow ({radius:引用$r("app.integer integer30")30vp,type:ShadowType.COLOR,color:引用$r("app.color.color3")"#00FFFF",offsetX:引用$r("app.integer.integer100")100vp,offsety:引用$r("app.integerinteger100")100vp,fill:false}) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0700', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0700 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow070"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TextPickerDialog')); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0700 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0710 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0710 + * @tc.desc TimePickerDialog配置shadow(ShadowStyle.OUTER_DEFAULT_LG) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0710', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0710 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow071"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0710 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0120 * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0120 @@ -99,6 +539,66 @@ export default function UIComponentPopupBoxSpecificationsShadow() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0720 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0720 + * @tc.desc TimePickerDialog配置shadow(ShadowStyle.OUTER_DEFAULT_SM) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0720', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0720 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow072"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0720 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0730 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0730 + * @tc.desc TimePickerDialog配置shadow(ShadowStyle.OUTER_DEFAULT_XS) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0730', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0730 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow073"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0730 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0740 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0740 + * @tc.desc TimePickerDialog配置shadow(ShadowStyle.OUTER_FLOATING_MD) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0740', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0740 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow074"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0740 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0180 * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0180 @@ -119,6 +619,66 @@ export default function UIComponentPopupBoxSpecificationsShadow() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0750 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0750 + * @tc.desc TimePickerDialog配置shadow(ShadowStyle.OUTER_FLOATING_SM) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0750', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0750 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow075"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0750 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0760 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0760 + * @tc.desc TimePickerDialog配置shadow({radius:30vp,type:ShadowType.COLOR,color:Color.Black,offsetX:30vp,offsety:30vp,fill:true}) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0760', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0760 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow076"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0760 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0770 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0770 + * @tc.desc TimePickerDialog配置shadow({radius:引用$r("app.integer.integer100")100vp,type:ShadowType.COLOR,color:ColoringStrategy.AVERAGE,offsetX:$r("app.integer integer30")30vp,offsety:$r("app.integer.integer30")30vp,fill:false}) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0770', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0770 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow077"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0770 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0130 * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0130 @@ -139,6 +699,46 @@ export default function UIComponentPopupBoxSpecificationsShadow() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0780 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0780 + * @tc.desc TimePickerDialog配置shadow ({radius:引用$r("app.integer.integer100")100vp,type:ShadowType.COLOR,color:ColoringStrategy.INVERT,offsetX:引用$r("app.integer integer100")100vp,offsety:引用$r("app.integer integer100")100vp,fill:false}) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0780', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0780 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow078"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0780 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0790 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0790 + * @tc.desc TimePickerDialog配置shadow({radius:引用$r("app.integer integer100")100vp,type:ShadowType.COLOR,color:ColoringStrategy.PRIMARY,offsetX:$r("app.integer integer30")30vp,offsety:$r("app.integer integer30")30vp,fill:false}) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0790', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0790 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow079"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0790 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0140 * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0140 @@ -159,6 +759,72 @@ export default function UIComponentPopupBoxSpecificationsShadow() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0800 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0800 + * @tc.desc TimePickerDialog配置shadow({radius:引用$r("app.integerinteger30")30vp,type:ShadowType.BLUR,color:"#FF00FF",offsetX:引用$r("app.integer integer30")30vp,offsety:引用$r("app.integer integer30")30vp,fill:false}) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0800', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0800 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow080"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let blurButton: Component = await driver.findComponent(ON.text('TimePickerBlurDialog')); + await blurButton.click(); + await Utils.sleep(2000); + //点击空白区域消失 + await driver.click(100, 100); + await Utils.sleep(2000); + let colorButton: Component = await driver.findComponent(ON.text('TimePickerColorDialog')); + await colorButton.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0800 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0810 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0810 + * @tc.desc TimePickerDialog配置shadow({radius:引用$r("app.integerinteger30")30vp,type:ShadowType.COLOR,color:引用$r("app.color.color3")"#00FFFF",offsetX:引用$r("app.integer integer100")100vp,offsety:引用$r("app.integer.integer100")100vp,fill:false}) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0810', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0810 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow081"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0810 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0840 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0840 + * @tc.desc undefind:TipsDialog配置shadow  (undefind) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0840', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0840 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow084"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TipsDialog')); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0840 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0160 * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0160 @@ -179,6 +845,66 @@ export default function UIComponentPopupBoxSpecificationsShadow() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0870 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0870 + * @tc.desc undefind:TextPickerDialog配置shadow(undefind) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0870', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0870 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow087"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TextPickerDialog')); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0870 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0880 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0880 + * @tc.desc undefind:TimePickerDialog配置shadow (undefind) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0880', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0880 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow088"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0880 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0910 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0910 + * @tc.desc 不配置:TipsDialog不配置shadow + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0910', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0910 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow091"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupBoxSpecificationsShadow091_001')); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0910 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0210 * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0210 @@ -199,6 +925,66 @@ export default function UIComponentPopupBoxSpecificationsShadow() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0940 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0940 + * @tc.desc 不配置:TextPickerDialog不配置shadow + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0940', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0940 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow094"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TextPickerDialog')); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0940 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0950 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0950 + * @tc.desc 不配置:TimePickerDialog不配置shadow + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0950', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0950 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow095"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0950 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0980 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0980 + * @tc.desc 设置默认值:TipsDialog配置shadow(ShadowStyle.OUTER_DEFAULT_MD) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0980', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0980 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow098"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupBoxSpecificationsShadow098_001')); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0980 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0220 * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0220 @@ -219,6 +1005,46 @@ export default function UIComponentPopupBoxSpecificationsShadow() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_1010 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_1010 + * @tc.desc 设置默认值:TextPickerDialog配置shadow(ShadowStyle.OUTER_DEFAULT_MD) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_1010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_1010 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow101"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TextPickerDialog')); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_1010 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_1020 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_1020 + * @tc.desc 设置默认值:TimePickerDialog配置shadow(ShadowStyle.OUTER_DEFAULT_MD) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_1020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_1020 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow102"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.text('TimePickerDialog')); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_1020 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0830 * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0830 diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxStyleStrongTest/UIComponentPopupBoxStyleStrong.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxStyleStrongTest/UIComponentPopupBoxStyleStrong.test.ets new file mode 100644 index 00000000..5520b739 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxStyleStrongTest/UIComponentPopupBoxStyleStrong.test.ets @@ -0,0 +1,136 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { afterEach, describe, it } from '@ohos/hypium'; +import Logger from '../model/Logger'; +import Settings from '../model/Settings'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; +import { Driver, ON, Component, Point, Rect } from '@ohos.UiTest'; + +export default function UIComponentPopupBoxStyleStrong() { + describe('UIComponentPopupBoxStyleStrong', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_STYLESTRONG_0290 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_STYLESTRONG_0290 + * @tc.desc TextPickerDialog配置模糊材质和分别为默认值,验证和不配置保持一致 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_STYLESTRONG_0290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_STYLESTRONG_0290 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0290"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let ultraThickButton: Component = await driver.findComponent(ON.text('TextPickerDialogUltraThick')); + await ultraThickButton.click(); + await Utils.sleep(500); + await windowSnap.snapShot('1'); + await Utils.sleep(1000); + await driver.click(100, 100); + await Utils.sleep(2000); + let defaultButton: Component = await driver.findComponent(ON.text('TextPickerDialogDefaultBlur')); + await defaultButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_STYLESTRONG_0290 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_STYLESTRONG_0300 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_STYLESTRONG_0300 + * @tc.desc TextPickerDialog默认效果 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_STYLESTRONG_0300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_STYLESTRONG_0300 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0300"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let defaultButton: Component = await driver.findComponent(ON.text('TextPickerDialogDefaultBlur')); + await defaultButton.click(); + await Utils.sleep(500); + await windowSnap.snapShot('1'); + await Utils.sleep(1000); + await driver.click(100, 100); + await Utils.sleep(2000); + await defaultButton.click(); + await Utils.sleep(500); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_STYLESTRONG_0300 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_STYLESTRONG_0320 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_STYLESTRONG_0320 + * @tc.desc TimePickerDialog配置模糊材质和分别为默认值,验证和不配置保持一致 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_STYLESTRONG_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_STYLESTRONG_0320 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0320"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let ultraThickButton: Component = await driver.findComponent(ON.text('TimePickerDialogUltraThick')); + await ultraThickButton.click(); + await Utils.sleep(500); + await windowSnap.snapShot('1'); + await Utils.sleep(1000); + await driver.click(100, 100); + await Utils.sleep(2000); + let defaultButton: Component = await driver.findComponent(ON.text('TimePickerDialogDefaultBlur')); + await defaultButton.click(); + await Utils.sleep(500); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_STYLESTRONG_0320 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_STYLESTRONG_0330 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_STYLESTRONG_0330 + * @tc.desc TimePickerDialog默认效果 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_STYLESTRONG_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_STYLESTRONG_0330 start.`); + Settings.createWindow("testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0330"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let defaultButton: Component = await driver.findComponent(ON.text('TimePickerDialogDefaultBlur')); + await defaultButton.click(); + await Utils.sleep(500); + await windowSnap.snapShot('1'); + await Utils.sleep(1000); + await driver.click(100, 100); + await Utils.sleep(2000); + await defaultButton.click(); + await Utils.sleep(500); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_STYLESTRONG_0330 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxButtonstyleTest/UIComponentPopupboxButtonstyle.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxButtonstyleTest/UIComponentPopupboxButtonstyle.test.ets new file mode 100644 index 00000000..a51e96b9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxButtonstyleTest/UIComponentPopupboxButtonstyle.test.ets @@ -0,0 +1,110 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Logger from '../model/Logger'; +import Settings from '../model/Settings'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; +import { Driver, ON, Component } from '@ohos.UiTest'; + +export default function UIComponentPopupboxButtonstyleTest() { + describe('UIComponentPopupboxButtonstyleTest', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_BUTTONSTYLE_0020 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_BUTTONSTYLE_0020 + * @tc.desc 验证textPickerDialog中acceptButtonStyle、cancelButtonStyle对象中设置了所有的参数,cancel和accept按钮以设置的属性值展示 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_BUTTONSTYLE_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_BUTTONSTYLE_0020 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0020"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id("show_dialog_bt")); + await driver.delayMs(500); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_BUTTONSTYLE_0020 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_BUTTONSTYLE_0050 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_BUTTONSTYLE_0050 + * @tc.desc 验证timePickerDialog中acceptButtonStyle、cancelButtonStyle对象中设置了所有的参数,cancel和accept按钮以设置的属性值展示 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_BUTTONSTYLE_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_BUTTONSTYLE_0050 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0050"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id("show_dialog_bt")); + await driver.delayMs(500); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_BUTTONSTYLE_0050 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_BUTTONSTYLE_0030 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_BUTTONSTYLE_0030 + * @tc.desc 验证textPickerDialog中acceptButtonStyle、cancelButtonStyle对象下的所有参数设置为异常值,textPickerDialog展示的效果是否以默认值的效果展示 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_BUTTONSTYLE_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_BUTTONSTYLE_0030 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0030"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id("show_dialog_bt")); + await driver.delayMs(500); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_BUTTONSTYLE_0030 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_BUTTONSTYLE_0060 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_BUTTONSTYLE_0060 + * @tc.desc 验证timePickerDialog中acceptButtonStyle、cancelButtonStyle对象下的所有参数设置为异常值,textPickerDialog展示的效果是否以默认值的效果展示 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_BUTTONSTYLE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_BUTTONSTYLE_0060 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0060"); + await Utils.sleep(1000); + const driver = Driver.create(); + const showDialogBt = await driver.findComponent(ON.id("show_dialog_bt")); + await driver.delayMs(500); + await showDialogBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_BUTTONSTYLE_0060 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxConsistencySceneTest/UIComponentPopupboxConsistencyScene.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxConsistencySceneTest/UIComponentPopupboxConsistencyScene.test.ets new file mode 100644 index 00000000..818673f2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxConsistencySceneTest/UIComponentPopupboxConsistencyScene.test.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Settings from '../model/Settings'; +import windowSnap from '../model/snapShot'; +import Logger from '../model/Logger'; +import Utils from '../model/Utils'; +import { DisplayRotation, Driver, ON, Component } from '@ohos.UiTest'; + +export default function UIComponentPopupboxConsistencyScene() { + describe('UIComponentPopupboxConsistencyScene', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0040 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0040 + * @tc.desc 日期选择弹窗与时间选择弹窗UX对比 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0040 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0040"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxConsistencyScene0040_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0040 finish.`); + done(); + }); + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxEnterTest/UIComponentPopupboxEnter.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxEnterTest/UIComponentPopupboxEnter.test.ets new file mode 100644 index 00000000..3c1734fb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxEnterTest/UIComponentPopupboxEnter.test.ets @@ -0,0 +1,234 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Logger from '../model/Logger'; +import Settings from '../model/Settings'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; +import { Driver, ON, Component } from '@ohos.UiTest'; +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; +import { KeyCode } from '@ohos.multimodalInput.keyCode'; + +export default function UIComponentPopupboxEnterTest() { + describe('UIComponentPopupboxEnterTest', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0520 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0520 + * @tc.desc TextPickerDialog多重弹窗 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0520', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0520 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0520"); + await Utils.sleep(1000); + const driver = Driver.create(); + const button = await driver.findComponent(ON.id('show_dialog_bt')); + await driver.delayMs(500); + await button.click(); + await Utils.sleep(2000); + await driver.triggerKey(KeyCode.KEYCODE_TAB); + await Utils.sleep(500); + await driver.triggerKey(KeyCode.KEYCODE_ENTER); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0520 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0550 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0550 + * @tc.desc TextPickerDialog默认响应ENTER键 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0550', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0550 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0550"); + await Utils.sleep(1000); + const driver = Driver.create(); + const button = await driver.findComponent(ON.id('show_dialog_bt')); + await driver.delayMs(500); + await button.click(); + await Utils.sleep(1000); + await driver.triggerKey(KeyCode.KEYCODE_ENTER); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0550 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0510 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0510 + * @tc.desc TextPickerDialog多种弹窗对齐,左移30px + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0510 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0510"); + await Utils.sleep(1000); + const driver = Driver.create(); + const button = await driver.findComponent(ON.id('show_dialog_bt')); + await driver.delayMs(500); + await button.click(); + await Utils.sleep(2000); + await driver.triggerKey(KeyCode.KEYCODE_ENTER); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0510 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0570 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0570 + * @tc.desc TimePickerDialog多种弹窗对齐,右上对齐 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0570', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0570 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0570"); + await Utils.sleep(1000); + const driver = Driver.create(); + const button = await driver.findComponent(ON.id('show_dialog_bt')); + await driver.delayMs(500); + await button.click(); + await Utils.sleep(2000); + await driver.triggerKey(KeyCode.KEYCODE_ENTER); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0570 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0580 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0580 + * @tc.desc TimePickerDialog多种弹窗对齐,右中对齐 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0580', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0580 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0580"); + await Utils.sleep(1000); + const driver = Driver.create(); + const button = await driver.findComponent(ON.id('show_dialog_bt')); + await driver.delayMs(500); + await button.click(); + await Utils.sleep(2000); + await driver.triggerKey(KeyCode.KEYCODE_ENTER); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0580 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0640 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0640 + * @tc.desc TimePickerDialog默认响应ENTER键 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0640', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0640 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0640"); + await Utils.sleep(1000); + const driver = Driver.create(); + const button = await driver.findComponent(ON.id('show_dialog_bt')); + await driver.delayMs(500); + await button.click(); + await Utils.sleep(2000); + await driver.triggerKey(KeyCode.KEYCODE_ENTER); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0640 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0590 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0590 + * @tc.desc TimePickerDialog多种弹窗对齐右移30px + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0590', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0590 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0590"); + await Utils.sleep(1000); + const driver = Driver.create(); + const button = await driver.findComponent(ON.id('show_dialog_bt')); + await driver.delayMs(500); + await button.click(); + await Utils.sleep(2000); + await driver.triggerKey(KeyCode.KEYCODE_ENTER); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0590 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0600 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0600 + * @tc.desc TimePickerDialog多种弹窗对齐左移30px + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0600', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0600 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0600"); + await Utils.sleep(1000); + const driver = Driver.create(); + const button = await driver.findComponent(ON.id('show_dialog_bt')); + await driver.delayMs(500); + await button.click(); + await Utils.sleep(2000); + await driver.triggerKey(KeyCode.KEYCODE_ENTER); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0600 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0610 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0610 + * @tc.desc TimePickerDialog多重弹窗 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0610', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0610 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0610"); + await Utils.sleep(1000); + const driver = Driver.create(); + const button = await driver.findComponent(ON.id('show_dialog_bt')); + await driver.delayMs(500); + await button.click(); + await Utils.sleep(2000); + await driver.triggerKey(KeyCode.KEYCODE_TAB); + await Utils.sleep(500); + await driver.triggerKey(KeyCode.KEYCODE_ENTER); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ENTER_0610 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuMenuTestTest/UIComponentPopupboxMenuMenuTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuMenuTestTest/UIComponentPopupboxMenuMenuTest.test.ets new file mode 100644 index 00000000..a748664d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuMenuTestTest/UIComponentPopupboxMenuMenuTest.test.ets @@ -0,0 +1,484 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Settings from '../model/Settings'; +import windowSnap from '../model/snapShot'; +import Logger from '../model/Logger'; +import Utils from '../model/Utils'; +import uiAppearance from '@ohos.uiAppearance'; +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; +import { Component, Driver, ON } from '@ohos.UiTest'; +import { BusinessError } from '@kit.BasicServicesKit'; + +export default function UIComponentPopupboxMenuMenuTest() { + describe('UIComponentPopupboxMenuMenuTest', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1980 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1980 + * @tc.desc menuTest#menuTest#menuTest_230 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1980', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1980 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1980"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1980 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1970 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1970 + * @tc.desc menuTest#menuTest#menuTest_229 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1970', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1970 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1970"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1970 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0830 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0830 + * @tc.desc menuTest#menuTest#menuTest_092 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0830', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0830 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0830"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0830 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0080 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0080 + * @tc.desc menuTest#menuTest#menuTest_008 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0080 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0080"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0080 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0100 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0100 + * @tc.desc menuTest#menuTest#menuTest_010 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0100 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0100"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0100 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0110 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0110 + * @tc.desc menuTest#menuTest#menuTest_011 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0110 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0110"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0110 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1100 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1100 + * @tc.desc menuTest#menuTest#menuTest_126 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1100 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1100"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1100 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1090 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1090 + * @tc.desc menuTest#menuTest#menuTest_125 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1090 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1090"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1090 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1630 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1630 + * @tc.desc menuTest#menuTest#menuTest_187 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1630', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1630 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1630"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1630 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1190 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1190 + * @tc.desc menuTest#menuTest#menuTest_136 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1190 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1190"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1190 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1310 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1310 + * @tc.desc menuTest#menuTest#menuTest_151 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1310 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1310"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1310 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1200 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1200 + * @tc.desc menuTest#menuTest#menuTest_137 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1200 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1200"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1200 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1380 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1380 + * @tc.desc menuTest#menuTest#menuTest_159 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1380 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1380"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1380 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0160 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0160 + * @tc.desc menuTest#menuTest#menuTest_016 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0160 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0160"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0160 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0670 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0670 + * @tc.desc menuTest#menuTest#menuTest_074 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0670', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0670 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0670"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0670 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1480 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1480 + * @tc.desc menuTest#menuTest#menuTest_170 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1480', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1480 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1480"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1480 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0040 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0040 + * @tc.desc menuTest#menuTest#menuTest_004 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0040 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0040"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0040 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0190 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0190 + * @tc.desc menuTest#menuTest#menuTest_019 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0190 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0190"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0190 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1510 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1510 + * @tc.desc menuTest#menuTest#menuTest_173 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1510 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1510"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1510 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1490 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1490 + * @tc.desc menuTest#menuTest#menuTest_171 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1490', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1490 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1490"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1490 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0470 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0470 + * @tc.desc menuTest#menuTest#menuTest_049 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0470', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0470 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0470"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0470 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1390 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1390 + * @tc.desc menuTest#menuTest#menuTest_160 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1390 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1390"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1390 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0320 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0320 + * @tc.desc menuTest#menuTest#menuTest_032 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0320 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0320"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0320 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0540 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0540 + * @tc.desc menuTest#menuTest#menuTest_058 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0540', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0540 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0540"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_0540 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1060 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1060 + * @tc.desc menuTest#menuTest#menuTest_122 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1060 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1060"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('text')); + await btn.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_MENUTEST_1060 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxPickeroldTest/UIComponentPopupboxPickerold.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxPickeroldTest/UIComponentPopupboxPickerold.test.ets new file mode 100644 index 00000000..2a91d713 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxPickeroldTest/UIComponentPopupboxPickerold.test.ets @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Settings from '../model/Settings'; +import windowSnap from '../model/snapShot'; +import Logger from '../model/Logger'; +import Utils from '../model/Utils'; +import { DisplayRotation, Driver, ON, Component } from '@ohos.UiTest'; + +export default function UIComponentPopupboxPickerold() { + describe('UIComponentPopupboxPickerold', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PICKEROLD_1260 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PICKEROLD_1260 + * @tc.desc TimePicker组件验证设置宽度为400vp,高度为400vp的情况下,TimePicker的宽高取值 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_PICKEROLD_1260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PICKEROLD_1260 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxPickerold/UIComponentPopupboxPickerold1260"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PICKEROLD_1260 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PICKEROLD_1250 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PICKEROLD_1250 + * @tc.desc TimePicker组件验证设置宽度为250vp,高度为180vp的情况下,TimePicker的宽高取值 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_PICKEROLD_1250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PICKEROLD_1250 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxPickerold/UIComponentPopupboxPickerold1250"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PICKEROLD_1250 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PICKEROLD_1270 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PICKEROLD_1270 + * @tc.desc TimePicker组件验证设置宽度为undefined,高度为undefined的情况下,TimePicker的宽高取值 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_PICKEROLD_1270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PICKEROLD_1270 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxPickerold/UIComponentPopupboxPickerold1270"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PICKEROLD_1270 finish.`); + done(); + }); + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxPopupFollowtransformoftargetTest/UIComponentPopupboxPopupFollowtransformoftarget.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxPopupFollowtransformoftargetTest/UIComponentPopupboxPopupFollowtransformoftarget.test.ets new file mode 100644 index 00000000..0ec2a875 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxPopupFollowtransformoftargetTest/UIComponentPopupboxPopupFollowtransformoftarget.test.ets @@ -0,0 +1,57 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Settings from '../model/Settings'; +import windowSnap from '../model/snapShot'; +import Logger from '../model/Logger'; +import Utils from '../model/Utils'; +import uiAppearance from '@ohos.uiAppearance'; +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; +import { Component, Driver, ON } from '@ohos.UiTest'; +import { BusinessError } from '@kit.BasicServicesKit'; + +export default function UIComponentPopupboxPopupFollowtransformoftarget() { + describe('UIComponentPopupboxPopupFollowtransformoftarget', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_POPUP_FOLLOWTRANSFORMOFTARGET_0450 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_POPUP_FOLLOWTRANSFORMOFTARGET_0450 + * @tc.desc popup设置CustomPopupOptions,followTransformOfTarget(null),autoCancel(false),最外层的column组件点击后的rotate更改为{angle:"90deg"} + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_POPUP_FOLLOWTRANSFORMOFTARGET_0450', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_POPUP_FOLLOWTRANSFORMOFTARGET_0450 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxPopupFollowtransformoftarget/UIComponentPopupboxPopupFollowtransformoftarget0450"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const btn: Component = await driver.findComponent(ON.id('btn')); + await btn.click(); + await Utils.sleep(1000); + await driver.click(100,100); + await Utils.sleep(1000); + const dis: Component = await driver.findComponent(ON.id('rotate')); + await dis.click(); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_POPUP_FOLLOWTRANSFORMOFTARGET_0450 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxTextPickerDialogInteractionTest/UIComponentPopupboxTextPickerDialogInteraction.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxTextPickerDialogInteractionTest/UIComponentPopupboxTextPickerDialogInteraction.test.ets new file mode 100644 index 00000000..8d52ca04 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxTextPickerDialogInteractionTest/UIComponentPopupboxTextPickerDialogInteraction.test.ets @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Settings from '../model/Settings'; +import windowSnap from '../model/snapShot'; +import Logger from '../model/Logger'; +import Utils from '../model/Utils'; +import uiAppearance from '@ohos.uiAppearance'; +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; +import { Component, Driver, ON } from '@ohos.UiTest'; + +export default function UIComponentPopupboxTextPickerDialogInteraction() { + describe('UIComponentPopupboxTextPickerDialogInteraction', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERACTION_0030 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERACTION_0030 + * @tc.desc 文本滑动选择器弹窗TextPickerDialog,创建多级联动选择器弹窗,固定一级文本,变更二级文本 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERACTION_0030', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInteraction/UIComponentPopupboxTextPickerDialogInteraction0030"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x, point.y, point.x, point.y + 50); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERACTION_0010 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERACTION_0010 + * @tc.desc 文本滑动选择器弹窗TextPickerDialog,点击未选中项,验证效果 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERACTION_0010', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInteraction/UIComponentPopupboxTextPickerDialogInteraction0010"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + const item: Component = await driver.findComponent(ON.text('b1')); + await item.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERACTION_0020 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERACTION_0020 + * @tc.desc 文本滑动选择器弹窗TextPickerDialog,创建多级联动选择器弹窗,变更一级文本 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERACTION_0020', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInteraction/UIComponentPopupboxTextPickerDialogInteraction0020"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + const textPicker: Component = await driver.findComponent(ON.type('TextPicker')); + const point = await textPicker.getBoundsCenter(); + await driver.swipe(point.x - 200, point.y, point.x - 200, point.y + 50); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxTextPickerDialogInterfaceTest/UIComponentPopupboxTextPickerDialogInterface.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxTextPickerDialogInterfaceTest/UIComponentPopupboxTextPickerDialogInterface.test.ets new file mode 100644 index 00000000..36abe2b7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxTextPickerDialogInterfaceTest/UIComponentPopupboxTextPickerDialogInterface.test.ets @@ -0,0 +1,808 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Settings from '../model/Settings'; +import windowSnap from '../model/snapShot'; +import Logger from '../model/Logger'; +import Utils from '../model/Utils'; +import uiAppearance from '@ohos.uiAppearance'; +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; +import { Component, Driver, ON } from '@ohos.UiTest'; + +export default function UIComponentPopupboxTextPickerDialogInterface() { + describe('UIComponentPopupboxTextPickerDialogInterface', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1210 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1210 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中除了最上、最下及选中项以外的文本颜色、字号、字体粗细textStyle (style:Italic) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1210', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1210"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1280 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1280 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中除了最上、最下及选中项以外的文本颜色、字号、字体粗细textStyle(weight:FontWeight.Lighter) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1280', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1280"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1310 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1310 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中除了最上、最下及选中项以外的文本颜色、字号、字体粗细textStyle(weight:FontWeight.Regular) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1310', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1310"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1270 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1270 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中除了最上、最下及选中项以外的文本颜色、字号、字体粗细textStyle (weight:FontWeight.Bold) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1270', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1270"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1390 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1390 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置选中项的文本颜色、字号、字体粗细selectedTextStyle (weight:FontWeight.Lighter) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1390', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1390"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1190 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1190 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中最上和最下两个选项的文本颜色、字号、字体粗细disappearTextStyle (weight:FontWeight.Normal) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1190', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1190"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1360 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1360 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置选中项的文本颜色、字号、字体粗细selectedTextStyle (weight:900) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1360', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1360"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1140 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1140 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中最上和最下两个选项的文本颜色、字号、字体粗细disappearTextStyle (weight:900) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1140', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1140"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1300 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1300 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中除了最上、最下及选中项以外的文本颜色、字号、字体粗细textStyle (weight:FontWeight.Normal) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1300', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1300"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1410 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1410 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置选中项的文本颜色、字号、字体粗细selectedTextStyle(weight:FontWeight.Normal) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1410', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1410"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1240 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1240 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中除了最上、最下及选中项以外的文本颜色、字号、字体粗细textStyle (weight:400) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1240', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1240"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1250 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1250 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中除了最上、最下及选中项以外的文本颜色、字号、字体粗细textStyle(weight:900) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1250', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1250"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1290 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1290 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中除了最上、最下及选中项以外的文本颜色、字号、字体粗细textStyle (weight:FontWeight.Medium) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1290', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1290"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1220 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1220 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中除了最上、最下及选中项以外的文本颜色、字号、字体粗细textStyle (style:Normal) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1220', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1220"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1260 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1260 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中除了最上、最下及选中项以外的文本颜色、字号、字体粗细textStyle (weight:FontWeight.Bolder) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1260', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1260"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1380 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1380 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置选中项的文本颜色、字号、字体粗细selectedTextStyle (weight:FontWeight.Bold) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1380', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1380"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1080 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1080 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、onCancel + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1080', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1080"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + let cancelButton = await driver.findComponent(ON.text('取消')); + await cancelButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1400 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1400 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置选中项的文本颜色、字号、字体粗细selectedTextStyle (weight:FontWeight.Medium) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1400', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1400"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1370 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1370 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置选中项的文本颜色、字号、字体粗细selectedTextStyle (weight:FontWeight.Bolder) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1370', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1370"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1340 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1340 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置选中项的文本颜色、字号、字体粗细selectedTextStyle(weight:100) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1340', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1340"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1090 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1090 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、onChange + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1090', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1090"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await (await driver.findComponent(ON.text('b'))).click(); + await Utils.sleep(3000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1350 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1350 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置选中项的文本颜色、字号、字体粗细selectedTextStyle(weight:400) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1350', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1350"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1330 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1330 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置选中项的文本颜色、字号、字体粗细selectedTextStyle(style:Normal) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1330', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1330"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1420 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1420 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置选中项的文本颜色、字号、字体粗细selectedTextStyle (weightFontWeight Regular) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1420', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1420"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1230 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1230 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中除了最上、最下及选中项以外的文本颜色、字号、字体粗细textStyle (weight:100) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1230', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1230"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1320 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1320 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置选中项的文本颜色、字号、字体粗细selectedTextStyle (style:Italic) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1320', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1320"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1070 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1070 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog0方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、onAccept + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1070', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1070"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + let okButton = await driver.findComponent(ON.text('确定')); + await okButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1120 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1120 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中最上和最下两个选项的文本颜色、字号、字体粗细disappearTextStyle (weight:100) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1120', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1120"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1030 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1030 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、selected(1) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1030', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1030"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1000 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1000 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、selected(2)、value(undefined) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1000', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1000"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1460 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1460 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range(空数组) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1460', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1460"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1470 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1470 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组TextPickerRangeContent,文本加图片 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1470', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1470"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1010 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1010 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、selected(0) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1010', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1010"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1050 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1050 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、value(null) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1050', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1050"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1160 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1160 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中最上和最下两个选项的文本颜色、字号、字体粗细disappearTextStyle (weight:FontWeight.Bold) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1160', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1160"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1020 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1020 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、selected(10,大于数组长度) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1020', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1020"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1040 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1040 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、value(空串) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1040', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1040"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1060 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1060 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、value(undefined) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1060', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1060"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1130 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1130 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中最上和最下两个选项的文本颜色、字号、字体粗细disappearTextStyle (weight:400) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1130', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1130"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1450 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1450 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range(多元素) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1450', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1450"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1440 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1440 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、选项高度defaultPickerltemHeight(string) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1440', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1440"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1200 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1200 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中最上和最下两个选项的文本颜色、字号、字体粗细disappearTextStyle (weight:FontWeight.Regular) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1200', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1200"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1150 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1150 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中最上和最下两个选项的文本颜色、字号、字体粗细disappearTextStyle (weight:FontWeight.Bolder) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1150', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1150"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1180 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1180 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中最上和最下两个选项的文本颜色、字号、字体粗细disappearTextStyle (weight:FontWeight.Medium) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1180', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1180"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1100 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1100 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中最上和最下两个选项的文本颜色、字号、字体粗细disappearTextStyle (style:Italic) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1100', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1100"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1110 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1110 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中最上和最下两个选项的文本颜色、字号、字体粗细disappearTextStyle (style:Normal) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1110', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1110"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1170 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1170 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、设置所有选项中最上和最下两个选项的文本颜色、字号、字体粗细disappearTextStyle (weight:FontWeight.Lighter) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1170', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1170"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1430 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1430 + * @tc.desc 通过getUIContext()获取uniconten对象,调用showTextPickerDialog()方法,创建文本滑动选择器弹窗,设置文本选择数组range、选中项selected(2)、选项高度defaultPickerltemHeight + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TEXTPICKERDIALOG_INTERFACE_1430', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1430"); + await Utils.sleep(1000); + let driver = Driver.create(); + let showTextPickerButton = await driver.findComponent(ON.id('ShowTextPicker')); + await showTextPickerButton.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxTimepickerdialogInterface2Test/UIComponentPopupboxTimepickerdialogInterface2.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxTimepickerdialogInterface2Test/UIComponentPopupboxTimepickerdialogInterface2.test.ets new file mode 100644 index 00000000..54874013 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxTimepickerdialogInterface2Test/UIComponentPopupboxTimepickerdialogInterface2.test.ets @@ -0,0 +1,850 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Settings from '../model/Settings'; +import windowSnap from '../model/snapShot'; +import Logger from '../model/Logger'; +import Utils from '../model/Utils'; +import { Driver, ON } from '@ohos.UiTest'; + +export default function UIComponentPopupboxTimepickerdialogInterface2() { + describe('UIComponentPopupboxTimepickerdialogInterface2', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0160 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0160 + * @tc.desc 属性-offset-不设置 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0160 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20160"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20160_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0160 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0190 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0190 + * @tc.desc 属性-backgroundColor-Color(pink) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0190 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20190"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20190_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0190 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0200 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0200 + * @tc.desc 属性-backgroundColor-number(0x008000) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0200 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20200"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20200_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0200 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0080 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0080 + * @tc.desc 属性-alignment-TopEnd + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0080 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20080"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20080_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0080 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0030 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0030 + * @tc.desc 属性-alignment-Top + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0030 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20030"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20030_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0030 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0040 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0040 + * @tc.desc 属性-alignment-Center + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0040 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20040"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20040_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0040 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0240 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0240 + * @tc.desc 属性-backgroundColor-不设置 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0240 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20240"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20240_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0240 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0070 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0070 + * @tc.desc 属性-alignment-TopStart + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0070 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20070"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20070_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0070 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0170 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0170 + * @tc.desc 属性-maskRect-{x:50,y:50width: "50%". height: “50%" } + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0170 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20170"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20170_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0170 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0100 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0100 + * @tc.desc 属性-alignment-CenterEnd + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0100 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20100"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20100_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0100 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0120 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0120 + * @tc.desc 属性-alignment-BottomEnd + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0120 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20120"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20120_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0120 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0130 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0130 + * @tc.desc 属性-alignment-不设置 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0130 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20130"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20130_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0130 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0150 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0150 + * @tc.desc 属性-offset-{dx:-20,dy:+20} + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0150 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20150"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20150_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0150 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0110 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0110 + * @tc.desc 属性-alignment-BottomStart + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0110 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20110"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20110_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0110 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0050 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0050 + * @tc.desc 属性-alignment-Bottom + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0050 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20050"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20050_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0050 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0220 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0220 + * @tc.desc 属性-backgroundColor-Resource-$r(pink) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0220 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20220"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20220_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0220 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0260 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0260 + * @tc.desc 属性-backgroundBlurStyle-Thick + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0260 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20260"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20260_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0260 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0210 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0210 + * @tc.desc 属性-backgroundColor-string(#9effffff) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0210 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20210"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20210_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0210 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0250 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0250 + * @tc.desc 属性-backgroundColor-动态切换 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0250 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20250"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20250_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot('1'); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.text('取消')); + let point = await text.getBoundsCenter(); + await driver.click(point.x, point.y); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot('2'); + await Utils.sleep(1000); + let text1 = await driver.findComponent(ON.text('取消')); + let point1 = await text1.getBoundsCenter(); + await driver.click(point1.x, point1.y); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot('3'); + await Utils.sleep(1000); + let text2 = await driver.findComponent(ON.text('取消')); + let point2 = await text2.getBoundsCenter(); + await driver.click(point2.x, point2.y); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0250 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0230 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0230 + * @tc.desc 属性-backgroundColor-Resource-$r(#9effffff) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0230 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20230"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20230_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0230 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0280 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0280 + * @tc.desc 属性-backgroundBlurStyle-Thick + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0280 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20280"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20280_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0280 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0270 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0270 + * @tc.desc 属性-backgroundBlurStyle-Regular + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0270 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20270"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20270_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0270 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0290 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0290 + * @tc.desc 属性-backgroundBlurStyle-BACKGROUND_THIN + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0290 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20290"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20290_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0290 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0340 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0340 + * @tc.desc 属性-backgroundBlurStyle-BACKGROUND_COMPONENT_ULTRA THIN + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0340 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20340"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20340_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0340 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0310 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0310 + * @tc.desc 属性-backgroundBlurStyle-BACKGROUND_THICK + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0310 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20310"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20310_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0310 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0350 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0350 + * @tc.desc 属性-backgroundBlurStyle-BACKGROUND_COMPONENT_THIN + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0350 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20350"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20350_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0350 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0330 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0330 + * @tc.desc 属性-backgroundBlurStyle-NONE + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0330 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20330"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20330_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0330 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0360 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0360 + * @tc.desc 属性-backgroundBlurStyle-COMPONENT_REGULAR + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0360 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20360"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20360_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0360 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0390 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0390 + * @tc.desc 属性-backgroundBlurStyle-不设置 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0390 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20390"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20390_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0390 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0370 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0370 + * @tc.desc 属性-backgroundBlurStyle-BACKGROUND_COMPONENT_ULTRA_COMPONENT_THICK + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0370 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20370"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20370_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0370 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0380 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0380 + * @tc.desc 属性-backgroundBlurStyle-COMPONENT ULTRA THICK + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0380 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20380"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20380_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0380 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0320 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0320 + * @tc.desc 属性-backgroundBlurStyle-BACKGROUND ULTRA_THICK + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0320 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20320"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20320_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0320 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0400 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0400 + * @tc.desc 属性-DialogAlignment.Default和offset:{ dx:0.dy:0}同时设置 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0400 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20400"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20400_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0400 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0300 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0300 + * @tc.desc 属性-backgroundBlurStyle-BACKGROUND_REGULAR + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0300 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20300"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20300_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0300 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0020 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0020 + * @tc.desc 验证TimePickerDialogOptions非必填性 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0020 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20020"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20020_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0020 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0010 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0010 + * @tc.desc 验证Options非必填性 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0010 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20010"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('button1')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0010 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0090 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0090 + * @tc.desc 属性-alignment-CenterStart + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0090 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20090"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20090_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0090 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0060 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0060 + * @tc.desc 属性-alignment-Default + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0060 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20060"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20060_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0060 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0180 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0180 + * @tc.desc 属性-maskRect-不设置 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0180 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20180"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20180_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0180 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0140 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0140 + * @tc.desc 属性-offset-{dx:0,dy: 0} + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0140 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20140"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface20140_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE2_0140 finish.`); + done(); + }); + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxTimepickerdialogInterfaceTest/UIComponentPopupboxTimepickerdialogInterface.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxTimepickerdialogInterfaceTest/UIComponentPopupboxTimepickerdialogInterface.test.ets new file mode 100644 index 00000000..b26a38cb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxTimepickerdialogInterfaceTest/UIComponentPopupboxTimepickerdialogInterface.test.ets @@ -0,0 +1,1380 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Settings from '../model/Settings'; +import windowSnap from '../model/snapShot'; +import Logger from '../model/Logger'; +import Utils from '../model/Utils'; +import { Driver, ON } from '@ohos.UiTest'; + +export default function UIComponentPopupboxTimepickerdialogInterface() { + describe('UIComponentPopupboxTimepickerdialogInterface', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0950 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0950 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-selectedTextStyle-PickerTextStyle-color-$r("app.color.blue”) + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0950', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0950 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0950"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0950_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0950 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1070 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1070 + * @tc.desc 通过getUlContext()获取uiconten对象,调用showTimePickerDialog()-selectedTextStyle-PickerTextStyle-font-weight-FontWeight-Lighter + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1070 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1070"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1070_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1070 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1030 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1030 + * @tc.desc 通过getUlContext()获取uiconten对象,调用showTimePickerDialog()-selectedTextStyle-PickerTextStyle-font-style-ltalic + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1030 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1030"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1030_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1030 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1240 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1240 + * @tc.desc 通过getUlContext()获取uiconten对象,调用showTimePickerDialog()-textStyle-PickerTextStyle-font-style-Normal + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1240 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1240"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1240_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1240 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1090 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1090 + * @tc.desc 通过getUlContext()获取uiconten对象,调用showTimePickerDialog()-selectedTextStyle-PickerTextStyle-font-weight-FontWeight-Normal + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1090 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1090"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1090_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1090 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1010 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1010 + * @tc.desc 通过getUlContext()获取uiconten对象,调用showTimePickerDialog()-selectedTextStyle-PickerTextStyle-font-size-10 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1010 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1010"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1010_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1010 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0900 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0900 + * @tc.desc 通过getUlContext()获取uiconten对象,调用showTimePickerDialog()-onCancel + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0900', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0900 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0900"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0900_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + let text1 = await driver.findComponent(ON.text('取消')); + let point1 = await text1.getBoundsCenter(); + await driver.click(point1.x, point1.y); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0900 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1260 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1260 + * @tc.desc 通过getUlContext()获取uiconten对象,调用showTimePickerDialog()-textStyle-PickerTextStyle-font-weight-FontWeight-Bolder + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1260 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1260"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1260_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1260 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1180 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1180 + * @tc.desc 通过getUlContext()获取uiconten对象,调用showTimePickerDialog()-textStyle-PickerTextStyle-font-family-Resource + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1180 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1180"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1180_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1180 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1310 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1310 + * @tc.desc 通过getUlContext()获取uiconten对象,调用showTimePickerDialog()-textStyle-PickerTextStyle-font-weight-number-400 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1310 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1310"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1310_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1310 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1060 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1060 + * @tc.desc 通过getUlContext()获取uiconten对象,调用showTimePickerDialog()-selectedTextStyle-PickerTextStyle-font-weight-FontWeight-Bolder + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1060 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1060"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1060_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1060 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1050 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1050 + * @tc.desc 通过getUlContext()获取uiconten对象,调用showTimePickerDialog()-selectedTextStyle-PickerTextStyle-font-weight-FontWeight-Bold + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1050 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1050"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1050_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1050 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1290 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1290 + * @tc.desc 通过getUlContext()获取uiconten对象,调用showTimePickerDialog()-textStyle-PickerTextStyle-font-weight-FontWeight-Normal + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1290 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1290"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1290_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1290 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1020 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1020 + * @tc.desc 通过getUlContext()获取uiconten对象,调用showTimePickerDialog()-selectedTextStyle-PickerTextStyle-font-size-Resource + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1020 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1020"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1020_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1020 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1080 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1080 + * @tc.desc 通过getUlContext()获取uiconten对象,调用showTimePickerDialog()-selectedTextStyle-PickerTextStyle-font-weight-FontWeight-Medium + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1080 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1080"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1080_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1080 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1100 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1100 + * @tc.desc 通过getUlContext()获取uiconten对象,调用showTimePickerDialog()-selectedTextStyle-PickerTextStyle-font-weight-FontWeight-Regular + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1100 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1100"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1100_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1100 finish.`); + done(); + }); + + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0980', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0980 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0980"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0980_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0980 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1120 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1120 + * @tc.desc 通过getUlContext()获取uiconten对象,调用showTimePickerDialog()-selectedTextStyle-PickerTextStyle-font-weight-number-500 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1120 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1120"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1120_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1120 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0910 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0910 + * @tc.desc 通过getUlContext()获取uiconten对象,调用showTimePickerDialog()-onChange + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0910', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0910 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0910"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0910_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot('1'); + let text1 = await driver.findComponent(ON.text('9')); + let point1 = await text1.getBoundsCenter(); + await driver.click(point1.x, point1.y); + await Utils.sleep(1000); + await windowSnap.snapShot('2'); + await Utils.sleep(500); + let text2 = await driver.findComponent(ON.text('31')); + let point2 = await text2.getBoundsCenter(); + await driver.click(point2.x, point2.y); + await Utils.sleep(1000); + await windowSnap.snapShot('3'); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0910 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1220 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1220 + * @tc.desc 通过getUlContext0)获取uiconten对象,调用showTimePickerDialog()-textStyle-PickerTextStyle-font-size-Resource + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1220 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1220"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1220_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1220 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1360 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1360 + * @tc.desc 通过getUlContext0)获取uiconten对象,调用showTimePickerDialog()-连续调用 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1360 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1360"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1360_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1360 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1340 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1340 + * @tc.desc 通过getUlContext0)获取uiconten对象,调用showTimePickerDialog()-useMilitaryTime-false + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1340 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1340"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1340_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1340 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0990 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0990 + * @tc.desc 通过getUlContext()获取uiconten对象,调用showTimePickerDialog()-selectedTextStyle-PickerTextStyle-font-family-string + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0990', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0990 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0990"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0990_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0990 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0860 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0860 + * @tc.desc 通过getUlContext()获取uiconten对象,调用showTimePickerDialog()-disappearTextStyle-PickerTextStyle-font-weight-number-400 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0860', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0860 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0860"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0860_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0860 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0700 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0700 + * @tc.desc 通过getUContext()获取uiconten对象,调用showTimePickerDialog()-disappearTextStyle-PickerTextStyle-color-"rgb(255.0.0)” + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0700', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0700 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0700"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0700_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0700 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0890 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0890 + * @tc.desc 通过getUlContext()获取uiconten对象,调用showTimePickerDialog()-onAccept + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0890', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0890 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0890"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0890_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0890 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0850 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0850 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-disappearTextStyle-PickerTextStyle-font-weight-FontWeight-Regular + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0850', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0850 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0850"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0850_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0850 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1130 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1130 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-selectedTextStyle-PickerTextStyle-font-weight-string-"500" + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1130 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1130"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1130_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1130 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0880 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0880 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-disappearTextStyle-PickerTextStyle-font-weight-string-"500" + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0880', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0880 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0880"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0880_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0880 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1160 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1160 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-textStyle-PickerTextStyle-color-0x0000ff + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1160 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1160"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1160_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1160 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1300 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1300 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-textStyle-PickerTextStyle-font-weight-FontWeight-Regular + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1300 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1300"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1300_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1300 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1200 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1200 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-textStyle-PickerTextStyle-font-size-"10px" + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1200 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1200"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1200_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1200 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1110 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1110 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-selectedTextStyle-PickerTextStyle-font-weight-number-400 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1110 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1110"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1110_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1110 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1280 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1280 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-textStyle-PickerTextStyle-font-weight-FontWeight-Medium + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1280 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1280"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1280_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1280 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1040 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1040 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-selectedTextStyle-PickerTextStyle-font-style-Normal + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1040 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1040"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1040_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1040 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1170 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1170 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-textStyle-PickerTextStyle-color-Color.Blue + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1170 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1170"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1170_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1170 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0820 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0820 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-disappearTextStyle-PickerTextStyle-font-weight-FontWeight-Bolder + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0820', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0820 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0820"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0820_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0820 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0800 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0800 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-disappearTextStyle-PickerTextStyle-font-style-Normal + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0800', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0800 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0800"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0800_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0800 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0790 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0790 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-disappearTextStyle-PickerTextStyle-font-style-ltalic + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0790', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0790 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0790"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0790_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0790 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1140 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1140 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-textStyle-PickerTextStyle-color-"rgb(255,0,0)" + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1140 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1140"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1140_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1140 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0920 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0920 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-selected-Date-Date(2020-12-25T08:30:00") + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0920', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0920 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0920"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0920_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0920 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1150 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1150 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-textStyle-PickerTextStyle-color-$r("app.color.blue") + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1150 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1150"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1150_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1150 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0760 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0760 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-disappearTextStyle-PickerTextStyle-font-size-"10px" + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0760', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0760 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0760"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0760_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0760 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1270 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1270 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-textStyle-PickerTextStyle-font-weight-FontWeight-Lighter + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1270 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1270"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1270_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1270 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0710 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0710 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-disappearTextStyle-PickerTextStyle-color-$r(app.color.blue") + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0710', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0710 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0710"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0710_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0710 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0740 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0740 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-disappearTextStyle-PickerTextStyle-font-family-Resource + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0740', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0740 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0740"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0740_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0740 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1350 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1350 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-useMilitaryTime-true + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1350 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1350"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1350_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1350 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0830 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0830 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-disappearTextStyle-PickerTextStyle-font-weight-FontWeight-Medium + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0830', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0830 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0830"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0830_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0830 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0720 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0720 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-disappearTextStyle-PickerTextStyle-color-0x0000ff + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0720', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0720 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0720"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0720_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0720 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1210 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1210 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-textStyle-PickerTextStyle-font-size-10 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1210 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1210"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1210_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1210 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0730 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0730 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-disappearTextStyle-PickerTextStyle-color-Color.Blue + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0730', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0730 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0730"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0730_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0730 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0940 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0940 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-selectedTextStyle-PickerTextStyle-color-"rgb(255,0,0)" + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0940', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0940 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0940"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0940_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0940 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0770 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0770 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-disappearTextStyle-PickerTextStyle-font-size-10 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0770', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0770 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0770"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0770_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0770 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0960 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0960 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-selectedTextStyle-PickerTextStyle-color-0x0000ff + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0960', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0960 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0960"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0960_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0960 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0930 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0930 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-selected-Date不设置 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0930', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0930 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0930"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0930_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0930 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1000 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1000 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-selectedTextStyle-PickerTextStyle-font-size-"10px" + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1000', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1000 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1000"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1000_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1000 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0840 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0840 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-disappearTextStyle-PickerTextStyle-font-weight-FontWeight-Normal + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0840', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0840 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0840"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0840_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0840 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1320 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1320 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-textStyle-PickerTextStyle-font-weight-number-500 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1320 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1320"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1320_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1320 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0750 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0750 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-disappearTextStyle-PickerTextStyle-font-family-string + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0750', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0750 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0750"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0750_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0750 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1230 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1230 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-textStyle-PickerTextStyle-font-style-Italic + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1230 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1230"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1230_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1230 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0870 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0870 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-disappearTextStyle-PickerTextStyle-font-weight-number-500 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0870', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0870 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0870"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0870_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0870 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1330 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1330 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-textStyle-PickerTextStyle-font-weight-string-"500" + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1330 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1330"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1330_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1330 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0780 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0780 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-disappearTextStyle-PickerTextStyle-font-size-Resource + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0780', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0780 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0780"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0780_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0780 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0970 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0970 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-selectedTextStyle-PickerTextStyle-color-Color.Blue + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0970', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0970 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0970"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0970_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0970 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0810 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0810 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-disappearTextStyle-PickerTextStyle-font-weight-FontWeight-Bold + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0810', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0810 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0810"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface0810_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_0810 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1250 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1250 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-textStyle-PickerTextStyle-font-weight-FontWeight-Bold + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1250 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1250"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1250_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1250 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1190 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1190 + * @tc.desc 通过getUIContext()获取uiconten对象,调用showTimePickerDialog()-textStyle-PickerTextStyle-font-family-string + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1190 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1190"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogInterface1190_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_INTERFACE_1190 finish.`); + done(); + }); + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxTimepickerdialogScenariosTest/UIComponentPopupboxTimepickerdialogScenariosTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxTimepickerdialogScenariosTest/UIComponentPopupboxTimepickerdialogScenariosTest.test.ets new file mode 100644 index 00000000..83750edd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxTimepickerdialogScenariosTest/UIComponentPopupboxTimepickerdialogScenariosTest.test.ets @@ -0,0 +1,123 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Settings from '../model/Settings'; +import windowSnap from '../model/snapShot'; +import Logger from '../model/Logger'; +import Utils from '../model/Utils'; +import { DisplayRotation, Driver, ON } from '@ohos.UiTest'; + +export default function UIComponentPopupboxTimepickerdialogScenarios() { + describe('UIComponentPopupboxTimepickerdialogScenarios', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_SCENARIOS_0090 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_SCENARIOS_0090 + * @tc.desc 弹出子窗口时间滑动选择器弹窗后,点击确认退出子窗口 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_SCENARIOS_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_SCENARIOS_0090 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0090"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogScenarios0090_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.text('确定')); + let point = await text.getBoundsCenter(); + await driver.click(point.x, point.y); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_SCENARIOS_0090 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_SCENARIOS_0030 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_SCENARIOS_0030 + * @tc.desc 两种方法同时存在-性能 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_SCENARIOS_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_SCENARIOS_0030 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0030"); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogScenarios0030_001')); + await Utils.sleep(250); + await windowSnap.snapShot('1'); + for (let i = 1; i <= 20; i++) { + await Utils.sleep(300); + await button.click(); + await Utils.sleep(300); + await driver.click(200, 200); + } + await Utils.sleep(1000); + await windowSnap.snapShot('2'); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_SCENARIOS_0030 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_SCENARIOS_0020 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_SCENARIOS_0020 + * @tc.desc 两种方法同时存在-常规调用DatePickerDialog后通过getUIContext调用 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_SCENARIOS_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_SCENARIOS_0020 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0020"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogScenarios0020_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot('1'); + await Utils.sleep(3000); + windowSnap.snapShot('2'); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_SCENARIOS_0020 finish.`); + done(); + }); + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_SCENARIOS_0010 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_SCENARIOS_0010 + * @tc.desc 两种方法同时存在-getUIContext调用后通过常规调用DatePickerDialog + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_SCENARIOS_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_SCENARIOS_0010 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0010"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentPopupboxTimepickerdialogScenarios0010_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot('1'); + await Utils.sleep(3000); + windowSnap.snapShot('2'); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_TIMEPICKERDIALOG_SCENARIOS_0010 finish.`); + done(); + }); + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollPickerPickerrefactorTest/UIComponentScrollPickerPickerrefactor.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollPickerPickerrefactorTest/UIComponentScrollPickerPickerrefactor.test.ets new file mode 100644 index 00000000..c8e2bfa4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollPickerPickerrefactorTest/UIComponentScrollPickerPickerrefactor.test.ets @@ -0,0 +1,52 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; +import Settings from '../model/Settings'; +import windowSnap from '../model/snapShot'; +import Logger from '../model/Logger'; +import Utils from '../model/Utils'; +import { DisplayRotation, Driver, ON, Component } from '@ohos.UiTest'; + +export default function UIComponentScrollPickerPickerrefactor() { + describe('UIComponentScrollPickerPickerrefactor', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_PICKER_PICKERREFACTOR_0190 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_PICKER_PICKERREFACTOR_0190 + * @tc.desc TimePick可以正常切换时间进制 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_PICKER_PICKERREFACTOR_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_PICKER_PICKERREFACTOR_0190 start.`); + Settings.createWindow("testability/pages/UIComponentScrollPickerPickerrefactor/UIComponentScrollPickerPickerrefactor0190"); + await Utils.sleep(1000); + let driver = Driver.create(); + let button = await driver.findComponent(ON.id('UIComponentScrollPickerPickerrefactor0190_001')); + await Utils.sleep(100); + await button.click(); + await Utils.sleep(500); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_PICKER_PICKERREFACTOR_0190 finish.`); + done(); + }); + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentUISupportColorTest/UIComponentUISupportColor.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentUISupportColorTest/UIComponentUISupportColor.test.ets index daf797ea..001f134b 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentUISupportColorTest/UIComponentUISupportColor.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentUISupportColorTest/UIComponentUISupportColor.test.ets @@ -13,34 +13,85 @@ * limitations under the License. */ -import { describe, afterEach, it } from '@ohos/hypium'; +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; import Settings from '../model/Settings'; import windowSnap from '../model/snapShot'; import Logger from '../model/Logger'; import Utils from '../model/Utils'; import uiAppearance from '@ohos.uiAppearance'; -import { Driver ,ON } from '@ohos.UiTest' - -/* - * UIComponentUISupportColor - * - * Settings.createWindow(config.url): - * 创建窗口,更改窗口基本配置,更改方式详见model/Settings createWindow方法 - * - * windowSnap.snapShot(globalThis.context): - * 窗口截屏&图片文件保存,存储在设备端 - * 存储文件固定,单挑用例执行后覆盖,用于自动化UI对比 - * 支持调试更改文件名为时间戳格式,更改model/snapShot createAndGetFile方法 注释L35,放开L32,L33 - * - * Logger日志使用方法: - * import Logger form './model/Logger' - * Logger.info(TAG,`config = ${config}, err = ${JSON.stringify(exception)}`) - * */ +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; +import { Component, Driver, ON } from '@ohos.UiTest'; +import { BusinessError } from '@kit.BasicServicesKit'; export default function UIComponentUISupportColor() { - describe('UIComponentUISupportColor', () => { + afterEach(async (done: Function) => { + await Settings.initEnv(); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1970 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1970 + * @tc.desc 验证TextPicker组件动态切换浅色模式-浅色模式正常切换 + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1970', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1970 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1970"); + await Utils.sleep(1000); + await windowSnap.snapShot("before"); + const driver: Driver = Driver.create(); + const changeThemeBt: Component = await driver.findComponent(ON.id('change_theme_bt')); + await changeThemeBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1970 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2030 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2030 + * @tc.desc 验证TextPicker组件跟随系统深浅颜色变化 + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2030 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2030"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const changeLightBt: Component = await driver.findComponent(ON.id('change_light_theme_bt')); + await changeLightBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot("light"); + const changeDarkBt: Component = await driver.findComponent(ON.id('change_dark_theme_bt')); + await changeDarkBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2030 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1990 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1990 + * @tc.desc 验证TextPicker组件动态切换深色模式-浅色模式正常切换 + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1990', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1990 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1990"); + await Utils.sleep(1000); + await windowSnap.snapShot("dark"); + const driver: Driver = Driver.create(); + const changeLightBt: Component = await driver.findComponent(ON.id('change_light_theme_bt')); + await changeLightBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1990 finish.`); + done(); + }) /* * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1010 @@ -66,6 +117,24 @@ export default function UIComponentUISupportColor() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2010 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2010 + * @tc.desc 验证TextPicker组件固定使用浅色模式 + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2010 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2010"); + await Utils.sleep(1000); + await windowSnap.snapShot("1"); + getContext().getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + await Utils.sleep(1000); + await windowSnap.snapShot("2"); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2010 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1050 * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1050 @@ -90,6 +159,26 @@ export default function UIComponentUISupportColor() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2000 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2000 + * @tc.desc 验证TextPicker组件动态切换深色模式-深色模式正常切换 + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2000', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2000 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2000"); + await Utils.sleep(1000); + await windowSnap.snapShot("before"); + const driver: Driver = Driver.create(); + const changeThemeBt: Component = await driver.findComponent(ON.id('change_theme_bt')); + await changeThemeBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot("after"); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2000 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1050_1 * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1050_1 @@ -114,6 +203,26 @@ export default function UIComponentUISupportColor() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1980 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1980 + * @tc.desc 验证TextPicker组件动态切换浅色模式-深色模式正常切换 + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1980', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1980 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1980"); + await Utils.sleep(1000); + await windowSnap.snapShot("light"); + const driver: Driver = Driver.create(); + const changeLightBt: Component = await driver.findComponent(ON.id('change_theme_bt')); + await changeLightBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot("dark"); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1980 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1020 * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1020 @@ -138,6 +247,24 @@ export default function UIComponentUISupportColor() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2020 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2020 + * @tc.desc 验证TextPicker组件固定使用深色模式 + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2020 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2020"); + await Utils.sleep(1000); + await windowSnap.snapShot("1"); + getContext().getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2020 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1040 * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1040 @@ -158,6 +285,27 @@ export default function UIComponentUISupportColor() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2180 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2180 + * @tc.desc 验证Toggle组件动态切换浅色模式-浅色模式正常切换 + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2180 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2180"); + await Utils.sleep(1000); + await windowSnap.snapShot("Toggle"); + const driver: Driver = Driver.create(); + const Toggle: Component = await driver.findComponent(ON.id('Toggle')); + let pointButtonCenter = await Toggle.getBoundsCenter(); + await driver.click(pointButtonCenter.x, pointButtonCenter.y); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2180 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1000 * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1000 @@ -182,6 +330,27 @@ export default function UIComponentUISupportColor() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2190 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2190 + * @tc.desc 验证Toggle组件动态切换浅色模式-深色模式正常切换 + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2190 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2190"); + await Utils.sleep(1000); + await windowSnap.snapShot("Toggle"); + const driver: Driver = Driver.create(); + const Toggle: Component = await driver.findComponent(ON.id('Toggle')); + let pointButtonCenter = await Toggle.getBoundsCenter(); + await driver.click(pointButtonCenter.x, pointButtonCenter.y); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2190 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1030 * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1030 @@ -202,6 +371,27 @@ export default function UIComponentUISupportColor() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2200 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2200 + * @tc.desc 验证Toggle组件动态切换深色模式-浅色模式正常切换 + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2200 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2200"); + await Utils.sleep(1000); + await windowSnap.snapShot("Toggle"); + const driver: Driver = Driver.create(); + const Toggle: Component = await driver.findComponent(ON.id('Toggle')); + let pointButtonCenter = await Toggle.getBoundsCenter(); + await driver.click(pointButtonCenter.x, pointButtonCenter.y); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2200 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0990 * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0990 @@ -226,6 +416,27 @@ export default function UIComponentUISupportColor() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2210 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2210 + * @tc.desc 验证Toggle组件动态切换深色模式-深色模式正常切换 + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2210 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2210"); + await Utils.sleep(1000); + await windowSnap.snapShot("Toggle"); + const driver: Driver = Driver.create(); + const Toggle: Component = await driver.findComponent(ON.id('Toggle')); + let pointButtonCenter = await Toggle.getBoundsCenter(); + await driver.click(pointButtonCenter.x, pointButtonCenter.y); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2210 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0940 * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0940 @@ -250,6 +461,49 @@ export default function UIComponentUISupportColor() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2110 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2110 + * @tc.desc The components change according to the dark and light color of the system + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2110 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2110") + await Utils.sleep(2000) + await windowSnap.snapShot('1') + await Utils.sleep(1000) + const driver: Driver = Driver.create(); + const changeThemeBt: Component = await driver.findComponent(ON.id('change_theme_button')); + await changeThemeBt.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2110 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2120 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2120 + * @tc.desc 验证TimePicker组件动态切换浅色模式-深色模式正常切换 + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2120 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2120"); + await Utils.sleep(2000); + await windowSnap.snapShot('1'); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const changeThemeBt: Component = await driver.findComponent(ON.id('change_theme_button')); + await changeThemeBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2120 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0930 * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0930 @@ -274,6 +528,27 @@ export default function UIComponentUISupportColor() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2130 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2130 + * @tc.desc 验证TimePicker组件动态切换深色模式-浅色模式正常切换 + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2130 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2130"); + await Utils.sleep(2000); + await windowSnap.snapShot('1'); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const changeThemeBt: Component = await driver.findComponent(ON.id('change_theme_button')); + await changeThemeBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2130 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0970 * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0970 @@ -294,6 +569,57 @@ export default function UIComponentUISupportColor() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2140 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2140 + * @tc.desc 验证TimePicker组件动态切换深色模式-深色模式正常切换 + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2140 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2140"); + await Utils.sleep(2000); + await windowSnap.snapShot('1'); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const changeThemeBt: Component = await driver.findComponent(ON.id('change_theme_button')); + await changeThemeBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2140 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2150 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2150 + * @tc.desc 验证TimePicker组件固定使用浅色模式 + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2150 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2150"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2150 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2160 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2160 + * @tc.desc 验证TimePicker组件固定使用深色模式 + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2160 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2160"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2160 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0980 * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0980 @@ -323,6 +649,60 @@ export default function UIComponentUISupportColor() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2170 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2170 + * @tc.desc 验证TimePicker组件跟随系统颜色深浅颜色变化 + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2170 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2170"); + await Utils.sleep(2000); + await windowSnap.snapShot('1'); + const driver: Driver = Driver.create(); + const changeThemeBt: Component = await driver.findComponent(ON.id('change_theme_button')); + await changeThemeBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2170 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2220 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2220 + * @tc.desc Verify that the Toggle component dynamically toggles dark mode - dark mode toggles normally + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2220 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2220"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2220 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2230_1 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2230_1 + * @tc.desc 验证Toggle组件固定使用深色模式 + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2230_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2230_1 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2230"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const lightThemeBt: Component = await driver.findComponent(ON.id('change_light_theme_bt')); + await lightThemeBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2230_1 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0920 * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0920 @@ -347,6 +727,44 @@ export default function UIComponentUISupportColor() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2230_2 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2230_2 + * @tc.desc 验证Toggle组件固定使用深色模式 + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2230_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2230_2 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2230"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const darkThemeBt: Component = await driver.findComponent(ON.id('change_dark_theme_bt')); + await darkThemeBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2230_2 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2240 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2240 + * @tc.desc 验证Toggle组件跟随系统深浅颜色变化 + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2240_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2240 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2240"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const lightThemeBt: Component = await driver.findComponent(ON.id('change_light_theme_bt')); + await lightThemeBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2240 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0960 * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0960 @@ -367,6 +785,26 @@ export default function UIComponentUISupportColor() { done(); }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2240 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2240 + * @tc.desc 验证Toggle组件跟随系统深浅颜色变化 + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2240_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2240 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2240"); + await Utils.sleep(1000); + const driver: Driver = Driver.create(); + const darkThemeBt: Component = await driver.findComponent(ON.id('change_dark_theme_bt')); + await Utils.sleep(1000); + await darkThemeBt.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2240 finish.`); + done(); + }) + /* * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0950 * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0950 diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/Logger.ts b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/Logger.ts index d8e65ace..af1e3824 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/Logger.ts +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/Logger.ts @@ -16,30 +16,30 @@ import hilog from '@ohos.hilog'; class Logger { - private domain: number; - private prefix: string; - private format: string = "%{public}s, %{public}s"; - - constructor(prefix: string) { - this.prefix = prefix; - this.domain = 0xFF00; - } - - debug(...args: any[]) { - hilog.debug(this.domain, this.prefix, this.format, args); - } - - info(...args: any[]) { - hilog.info(this.domain, this.prefix, this.format, args); - } - - warn(...args: any[]) { - hilog.warn(this.domain, this.prefix, this.format, args); - } - - error(...args: any[]) { - hilog.error(this.domain, this.prefix, this.format, args); - } + private domain: number; + private prefix: string; + private format: string = "%{public}s, %{public}s"; + + constructor(prefix: string) { + this.prefix = prefix; + this.domain = 0xFF00; + } + + debug(...args: any[]) { + hilog.debug(this.domain, this.prefix, this.format, args); + } + + info(...args: any[]) { + hilog.info(this.domain, this.prefix, this.format, args); + } + + warn(...args: any[]) { + hilog.warn(this.domain, this.prefix, this.format, args); + } + + error(...args: any[]) { + hilog.error(this.domain, this.prefix, this.format, args); + } } -export default new Logger('[Screenshot]'); \ No newline at end of file +export default new Logger('[Screenshot]'); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/Settings.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/Settings.ets index c74ae272..46dd30ac 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/Settings.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/Settings.ets @@ -16,41 +16,42 @@ import screen from '@ohos.screen'; import window from '@ohos.window'; import Logger from './Logger'; -import { GlobalThis } from './globalThis' -import { BusinessError } from '@ohos.base' -import Window from '@ohos.window' -import common from '@ohos.app.ability.common'; +import { GlobalThis } from './globalThis'; +import { BusinessError } from '@ohos.base'; +import Window from '@ohos.window'; import { i18n } from '@kit.LocalizationKit'; -import { router } from '@kit.ArkUI'; -import { systemDateTime } from '@kit.BasicServicesKit'; +import { ConfigurationConstant } from '@kit.AbilityKit'; +import { util } from '@kit.ArkTS'; +import { router, uiAppearance } from '@kit.ArkUI'; +import Utils from './Utils'; const TAG: string = '[TEST]'; async function sleep(time: number): Promise { const result: string = await new Promise((resolve: Function) => { setTimeout(() => { - resolve('sleep ok') - }, time) + resolve('sleep ok'); + }, time); }); console.info(result); } class Settings { - isPhone: boolean = true; - windowClass: window.Window | undefined = undefined + isPhone: boolean = false; + windowClass: window.Window | undefined = undefined; windowCreateType: string = "changeWindow"; private static DEFAULT_WIDTH: number = 720; - private static DEFAULT_HEIGHT: number = 1280; + private static DEFAULT_HEIGHT: number = 1412; private static DEFAULT_DPI: number = 240; - private static DEFAULT_OFFSET_X: number = 0; - private static DEFAULT_OFFSET_Y: number = 60; - private portrait: boolean = true + private static DEFAULT_OFFSET_X: number = 100; + private static DEFAULT_OFFSET_Y: number = 132; + private portrait: boolean = true; changeWindowPosition(windowClass: window.Window, X: number | undefined, Y: number | undefined) { //为悬浮窗设置位置 windowClass.moveWindowTo(X, Y, (err) => { if (err.code) { - Logger.error(TAG, `Failed to move the window. Cause : ${JSON.stringify(err)}`) + Logger.error(TAG, `Failed to move the window. Cause : ${JSON.stringify(err)}`); return; } Logger.info(TAG, 'Succeed moveWindowTo.'); @@ -61,7 +62,7 @@ class Settings { //为悬浮窗设置大小 windowClass.resize(width, height, (err) => { if (err.code) { - Logger.error(TAG, `Failed to change the window size. Cause : ${JSON.stringify(err)}`) + Logger.error(TAG, `Failed to change the window size. Cause : ${JSON.stringify(err)}`); return; } Logger.info(TAG, 'Succeed changeWindowSize'); @@ -72,15 +73,14 @@ class Settings { //为悬浮窗加载对应的目标页面 windowClass.setUIContent(pageURI, (err) => { if (err.code) { - Logger.error(TAG, `Failed to load the window. Cause : ${JSON.stringify(err)}`) + Logger.error(TAG, `Failed to load the window. Cause : ${JSON.stringify(err)}`); return; } Logger.info(TAG, `Succeeded in loading the content.`); - //显示悬浮窗 windowClass.showWindow((err) => { if (err.code) { - Logger.error(TAG, `Failed to show the window. Cause : ${JSON.stringify(err)}`) + Logger.error(TAG, `Failed to show the window. Cause : ${JSON.stringify(err)}`); return; } Logger.info(TAG, `Succeeded in showing the window.`); @@ -92,11 +92,10 @@ class Settings { //为悬浮窗加载对应的目标页面 windowClass.setUIContent(pageURI, (err) => { if (err.code) { - Logger.error(TAG, `Failed to load the window. Cause : ${JSON.stringify(err)}`) + Logger.error(TAG, `Failed to load the window. Cause : ${JSON.stringify(err)}`); return; } Logger.info(TAG, `Succeeded in loading the content.`); - }) } @@ -108,12 +107,11 @@ class Settings { return; } Logger.info(TAG, `Succeeded in getting all screens. Data:${JSON.stringify(data)}`); - screenClass = data[0]; //设置设备dpi screenClass.setDensityDpi(dpi, (err: BusinessError) => { if (err.code) { - Logger.error(TAG, `Failed to set the pixel density. Code : ${JSON.stringify(err)}`) + Logger.error(TAG, `Failed to set the pixel density. Code : ${JSON.stringify(err)}`); return; } Logger.info(TAG, `Succeeded in setting the pixel density`); @@ -125,7 +123,7 @@ class Settings { windowClass.setWindowSystemBarEnable(names, (err: BusinessError) => { const errCode: number = err.code; if (errCode) { - Logger.error(TAG, 'Failed to set the system bar to be invisible. Cause:' + JSON.stringify(err)) + Logger.error(TAG, 'Failed to set the system bar to be invisible. Cause:' + JSON.stringify(err)); return; } Logger.info(TAG, `Succeeded in set the system bar to be invisible`); @@ -145,6 +143,42 @@ class Settings { } } + async initEnv() { + let context = getContext() + let promise = await Window.getLastWindow(context); + let orientation = Window.Orientation.PORTRAIT; + try { + getContext().getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_NOT_SET); + await promise.setPreferredOrientation(orientation); + Utils.sleep(1000); + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Set dark-mode successfully.'); + }).catch((error:Error) => { + console.error('Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + + if (this.windowClass == undefined) { + return + } + + this.windowClass.destroyWindow((err) => { + if (err.code) { + Logger.error('TEST', `Failed to destroy the window. Cause : ${JSON.stringify(err)}`) + return; + } + Logger.info('TEST', `Succeeded in destroy the window.`); + }) + await Utils.sleep(1000); + } + /* * 窗口页面更新 * Setting.createWindow(pageURI: String, {X,Y,width,height,dpi}?:{X?:number,Y?:number,width?:number,height?:number,dpi?:number}):void diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/Utils.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/Utils.ets index 7f06aa4d..2d02986d 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/Utils.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/Utils.ets @@ -13,35 +13,27 @@ * limitations under the License. */ -import {Driver , ON} from '@ohos.UiTest' +import { Driver, ON } from '@ohos.UiTest'; export default class Utils { - - static async sleep(time : number) :Promise { - const result:string = await new Promise((resolve:Function)=>{ - setTimeout(()=> { - resolve('sleep ok') - },time) + static async sleep(time: number): Promise { + const result: string = await new Promise((resolve: Function) => { + setTimeout(() => { + resolve('sleep ok'); + }, time); }); console.info(result); } - static async waitAsync (ms:number):Promise{ - return new Promise((resolve)=>{ - setTimeout(resolve,ms) - }) + static async waitAsync(ms: number): Promise { + return new Promise((resolve) => { + setTimeout(resolve, ms); + }) } - static async clickComponentByKey (componentKey :string){ - let driver = Driver.create(); - let component = await driver.findComponent(ON.id(componentKey)) - await component.click(); - + static async clickComponentByKey(componentKey: string) { + let driver = Driver.create(); + let component = await driver.findComponent(ON.id(componentKey)); + await component.click(); } - - } - - - - diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/globalThis.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/globalThis.ets index 1fa18fbd..adffab9f 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/globalThis.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/globalThis.ets @@ -13,37 +13,30 @@ * limitations under the License. */ -import common from '@ohos.app.ability.common' +import common from '@ohos.app.ability.common'; // 构造单例对象 - -export class GlobalThis { - +export class GlobalThis { private constructor() { } - private static instance:GlobalThis; - - private _uiContexts = new Map (); - - public static getInstance():GlobalThis { + private static instance: GlobalThis; + private _uiContexts = new Map(); + public static getInstance(): GlobalThis { if (!GlobalThis.instance) { - GlobalThis.instance = new GlobalThis(); - + GlobalThis.instance = new GlobalThis(); } - - return GlobalThis.instance - + return GlobalThis.instance; } - getContext(key:string):common.UIAbilityContext | undefined { + getContext(key: string): common.UIAbilityContext | undefined { return this._uiContexts.get(key); } - setContext(key:string, value:common.UIAbilityContext) :void { - this._uiContexts.set(key,value); + setContext(key: string, value: common.UIAbilityContext): void { + this._uiContexts.set(key, value); } // 其他需要传递的类依次扩展 -} \ No newline at end of file +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/snapShot.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/snapShot.ets index 773f2135..db55bdce 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/snapShot.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/snapShot.ets @@ -17,17 +17,16 @@ import window from '@ohos.window'; import Logger from './Logger'; import image from '@ohos.multimedia.image'; import fs from '@ohos.file.fs'; -import common from '@ohos.app.ability.common' -import { GlobalThis } from './globalThis' -import screenshot from '@ohos.screenshot' -import { BusinessError } from '@ohos.base' +import common from '@ohos.app.ability.common'; +import { GlobalThis } from './globalThis'; +import screenshot from '@ohos.screenshot'; +import { BusinessError } from '@ohos.base'; import Settings from './Settings'; import { Driver } from '@kit.TestKit'; import { display } from '@kit.ArkUI'; const TAG: string = '[TEST]'; - class windowSnap { filePath(suffix: string, pageName ?: string) { let context: common.UIAbilityContext | undefined = GlobalThis.getInstance().getContext('context') @@ -41,46 +40,45 @@ class windowSnap { } let displayName = `IMG_${name}.${suffix}` let filePath: string = pathDir + "/" + displayName; - Logger.info(TAG, 'createFile filePath = ${filePath}') + Logger.info(TAG, 'createFile filePath = ${filePath}'); return filePath; - } async deleteFile(filePath: string) { - let exists = await fs.access(filePath) - Logger.info(TAG, `oldFile exists = ${exists}`) + let exists = await fs.access(filePath); + Logger.info(TAG, `oldFile exists = ${exists}`); if (exists) { - fs.unlinkSync(filePath) - Logger.info(TAG, `remove file succeed`) + fs.unlinkSync(filePath); + Logger.info(TAG, `remove file succeed`); } } createFile(filePath: string) { - return fs.openSync(filePath, fs.OpenMode.READ_WRITE | fs.OpenMode.CREATE) + return fs.openSync(filePath, fs.OpenMode.READ_WRITE | fs.OpenMode.CREATE); } async save(filePath: string, data: image.PixelMap) { let packOpts: image.PackingOption = { format: "image/webp", quality: 100 } - let imagePackerApi = image.createImagePacker() - let arrayBuffer = await imagePackerApi.packing(data, packOpts) + let imagePackerApi = image.createImagePacker(); + let arrayBuffer = await imagePackerApi.packing(data, packOpts); let file: fs.File | null = null; while (file == null) { - file = this.createFile(filePath) + file = this.createFile(filePath); } - let exists = await fs.access(file.path) - Logger.info(TAG, `createFile exists = ${exists}`) - let fd = file.fd - Logger.info(TAG, `createFile fd = ${fd}`) - imagePackerApi.release() + let exists = await fs.access(file.path); + Logger.info(TAG, `createFile exists = ${exists}`); + let fd = file.fd; + Logger.info(TAG, `createFile fd = ${fd}`); + imagePackerApi.release(); try { - await fs.write(fd, arrayBuffer) + await fs.write(fd, arrayBuffer); } catch (err) { - Logger.error(TAG, `write failed code is ${err.code},message is ${err.message}`) + Logger.error(TAG, `write failed code is ${err.code},message is ${err.message}`); } - fs.closeSync(file) - Logger.info(TAG, `write picture done`) + fs.closeSync(file); + Logger.info(TAG, `write picture done`); } async saveLog(content: string, name: string) { @@ -265,4 +263,4 @@ class windowSnap { } } -export default new windowSnap() \ No newline at end of file +export default new windowSnap(); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/TestAbility.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/TestAbility.ets index 5b2992dc..d082fdb6 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/TestAbility.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/TestAbility.ets @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Copyright (c) 2024 Copyright (C) 2024 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -59,13 +59,27 @@ export default class TestAbility extends UIAbility { hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onWindowStageCreate'); GlobalThis.getInstance().setContext("context", this.context) - windowStage.loadContent('testability/pages/Index', (err) => { - if (err.code) { - hilog.error(0x0000, 'testTag', 'Failed to load the content. Cause: %{public}s', JSON.stringify(err) ?? ''); - return; + let atManager = abilityAccessCtrl.createAtManager(); + let appFlags = bundleManager.BundleFlag.GET_BUNDLE_INFO_WITH_APPLICATION; + let permissionFlags = 0; + bundleManager.getBundleInfoForSelf(appFlags, (err, data) => { + if (err) { + Logger.error(TAG, 'getAllApplicationInfo failed: %{public}s', err.message); + console.error("") } - hilog.info(0x0000, 'testTag', 'Succeeded in loading the content.'); - }); + let tokenID = + data.appInfo.accessTokenId; //系统应用可以通过bundleManager.getApplicationInfo获取,普通应用可以通过bundleManager.getBundleInfoForSelf获取 + atManager.grantUserGrantedPermission(tokenID, 'ohos.permission.READ_MEDIA', permissionFlags, (err, data) => { + if (err) { + Logger.info(TAG, `grantUserGrantedPermission fail, err->${JSON.stringify(err)}`) + } + }) + atManager.grantUserGrantedPermission(tokenID, 'ohos.permission.WRITE_MEDIA', permissionFlags, (err, data) => { + if (err) { + Logger.info(TAG, `grantUserGrantedPermission fail, err->${JSON.stringify(err)}`) + } + }) + }) } onWindowStageDestroy() { diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0110.ets new file mode 100644 index 00000000..2d1cd25b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0110.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0110 { + build() { + Column() { + Button("range_string[][]") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: [ + getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.fruit')), + getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.appliance')) + ], + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0120.ets new file mode 100644 index 00000000..bfc3db88 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0120.ets @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0120 { + build() { + Column() { + Button("range_Recource") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.fruit')), + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0130.ets new file mode 100644 index 00000000..e926587f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0130.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0130 { + build() { + Column() { + Button("TextPickerRangeContent_icon_string") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: [ + { + text: '测试1', + icon: 'cat.jpg' + }, + { + text: '测试2', + icon: '2.png' + } + ], + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0140.ets new file mode 100644 index 00000000..3cc92eb7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0140.ets @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0140 { + build() { + Column() { + Button("TextPickerRangeContent_icon_Resource") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: [ + { + icon: $r('app.media.icon') + }, + { + icon: $r('app.media.icon') + } + ], + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0180.ets new file mode 100644 index 00000000..bf87b9d4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0180.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0180 { + build() { + Column() { + Button("TextCascadePickerRangeContent[]_text_Resource") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: [ + { + text: this.getString($r('app.string.fruit')), + children: [ + { text: this.getString($r('app.string.apple')) }, + { text: this.getString($r('app.string.banana')) }, + ] + }, + { + text: this.getString($r('app.string.appliance')), + children: [ + { text: this.getString($r('app.string.tv')) }, + { text: this.getString($r('app.string.computer')) }, + ] + } + ], + }) + }) + }.width('100%') + .height('100%') + } + + getString(res: Resource): string { + return getContext(this).resourceManager.getStringSync(res); + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0210.ets new file mode 100644 index 00000000..6909f925 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0210.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0210 { + build() { + Column() { + Button("selected_number[]") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: [ + getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.fruit')), + getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.appliance')), + ], + canLoop: false, + selected: [1, 2] + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0220.ets new file mode 100644 index 00000000..09bdfb8d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0220.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0220 { + build() { + Column() { + Button("value_string") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.fruit')), + value: "西瓜" + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0230.ets new file mode 100644 index 00000000..1d59e4d1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0230.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0230 { + build() { + Column() { + Button("value_string[]") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: [ + getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.fruit')), + getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.appliance')), + ], + canLoop: false, + value: ['西瓜', '洗衣机'] + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0240.ets new file mode 100644 index 00000000..12a93060 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0240.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0240 { + build() { + Column() { + Button("disappearTextStyle") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.fruit')), + disappearTextStyle: null + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0250.ets new file mode 100644 index 00000000..1654c125 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0250.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0250 { + build() { + Column() { + Button("disappearTextStyle_color_Color") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.fruit')), + disappearTextStyle: { + color: Color.Red + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0260.ets new file mode 100644 index 00000000..f7e72374 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0260.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0260 { + build() { + Column() { + Button("disappearTextStyle_color_number") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.fruit')), + disappearTextStyle: { + color: 0xFF0000 + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0270.ets new file mode 100644 index 00000000..cdb578c2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0270.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0270 { + build() { + Column() { + Button("disappearTextStyle_color_string") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.fruit')), + disappearTextStyle: { + color: 'rgb(0,128,0)' + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0280.ets new file mode 100644 index 00000000..1a0b8bde --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0280.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0280 { + build() { + Column() { + Button("disappearTextStyle_color_Resource") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.fruit')), + disappearTextStyle: { + color: getContext(this).resourceManager.getColorSync($r('app.color.color_0x800080')) + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0290.ets new file mode 100644 index 00000000..0887b7e4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0290.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0290 { + build() { + Column() { + Button("disappearTextStyle_font_size_string") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.fruit')), + disappearTextStyle: { + font: { + size: '24%' + } + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0330.ets new file mode 100644 index 00000000..ee9796d3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0330.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0330 { + build() { + Column() { + Button("disappearTextStyle_font_weight_number_0") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.fruit')), + disappearTextStyle: { + font: { + weight: 0 + } + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0520.ets new file mode 100644 index 00000000..dd57f673 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0520.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0520 { + build() { + Column() { + Button("selectedTextStyle_color_number") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + selectedTextStyle: { + color: 0xFF0000 + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0530.ets new file mode 100644 index 00000000..cef54e7d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0530.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0530 { + build() { + Column() { + Button("selectedTextStyle_color_string") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + selectedTextStyle: { + color: "rgb(0,128,0)" + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0540.ets new file mode 100644 index 00000000..67006a89 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0540.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0540 { + build() { + Column() { + Button("selectedTextStyle_color_Resource") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + selectedTextStyle: { + color: getContext(this).resourceManager.getColorSync($r('app.color.color_0x800080')) + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0550.ets new file mode 100644 index 00000000..ad6f23c6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0550.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0550 { + build() { + Column() { + Button("selectedTextStyle_font_size_string") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + selectedTextStyle: { + font: { + size: '24%' + } + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0560.ets new file mode 100644 index 00000000..bbf18605 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0560.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0560 { + build() { + Column() { + Button("selectedTextStyle_font_size_string") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + selectedTextStyle: { + font: { + size: $r('app.string.string_24') + } + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0570.ets new file mode 100644 index 00000000..1f1a38d2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0570.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0570 { + build() { + Column() { + Button("selectedTextStyle_font_weight_string") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + selectedTextStyle: { + font: { + weight: '50%' + } + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0580.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0580.ets new file mode 100644 index 00000000..b014aa68 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0580.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0580 { + build() { + Column() { + Button("selectedTextStyle_font_weight_number") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + selectedTextStyle: { + font: { + weight: 1000 + } + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0590.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0590.ets new file mode 100644 index 00000000..1b9a8cfe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0590.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0590 { + build() { + Column() { + Button("selectedTextStyle_font_weight_number_0") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + selectedTextStyle: { + font: { + weight: 0 + } + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0600.ets new file mode 100644 index 00000000..676ee9e6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0600.ets @@ -0,0 +1,45 @@ +import font from '@ohos.font' + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0600 { + aboutToAppear(): void { + font.registerFont({ + familyName: 'HarmonyOS_Sans_Thin_Italic', + familySrc: $rawfile('font/HarmonyOS_Sans_Thin_Italic.ttf') + }); + } + + build() { + Column() { + Button("selectedTextStyle_font_family_自定义字体") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + selectedTextStyle: { + font: { + family: 'arial' + } + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0610.ets new file mode 100644 index 00000000..77882310 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0610.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import font from '@ohos.font' + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0610 { + build() { + Column() { + Button("selectedTextStyle_font_family_多个字体") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + selectedTextStyle: { + font: { + family: "Arial, HarmonyOS Sans" + } + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0620.ets new file mode 100644 index 00000000..558e4750 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0620.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import font from '@ohos.font' + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0620 { + aboutToAppear(): void { + font.registerFont({ + familyName: 'HarmonyOS_Sans_Thin_Italic', + familySrc: $rawfile('font/HarmonyOS_Sans_Thin_Italic.ttf') + }); + } + + build() { + Column() { + Button("selectedTextStyle_font_family_自定义字体") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + selectedTextStyle: { + font: { + family: "HarmonyOS_Sans_Thin_Italic" + } + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0630.ets new file mode 100644 index 00000000..75f1c4f8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0630.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0630 { + build() { + Column() { + Button("defaultPickerltemHeight_异常值_1000") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + defaultPickerItemHeight: 1000 + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0640.ets new file mode 100644 index 00000000..b8d479ab --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0640.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0640 { + build() { + Column() { + Button("defaultPickerltemHeight_异常值_0px") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + defaultPickerItemHeight: '0px' + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0650.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0650.ets new file mode 100644 index 00000000..4086f515 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0650.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0650 { + build() { + Column() { + Button("defaultPickerltemHeight_异常值_-50") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + defaultPickerItemHeight: -50 + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0660.ets new file mode 100644 index 00000000..93c41351 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0660.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0660 { + build() { + Column() { + Button("backgroundColor_number") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + backgroundColor: 0xFF0000 + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0670.ets new file mode 100644 index 00000000..ec8f3de2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0670.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0670 { + build() { + Column() { + Button("backgroundColor_Color") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + backgroundColor: Color.Red + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0680.ets new file mode 100644 index 00000000..26a88d7d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0680.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0680 { + build() { + Column() { + Button("backgroundColor_string") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + backgroundColor: 'rgb(0,128,0)' + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0690.ets new file mode 100644 index 00000000..d7710785 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0690.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0690 { + build() { + Column() { + Button("backgroundColor_Resource") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + backgroundColor: getContext(this).resourceManager.getColorSync($r('app.color.color_0x800080')) + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0700.ets new file mode 100644 index 00000000..95387f60 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0700.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0700 { + build() { + Column() { + Button("backgroundBlurStyle_Thin") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + backgroundBlurStyle: BlurStyle.Thin + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0710.ets new file mode 100644 index 00000000..7db4aac8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0710.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0710 { + build() { + Column() { + Button("backgroundBlurStyle_Regular") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + backgroundBlurStyle: BlurStyle.Regular + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0720.ets new file mode 100644 index 00000000..f86f70d0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0720.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0720 { + build() { + Column() { + Button("backgroundBlurStyle_Thick") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + backgroundBlurStyle: BlurStyle.Thick + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0730.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0730.ets new file mode 100644 index 00000000..1e334fac --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0730.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0730 { + build() { + Column() { + Button("backgroundBlurStyle_BACKGROUND_THIN") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + backgroundBlurStyle: BlurStyle.BACKGROUND_THIN + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0740.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0740.ets new file mode 100644 index 00000000..d2fabf38 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0740.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0740 { + build() { + Column() { + Button("backgroundBlurStyle_BACKGROUND_REGULAR") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + backgroundBlurStyle: BlurStyle.BACKGROUND_REGULAR + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0750.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0750.ets new file mode 100644 index 00000000..a1fded9b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0750.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0750 { + build() { + Column() { + Button("backgroundBlurStyle_BACKGROUND_THICK") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + backgroundBlurStyle: BlurStyle.BACKGROUND_THICK + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0760.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0760.ets new file mode 100644 index 00000000..a9c279e8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0760.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0760 { + build() { + Column() { + Button("backgroundBlurStyle_BACKGROUND_ULTRA_THICK") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + backgroundBlurStyle: BlurStyle.BACKGROUND_ULTRA_THICK + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0770.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0770.ets new file mode 100644 index 00000000..ebdf2ca3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0770.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0770 { + build() { + Column() { + Button("backgroundBlurStyle_NONE") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + backgroundBlurStyle: BlurStyle.NONE + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0780.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0780.ets new file mode 100644 index 00000000..a79ffcd3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0780.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0780 { + build() { + Column() { + Button("backgroundBlurStyle_NONE") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + backgroundBlurStyle: BlurStyle.NONE + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0800.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0800.ets new file mode 100644 index 00000000..5368dc62 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0800.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0800 { + build() { + Column() { + Button("backgroundBlurStyle_COMPONENT_REGULAR") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + backgroundBlurStyle: BlurStyle.COMPONENT_REGULAR + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0810.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0810.ets new file mode 100644 index 00000000..fe52b4d3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0810.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog0810 { + build() { + Column() { + Button("backgroundBlurStyle_COMPONENT_THICK") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + backgroundBlurStyle: BlurStyle.COMPONENT_THICK + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1010.ets new file mode 100644 index 00000000..f311e69a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1010.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog1010 { + build() { + Column() { + Button("maskRect_x:NULL") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + maskRect: { + x: null + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1020.ets new file mode 100644 index 00000000..53cbcbe7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1020.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog1020 { + build() { + Column() { + Button("maskRect_string_y60%") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + maskRect: { + y: '50%' + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1030.ets new file mode 100644 index 00000000..1541b3e4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1030.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog1030 { + build() { + Column() { + Button("maskRect_string_y") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + maskRect: { + y: '' + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1040.ets new file mode 100644 index 00000000..88db6b42 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1040.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog1040 { + build() { + Column() { + Button("maskRect_number_y:-100") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + maskRect: { + y: -100 + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1050.ets new file mode 100644 index 00000000..91738704 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1050.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog1050 { + build() { + Column() { + Button("maskRect_Resource_y:$r(200px)") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + maskRect: { + y: $r('app.string.string_200px') + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1060.ets new file mode 100644 index 00000000..75d5ef60 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1060.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog1060 { + build() { + Column() { + Button("maskRect_y:Undefined") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + maskRect: { + y: undefined + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1070.ets new file mode 100644 index 00000000..ebdbe35c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1070.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog1070 { + build() { + Column() { + Button("maskRect_string_width:40%") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + maskRect: { + width: '40%' + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1080.ets new file mode 100644 index 00000000..7994f879 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1080.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog1080 { + build() { + Column() { + Button("maskRect_number_width:200") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + maskRect: { + width: 200 + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1090.ets new file mode 100644 index 00000000..a35e578d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1090.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog1090 { + build() { + Column() { + Button("maskRect_string_width:$r(300px)") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + maskRect: { + width: getContext(this).resourceManager.getStringSync($r('app.string.string_300px')) + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1100.ets new file mode 100644 index 00000000..9cd85c87 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1100.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog1100 { + build() { + Column() { + Button("maskRect_string_width:-200") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + maskRect: { + width: -200 + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1110.ets new file mode 100644 index 00000000..1ca66186 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1110.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog1110 { + build() { + Column() { + Button("maskRect_string_height:200px") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + maskRect: { + height: '200px' + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1120.ets new file mode 100644 index 00000000..bd13ff49 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1120.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog1120 { + build() { + Column() { + Button("maskRect_number_height:200") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + maskRect: { + height: 200 + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1130.ets new file mode 100644 index 00000000..863605ee --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1130.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog1130 { + build() { + Column() { + Button("maskRect_resource_height:$r(60%)") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + maskRect: { + height: getContext(this).resourceManager.getStringSync($r('app.string.string_60')) + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1140.ets new file mode 100644 index 00000000..510db3fc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1140.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct ComponentFunctionSpecialComponentsDialogTextPickerDialog1140 { + build() { + Column() { + Button("maskRect_string_height:-60%") + .id("show_dialog") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test4'], + maskRect: { + height: '-60%' + } + }) + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIButton/UIComponentUIsupportColor0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIButton/UIComponentUIsupportColor0130.ets new file mode 100644 index 00000000..4eb19269 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIButton/UIComponentUIsupportColor0130.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentUIsupportColor0130 { + build() { + Column() { + // 设置组件为深色模式 + WithTheme({ colorMode: ThemeColorMode.DARK }) { + Column() { + Button('WithTheme 布局高度 30%') + .margin(20) + } + .height('30%') + .justifyContent(FlexAlign.Center) + .backgroundColor($r('sys.color.background_primary')) + } + } + .width('100%') + .height('100%') + .expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.TOP, SafeAreaEdge.END, SafeAreaEdge.BOTTOM, SafeAreaEdge.START]) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/ModifierConfig.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/ModifierConfig.ets new file mode 100644 index 00000000..ce58cdb0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/ModifierConfig.ets @@ -0,0 +1,88 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +//定义要测试的属性以及类型 +export interface TextPickerTestAttributes { + CanLoop?: boolean + DisappearTextStyle?: PickerTextStyle + TextStyle?: PickerTextStyle + SelectedTextStyle?: PickerTextStyle + SelectedIndex?: (number | number[]) + DefaultPickerItemHeight?: (string | number) +} + +export const Range:string[] | string[][] | Resource | TextPickerRangeContent[] | TextCascadePickerRangeContent[] = ['apple1', 'orange2', 'peach3', 'grape4'] + +//初始化测试数据 +export const TextPickerTestData: TextPickerTestAttributes[] = [ + { + CanLoop: true, + DefaultPickerItemHeight: 10, + DisappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + SelectedTextStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + TextStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + SelectedIndex: 1 + }, + { + CanLoop: false, + DefaultPickerItemHeight: 0, + DisappearTextStyle: { color: Color.Blue, font: { size: 15, weight: FontWeight.Lighter } }, + SelectedTextStyle: { color: Color.Green }, + TextStyle: { color: Color.Blue, font: { size: 15, weight: FontWeight.Lighter } }, + SelectedIndex: 2 + } +] + +//定义要测试的属性以及类型 +export interface TimePickerTestAttributes { + DisappearTextStyle?: PickerTextStyle + TextStyle?: PickerTextStyle + SelectedTextStyle?: PickerTextStyle + UseMilitaryTime?: boolean +} + +//初始化测试数据 +export const TimePickerTestData: TimePickerTestAttributes[] = [ + { + UseMilitaryTime: true, + DisappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + SelectedTextStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + TextStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + }, + { + UseMilitaryTime: false, + DisappearTextStyle: { color: Color.Blue, font: { size: 15, weight: FontWeight.Lighter } }, + SelectedTextStyle: { color: Color.Green }, + TextStyle: { color: Color.Blue, font: { size: 15, weight: FontWeight.Lighter } }, + } +] + +//定义要测试的属性以及类型 +export interface ToggleTestAttributes { + SelectedColor?: (ResourceColor | undefined) + SwitchPointColor?: (ResourceColor | undefined) +} + +//初始化测试数据 +export const ToggleTestData: ToggleTestAttributes[] = [ + { + SelectedColor: 0xff00ff00, + SwitchPointColor: Color.Black + }, + { + SelectedColor: "#ff0000ff", + SwitchPointColor: Color.Green + } +] diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0460.ets new file mode 100644 index 00000000..9581900f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0460.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { TextPickerModifier } from '@kit.ArkUI' +import { Range, TextPickerTestData } from './ModifierConfig'; + +@Entry +@Component +struct UIComponentButtonCommonButton0460 { + + @State modifier: TextPickerModifier | undefined = undefined; + + build() { + Column() { + Button("切换配置1") + .id("button1") + .margin(20) + .onClick(() => { + const attr = TextPickerTestData[0]; + this.modifier = new TextPickerModifier() + .defaultPickerItemHeight(attr.DefaultPickerItemHeight) + .disappearTextStyle(attr.DisappearTextStyle) + .canLoop(attr.CanLoop) + .selectedTextStyle(attr.SelectedTextStyle) + .textStyle(attr.TextStyle) + .selectedIndex(attr.SelectedIndex) + }) + TextPicker({ + range: Range + }).attributeModifier(this.modifier) + + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0470.ets new file mode 100644 index 00000000..4295ebe5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0470.ets @@ -0,0 +1,47 @@ + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { TextPickerModifier } from '@kit.ArkUI' +import { Range, TextPickerTestData } from './ModifierConfig'; + +@Entry +@Component +struct UIComponentButtonCommonButton0470 { + + @State modifier: TextPickerModifier | undefined = undefined; + + build() { + Column() { + Button("切换配置2") + .id("button1") + .margin(20) + .onClick(() => { + const attr = TextPickerTestData[1]; + this.modifier = new TextPickerModifier() + .defaultPickerItemHeight(attr.DefaultPickerItemHeight) + .disappearTextStyle(attr.DisappearTextStyle) + .canLoop(attr.CanLoop) + .selectedTextStyle(attr.SelectedTextStyle) + .textStyle(attr.TextStyle) + .selectedIndex(attr.SelectedIndex) + }) + TextPicker({ + range: Range + }).attributeModifier(this.modifier) + + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0480.ets new file mode 100644 index 00000000..c4edcc8a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0480.ets @@ -0,0 +1,43 @@ + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { TimePickerModifier } from '@kit.ArkUI' +import { TimePickerTestData } from './ModifierConfig'; + +@Entry +@Component +struct UIComponentButtonCommonButton0480 { + + @State modifier: TimePickerModifier | undefined = undefined; + + build() { + Column() { + Button("切换配置1") + .id("button1") + .margin(20) + .onClick(() => { + const attr = TimePickerTestData[0]; + this.modifier = new TimePickerModifier() + .useMilitaryTime(attr.UseMilitaryTime) + .disappearTextStyle(attr.DisappearTextStyle) + .selectedTextStyle(attr.SelectedTextStyle) + .textStyle(attr.TextStyle) + }) + TimePicker().attributeModifier(this.modifier) + + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0490.ets new file mode 100644 index 00000000..bcec6dbd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0490.ets @@ -0,0 +1,43 @@ + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { TimePickerModifier } from '@kit.ArkUI' +import { TimePickerTestData } from './ModifierConfig'; + +@Entry +@Component +struct UIComponentButtonCommonButton0490 { + + @State modifier: TimePickerModifier | undefined = undefined; + + build() { + Column() { + Button("切换配置2") + .id("button1") + .margin(20) + .onClick(() => { + const attr = TimePickerTestData[1]; + this.modifier = new TimePickerModifier() + .useMilitaryTime(attr.UseMilitaryTime) + .disappearTextStyle(attr.DisappearTextStyle) + .selectedTextStyle(attr.SelectedTextStyle) + .textStyle(attr.TextStyle) + }) + TimePicker().attributeModifier(this.modifier) + + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0500.ets new file mode 100644 index 00000000..4c8c5317 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0500.ets @@ -0,0 +1,52 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant' +import { Color } from '@ohos.graphics.scene' + +interface TestAttributes { + SelectedColor?: (ResourceColor | undefined) + SwitchPointColor?: (ResourceColor | undefined) +} + +@Entry +@Component +struct UIComponentButtonStyle0100 { + @State styleIndex: number = 0; + + testData: TestAttributes[] = [ + { + SelectedColor: 0xff00ff00, + SwitchPointColor: Color.Black + }, + { + SelectedColor: "#ff0000ff", + SwitchPointColor: Color.Green + } +] + + build() { + Column() { + Button('Modify') + .onClick(() => { + this.styleIndex = 1; + }) + .id('showButton') + Toggle({ type: ToggleType.Switch, isOn: true }) + .selectedColor(this.testData[this.styleIndex].SelectedColor) + .switchPointColor(this.testData[this.styleIndex].SwitchPointColor) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0510.ets new file mode 100644 index 00000000..124c3a3e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0510.ets @@ -0,0 +1,40 @@ +import { ToggleModifier } from '@kit.ArkUI' +import { ToggleTestData } from './ModifierConfig'; + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonCommonButton0510 { + + @State modifier: ToggleModifier | undefined = undefined; + + build() { + Column() { + Button('切换配置2') + .id('button1') + .onClick(() => { + const attr = ToggleTestData[1]; + this.modifier = new ToggleModifier() + .selectedColor(attr.SelectedColor) + .switchPointColor(attr.SwitchPointColor) + }) + Toggle({ + type: ToggleType.Switch + }).attributeModifier(this.modifier) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle006.ets new file mode 100644 index 00000000..ab02e078 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle006.ets @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { ConfigurationConstant } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentButtonRadioStyle006 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column() { + Row() { + Toggle({ type: ToggleType.Switch }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle008.ets new file mode 100644 index 00000000..c7a8910d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle008.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { ConfigurationConstant } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentButtonRadioStyle008 { + @State ToggleUnselectedColor: ResourceColor = '' + + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column() { + Button('十六进制数值') + .onClick(() => { + this.ToggleUnselectedColor = '#BBFFFF' + }) + .id('Button') + Row() { + Toggle({ type: ToggleType.Switch }) + .switchStyle({ unselectedColor: this.ToggleUnselectedColor }) + } + .justifyContent(FlexAlign.Center) + .width('100%') + .height('50%') + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle009.ets new file mode 100644 index 00000000..257f8398 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle009.ets @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { ConfigurationConstant } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentButtonRadioStyle009 { + @State ToggleUnselectedColor: ResourceColor = '' + @State UnselectedColo: boolean = false + + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column() { + Button('unselectedColor:字符串') + .onClick(() => { + this.UnselectedColo = !this.UnselectedColo + this.ToggleUnselectedColor = this.UnselectedColo ? 'rgb(139,0,0)' : 'rgba(34, 188, 30, 1.00)' + }) + .id('Button') + Row() { + Toggle({ type: ToggleType.Switch }) + .switchStyle({ unselectedColor: this.ToggleUnselectedColor }) + } + .justifyContent(FlexAlign.Center) + .width('100%') + .height('50%') + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle010.ets new file mode 100644 index 00000000..cebb74ce --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle010.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { ConfigurationConstant } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentButtonRadioStyle010 { + @State ToggleUnselectedColor: ResourceColor = '' + + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column() { + Button('unselectedColor:非法值型') + .onClick(() => { + this.ToggleUnselectedColor = 'abc1234' + }) + .id('Button') + Row() { + Toggle({ type: ToggleType.Switch }) + .switchStyle({ unselectedColor: this.ToggleUnselectedColor }) + } + .justifyContent(FlexAlign.Center) + .width('100%') + .height('50%') + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle012.ets new file mode 100644 index 00000000..4fa845fd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle012.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { ConfigurationConstant } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentButtonRadioStyle012 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column() { + Row() { + Toggle({ type: ToggleType.Switch }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle014.ets new file mode 100644 index 00000000..73ac83cb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle014.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentButtonRadioStyle014 { + build() { + Row() { + Column() { + Toggle({ type: ToggleType.Switch }) + .switchStyle({ + trackBorderRadius: $r("app.integer.negative5") + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle015.ets new file mode 100644 index 00000000..5024f6aa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle015.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentButtonRadioStyle015 { + build() { + Row() { + Column() { + Toggle({ type: ToggleType.Switch }) + .switchStyle({ + trackBorderRadius: -5 + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle016.ets new file mode 100644 index 00000000..cc7780ae --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle016.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { ConfigurationConstant } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentButtonRadioStyle016 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column() { + Row() { + Toggle({ type: ToggleType.Switch }) + .switchStyle({ + trackBorderRadius: 10 + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle017.ets new file mode 100644 index 00000000..da22df00 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle017.ets @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { ConfigurationConstant } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentButtonRadioStyle017 { + @State i: number = 0 + TogglePointRadius: number[] = [-1, 0, 5, 5.5, 50, -1, 500] + + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column() { + Button('pointRadius:number') + .onClick(() => { + this.i++ + }) + .id('Button') + Row() { + Toggle({ type: ToggleType.Switch }) + .switchStyle({ + pointRadius: this.TogglePointRadius[this.i] + }) + } + .justifyContent(FlexAlign.Center) + .width('100%') + .height('50%') + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle018.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle018.ets new file mode 100644 index 00000000..b527bbef --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle018.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentButtonRadioStyle018 { + build() { + Row() { + Column() { + Toggle({ type: ToggleType.Switch }) + .switchStyle({ + pointRadius: $r("app.integer.negative5") + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle019.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle019.ets new file mode 100644 index 00000000..5535061a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle019.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentButtonRadioStyle019 { + build() { + Row() { + Column() { + Toggle({ type: ToggleType.Switch }) + .switchStyle({ + pointRadius: -5 + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle020.ets new file mode 100644 index 00000000..bdd6a76f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle020.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { ConfigurationConstant } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentButtonRadioStyle020 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column() { + Row() { + Toggle({ type: ToggleType.Switch }) + .switchStyle({ + trackBorderRadius: 9 + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle021.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle021.ets new file mode 100644 index 00000000..54679645 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle021.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { ConfigurationConstant } from '@kit.AbilityKit'; + + +@Entry +@Component +struct UIComponentButtonRadioStyle021 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column() { + Row() { + Toggle({ type: ToggleType.Checkbox }) + .switchStyle({ + unselectedColor: null, + pointRadius: null, + pointColor: null, + trackBorderRadius: null + }) + } + } + .width('100%') + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle022.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle022.ets new file mode 100644 index 00000000..d0355527 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle022.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { ConfigurationConstant } from '@kit.AbilityKit'; + + +@Entry +@Component +struct UIComponentButtonRadioStyle023 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column() { + Row() { + Toggle({ type: ToggleType.Button }) { + Text('Toggle Button') + } + .switchStyle({ + unselectedColor: null, + pointRadius: null, + pointColor: null, + trackBorderRadius: null + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle023.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle023.ets new file mode 100644 index 00000000..c41d5346 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle023.ets @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { ConfigurationConstant } from '@kit.AbilityKit' + +@Entry +@Component +struct UIComponentButtonRadioStyle013 { + @State i: number = 0 + ToggleWidth: number[] = [-1, 36, 20, 20, 30.5, 0, -10, 1800] + ToggleHeight: number[] = [-1, 20, 20, 60, 18.3, 0, -20, 700] + + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column() { + Button('宽高按钮').id('Button').onClick(() => { + this.i++ + }) + + Row() { + Toggle({ type: ToggleType.Switch }) + .width(this.ToggleWidth[this.i]) + .height(this.ToggleHeight[this.i]) + } + .justifyContent(FlexAlign.Center) + .width('100%') + .height('50%') + } + .width('100%') + .height('100%') + + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle024.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle024.ets new file mode 100644 index 00000000..135f5f33 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle024.ets @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { ConfigurationConstant } from '@kit.AbilityKit' + +@Entry +@Component +struct UIComponentButtonRadioStyle024 { + @State ToggleWidth: number = -1 + @State ToggleHeight: number = -1 + @State TogglePointRadius: number = -1 + + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column() { + Button('设置数值') + .onClick(() => { + this.ToggleWidth = 36 + this.ToggleHeight = 20 + this.TogglePointRadius = 10 + }) + .id('Button') + Row() { + Toggle({ type: ToggleType.Switch }) + .switchStyle({ pointRadius: this.TogglePointRadius }) + .width(this.ToggleWidth) + .height(this.ToggleHeight) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle025.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle025.ets new file mode 100644 index 00000000..eab9e54a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle025.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { ConfigurationConstant } from '@kit.AbilityKit' + +@Entry +@Component +struct UIComponentButtonRadioStyle025 { + @State ToggleWidth: number = -1 + @State ToggleHeight: number = -1 + @State TogglePointRadius: number = -1 + + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column() { + Button('设置数值') + .onClick(() => { + this.ToggleWidth = 36 + this.ToggleHeight = 20 + this.TogglePointRadius = 20 + }) + .id('Button') + Row() { + Toggle({ type: ToggleType.Switch }) + .switchStyle({ pointRadius: this.TogglePointRadius }) + .width(this.ToggleWidth) + .height(this.ToggleHeight) + } + .justifyContent(FlexAlign.Center) + .width('100%') + .height('50%') + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle026.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle026.ets new file mode 100644 index 00000000..e32d8c32 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle026.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { ConfigurationConstant } from '@kit.AbilityKit' + +@Entry +@Component +struct UIComponentButtonRadioStyle026 { + @State ToggleWidth: number = -1 + @State ToggleHeight: number = -1 + @State TogglePointRadius: number = -1 + + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column() { + Button('设置数值').id('Button').onClick(() => { + this.ToggleWidth = 36 + this.ToggleHeight = 20 + this.TogglePointRadius = 40 + }) + + Row() { + Toggle({ type: ToggleType.Switch }) + .switchStyle({ pointRadius: this.TogglePointRadius }) + .width(this.ToggleWidth) + .height(this.ToggleHeight) + } + .justifyContent(FlexAlign.Center) + .width('100%') + .height('50%') + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0020.ets index 8f94a66c..a5001f45 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0020.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0020.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0020 { - build() { Row() { Column() { @@ -29,7 +28,7 @@ struct UIComponentButtonSelectControlSize0020 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0030.ets index 677f4aca..fe009c2d 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0030.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0030.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0030 { - build() { Row() { Column() { @@ -30,7 +29,7 @@ struct UIComponentButtonSelectControlSize0030 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0040.ets index 4e6852ff..3add37e2 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0040.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0040.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0040 { - build() { Row() { Column() { @@ -30,7 +29,7 @@ struct UIComponentButtonSelectControlSize0040 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0050.ets index 8af8a70b..bb2bd046 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0050.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0050.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0050 { - build() { Row() { Column() { @@ -39,7 +38,7 @@ struct UIComponentButtonSelectControlSize0050 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0060.ets index 920a0e92..f173b1b8 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0060.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0060.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0060 { - build() { Row() { Column() { @@ -32,7 +31,7 @@ struct UIComponentButtonSelectControlSize0060 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0070.ets index ab77b0dd..7766c5c0 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0070.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0070.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0070 { - build() { Row() { Column() { @@ -29,7 +28,7 @@ struct UIComponentButtonSelectControlSize0070 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0080.ets index e6b928aa..854151e1 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0080.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0080.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0080 { - build() { Row() { Column() { @@ -28,7 +27,7 @@ struct UIComponentButtonSelectControlSize0080 { right: BorderStyle.Dashed, top: BorderStyle.Dashed, bottom: BorderStyle.Dashed - }) + }) } .width('100%') .height('100%') @@ -36,7 +35,7 @@ struct UIComponentButtonSelectControlSize0080 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0090.ets index 662f00e9..e1d108fc 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0090.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0090.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0090 { - build() { Row() { Column() { @@ -28,7 +27,7 @@ struct UIComponentButtonSelectControlSize0090 { right: BorderStyle.Solid, top: BorderStyle.Dotted, bottom: BorderStyle.Dashed - }) + }) } .width('100%') .height('100%') @@ -36,7 +35,7 @@ struct UIComponentButtonSelectControlSize0090 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0100.ets index 97e2d6db..134a6fbe 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0100.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0100.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0100 { - build() { Row() { Column() { @@ -34,7 +33,7 @@ struct UIComponentButtonSelectControlSize0100 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0110.ets index 3f2d24c2..7b2fe27d 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0110.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0110.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0110 { - build() { Row() { Column() { @@ -30,7 +29,7 @@ struct UIComponentButtonSelectControlSize0110 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0120.ets index b27e5fc6..373fe485 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0120.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0120.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0120 { - build() { Row() { Column() { @@ -30,7 +29,7 @@ struct UIComponentButtonSelectControlSize0120 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0130.ets index 781645c0..ddd0e16e 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0130.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0130.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0130 { - build() { Row() { Column() { @@ -30,7 +29,7 @@ struct UIComponentButtonSelectControlSize0130 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0140.ets index 58b8dfe9..b28d626e 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0140.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0140.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0140 { - build() { Row() { Column() { @@ -33,7 +32,7 @@ struct UIComponentButtonSelectControlSize0140 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0150.ets index 52c5fbc8..b0eded58 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0150.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0150.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0150 { - build() { Row() { Column() { @@ -33,7 +32,7 @@ struct UIComponentButtonSelectControlSize0150 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0160.ets index 1a976f06..b4fe74e6 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0160.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0160.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0160 { - build() { Row() { Column() { @@ -32,7 +31,7 @@ struct UIComponentButtonSelectControlSize0160 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0170.ets index 333f4241..547b028b 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0170.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0170.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0170 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -31,7 +32,7 @@ struct UIComponentButtonSelectControlSize0170 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0180.ets index 8f02a8d1..274457a9 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0180.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0180.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0180 { - build() { Row() { Column() { @@ -39,7 +38,7 @@ struct UIComponentButtonSelectControlSize0180 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0190.ets index a9dcdb24..f0b048c8 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0190.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0190.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0190 { - build() { Row() { Column() { @@ -30,7 +29,7 @@ struct UIComponentButtonSelectControlSize0190 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0200.ets index 35604723..6624d807 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0200.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0200.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0200 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -35,7 +36,7 @@ struct UIComponentButtonSelectControlSize0200 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0210.ets index 7552f1a5..e3837246 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0210.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0210.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0210 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -35,7 +36,7 @@ struct UIComponentButtonSelectControlSize0210 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0220.ets index 90fc8ed0..aba553a5 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0220.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0220.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0220 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -34,7 +35,7 @@ struct UIComponentButtonSelectControlSize0220 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0230.ets index 00a103d3..36832ffc 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0230.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0230.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0230 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -31,7 +32,7 @@ struct UIComponentButtonSelectControlSize0230 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0240.ets index 376f2a5c..994acaef 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0240.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0240.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0240 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -31,7 +32,7 @@ struct UIComponentButtonSelectControlSize0240 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0250.ets index e7a5a7eb..218366e3 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0250.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0250.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0250 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -31,7 +32,7 @@ struct UIComponentButtonSelectControlSize0250 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0260.ets index d032ff47..d3b52297 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0260.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0260.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0260 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -31,7 +32,7 @@ struct UIComponentButtonSelectControlSize0260 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0270.ets index 6bd7ffd2..6474279a 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0270.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0270.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0270 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -47,7 +48,7 @@ struct UIComponentButtonSelectControlSize0270 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0280.ets index 1eab9672..2bc0d291 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0280.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0280.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0280 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -31,7 +32,7 @@ struct UIComponentButtonSelectControlSize0280 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0290.ets index 13d07c23..97589835 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0290.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0290.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0290 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -34,7 +35,7 @@ struct UIComponentButtonSelectControlSize0290 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0300.ets index e993e25a..f9e3baa5 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0300.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0300.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0300 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -30,7 +31,7 @@ struct UIComponentButtonSelectControlSize0300 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0310.ets index e87e90e8..635cb18f 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0310.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0310.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0310 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -31,7 +32,7 @@ struct UIComponentButtonSelectControlSize0310 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0320.ets index c248a063..ab9da902 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0320.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0320.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0320 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -31,7 +32,7 @@ struct UIComponentButtonSelectControlSize0320 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0330.ets index e4ccbe6b..ed7bef3e 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0330.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0330.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0330 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -31,7 +32,7 @@ struct UIComponentButtonSelectControlSize0330 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0340.ets index b7345220..d57e0e58 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0340.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0340.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0340 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -31,7 +32,7 @@ struct UIComponentButtonSelectControlSize0340 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0350.ets index e99d7b4c..bad34e32 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0350.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0350.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0350 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -47,7 +48,7 @@ struct UIComponentButtonSelectControlSize0350 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0360.ets index 4c53312e..b6ef6557 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0360.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0360.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0360 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -35,7 +36,7 @@ struct UIComponentButtonSelectControlSize0360 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0370.ets index 3d3d527e..bd3fc889 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0370.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0370.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0370 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -34,7 +35,7 @@ struct UIComponentButtonSelectControlSize0370 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0380.ets index 0b1d4552..a4745b1e 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0380.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0380.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0380 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -30,7 +31,7 @@ struct UIComponentButtonSelectControlSize0380 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0390.ets index 0f726cb2..6feb8aae 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0390.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0390.ets @@ -21,7 +21,12 @@ struct UIComponentButtonSelectControlSize0390 { Column() { Select(this.getOptions()) .controlSize(ControlSize.NORMAL) - .padding({ top: 8, left: 16, bottom:8, right: 16 }) + .padding({ + top: 8, + left: 16, + bottom: 8, + right: 16 + }) } .width('100%') .height('100%') @@ -29,7 +34,7 @@ struct UIComponentButtonSelectControlSize0390 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0400.ets index 67bebde8..5fd5760a 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0400.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0400.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0400 { - build() { Row() { Column() { @@ -30,7 +29,7 @@ struct UIComponentButtonSelectControlSize0400 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0410.ets index 720f69da..082ca282 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0410.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0410.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0410 { - build() { Row() { Column() { @@ -30,7 +29,7 @@ struct UIComponentButtonSelectControlSize0410 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0420.ets index 5af0aab2..f5ca46e2 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0420.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0420.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0420 { - build() { Row() { Column() { @@ -24,7 +23,12 @@ struct UIComponentButtonSelectControlSize0420 { .controlSize(ControlSize.NORMAL) Select(this.getOptions()) .controlSize(ControlSize.NORMAL) - .padding({top: 8, left: 16, bottom: 8, right: 16}) + .padding({ + top: 8, + left: 16, + bottom: 8, + right: 16 + }) } .width('100%') .height('100%') @@ -32,7 +36,7 @@ struct UIComponentButtonSelectControlSize0420 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0430.ets index 6f390512..2f694ad2 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0430.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0430.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0430 { - build() { Row() { Column() { @@ -32,7 +31,7 @@ struct UIComponentButtonSelectControlSize0430 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0450.ets index 542dacf9..0425d585 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0450.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0450.ets @@ -18,6 +18,7 @@ struct UIComponentButtonSelectControlSize0450 { @State bgColor: ResourceColor = Color.Blue @State text: string = "" + build() { Row() { Column() { @@ -47,7 +48,7 @@ struct UIComponentButtonSelectControlSize0450 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0470.ets index c8d6b399..c92df42c 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0470.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0470.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0470 { - build() { Row() { Column() { @@ -29,7 +28,7 @@ struct UIComponentButtonSelectControlSize0470 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0480.ets index 146e5bd6..7ed7e83a 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0480.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0480.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0480 { - build() { Row() { Column() { @@ -30,7 +29,7 @@ struct UIComponentButtonSelectControlSize0480 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0490.ets index edf8bc77..c19928aa 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0490.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0490.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0490 { - build() { Row() { Column() { @@ -30,7 +29,7 @@ struct UIComponentButtonSelectControlSize0490 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0500.ets index 0c3c6c3e..ebaee59b 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0500.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0500.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0500 { - build() { Row() { Column() { @@ -39,7 +38,7 @@ struct UIComponentButtonSelectControlSize0500 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0510.ets index 39954515..d73ec1e2 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0510.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0510.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0510 { - build() { Row() { Column() { @@ -32,7 +31,7 @@ struct UIComponentButtonSelectControlSize0510 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0520.ets index af78aa90..03efee6e 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0520.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0520.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0520 { - build() { Row() { Column() { @@ -28,7 +27,7 @@ struct UIComponentButtonSelectControlSize0520 { right: BorderStyle.Dotted, top: BorderStyle.Dotted, bottom: BorderStyle.Dotted - }) + }) } .width('100%') .height('100%') @@ -36,7 +35,7 @@ struct UIComponentButtonSelectControlSize0520 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0530.ets index bfcffd51..a533bfef 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0530.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0530.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0530 { - build() { Row() { Column() { @@ -28,7 +27,7 @@ struct UIComponentButtonSelectControlSize0530 { right: BorderStyle.Dotted, top: BorderStyle.Solid, bottom: BorderStyle.Dashed - }) + }) } .width('100%') .height('100%') @@ -36,7 +35,7 @@ struct UIComponentButtonSelectControlSize0530 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0540.ets index 756265a7..b77199a3 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0540.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0540.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0540 { - build() { Row() { Column() { @@ -34,7 +33,7 @@ struct UIComponentButtonSelectControlSize0540 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0550.ets index 3676d33d..4e788197 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0550.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0550.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0550 { - build() { Row() { Column() { @@ -29,7 +28,7 @@ struct UIComponentButtonSelectControlSize0550 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0560.ets index 3dc41d0f..26d30739 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0560.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0560.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0560 { - build() { Row() { Column() { @@ -30,7 +29,7 @@ struct UIComponentButtonSelectControlSize0560 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0570.ets index f640cdd5..ba35a0d9 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0570.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0570.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0570 { - build() { Row() { Column() { @@ -30,7 +29,7 @@ struct UIComponentButtonSelectControlSize0570 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0580.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0580.ets index 485aa596..a48f01a0 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0580.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0580.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0580 { - build() { Row() { Column() { @@ -33,7 +32,7 @@ struct UIComponentButtonSelectControlSize0580 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0590.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0590.ets index 81db79de..d8633618 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0590.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0590.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0590 { - build() { Row() { Column() { @@ -33,7 +32,7 @@ struct UIComponentButtonSelectControlSize0590 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0600.ets index 2721958e..545fddc0 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0600.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0600.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0600 { - build() { Row() { Column() { @@ -32,7 +31,7 @@ struct UIComponentButtonSelectControlSize0600 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0610.ets index 0ef6660a..f0ac51fc 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0610.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0610.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0610 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -31,7 +32,7 @@ struct UIComponentButtonSelectControlSize0610 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0620.ets index 85a2818f..a08a0d91 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0620.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0620.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0620 { - build() { Row() { Column() { @@ -39,7 +38,7 @@ struct UIComponentButtonSelectControlSize0620 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0630.ets index 1b59b7ba..e2a0abd2 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0630.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0630.ets @@ -16,7 +16,6 @@ @Entry @Component struct UIComponentButtonSelectControlSize0630 { - build() { Row() { Column() { @@ -30,7 +29,7 @@ struct UIComponentButtonSelectControlSize0630 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0640.ets index 5fd234ce..6d584483 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0640.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0640.ets @@ -17,17 +17,18 @@ @Component struct UIComponentButtonSelectControlSize0640 { @State text: string = "TTTTT" + build() { Row() { Column() { Select(this.getOptions()) .controlSize(ControlSize.SMALL) .value(this.text) - .font({ weight: -10}) + .font({ weight: -10 }) Select(this.getOptions()) .controlSize(ControlSize.SMALL) .value(this.text) - .font({ weight: '10%'}) + .font({ weight: '10%' }) } .width('100%') .height('100%') @@ -35,7 +36,7 @@ struct UIComponentButtonSelectControlSize0640 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0650.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0650.ets index b3d05edb..8919bbbd 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0650.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0650.ets @@ -17,21 +17,22 @@ @Component struct UIComponentButtonSelectControlSize0650 { @State text: string = "TTTTT" + build() { Row() { Column() { Select(this.getOptions()) .controlSize(ControlSize.SMALL) .value(this.text) - .font({ weight: null}) + .font({ weight: null }) Select(this.getOptions()) .controlSize(ControlSize.SMALL) .value(this.text) - .font({ weight: undefined}) + .font({ weight: undefined }) Select(this.getOptions()) .controlSize(ControlSize.SMALL) .value(this.text) - .font({ weight: FontWeight.Medium}) + .font({ weight: FontWeight.Medium }) } .width('100%') .height('100%') @@ -39,7 +40,7 @@ struct UIComponentButtonSelectControlSize0650 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0660.ets index 31bf89b8..e5cfd39f 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0660.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0660.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0660 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -26,7 +27,7 @@ struct UIComponentButtonSelectControlSize0660 { Select(this.getOptions()) .controlSize(ControlSize.SMALL) .value(this.text) - .font({ size: 16, weight: FontWeight.Medium}) + .font({ size: 16, weight: FontWeight.Medium }) } .width('100%') .height('100%') @@ -34,7 +35,7 @@ struct UIComponentButtonSelectControlSize0660 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0670.ets index ab64d011..ae3341bd 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0670.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0670.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0670 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -31,7 +32,7 @@ struct UIComponentButtonSelectControlSize0670 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0680.ets index 474a2c6a..b664ea90 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0680.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0680.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0680 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -31,7 +32,7 @@ struct UIComponentButtonSelectControlSize0680 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0690.ets index 54c714ca..92ab6183 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0690.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0690.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0690 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -31,7 +32,7 @@ struct UIComponentButtonSelectControlSize0690 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0700.ets index ff167961..9a46a867 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0700.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0700.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0700 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -31,7 +32,7 @@ struct UIComponentButtonSelectControlSize0700 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0710.ets index b9615010..35487d09 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0710.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0710.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0710 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -47,7 +48,7 @@ struct UIComponentButtonSelectControlSize0710 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0720.ets index 9d06cad3..4f558f1d 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0720.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0720.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0720 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -31,7 +32,7 @@ struct UIComponentButtonSelectControlSize0720 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0730.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0730.ets index a627db05..a9828795 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0730.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0730.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0730 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -34,7 +35,7 @@ struct UIComponentButtonSelectControlSize0730 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0740.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0740.ets index c4e55045..cf67bd41 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0740.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0740.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0740 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -31,7 +32,7 @@ struct UIComponentButtonSelectControlSize0740 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0750.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0750.ets index 18d4d90a..66a241c2 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0750.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0750.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0750 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -31,7 +32,7 @@ struct UIComponentButtonSelectControlSize0750 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0760.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0760.ets index e9cb80fa..bcc583e8 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0760.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0760.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0760 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -31,7 +32,7 @@ struct UIComponentButtonSelectControlSize0760 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0770.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0770.ets index 66f2d698..6eb6b328 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0770.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0770.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0770 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -31,7 +32,7 @@ struct UIComponentButtonSelectControlSize0770 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0780.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0780.ets index aa1eec49..2efb7188 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0780.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0780.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0780 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -47,7 +48,7 @@ struct UIComponentButtonSelectControlSize0780 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0790.ets index 9cec4110..8221a022 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0790.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0790.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0790 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -35,7 +36,7 @@ struct UIComponentButtonSelectControlSize0790 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0800.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0800.ets index 1c85a911..244892bd 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0800.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0800.ets @@ -17,6 +17,7 @@ @Component struct UIComponentButtonSelectControlSize0800 { @State text: string = "TTTTT" + build() { Row() { Column() { @@ -34,7 +35,7 @@ struct UIComponentButtonSelectControlSize0800 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0810.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0810.ets index 56cf5860..3d80612e 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0810.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0810.ets @@ -21,7 +21,12 @@ struct UIComponentButtonSelectControlSize0810 { Column() { Select(this.getOptions()) .controlSize(ControlSize.SMALL) - .padding({ top: 8, left: 16, bottom:8, right: 16 }) + .padding({ + top: 8, + left: 16, + bottom: 8, + right: 16 + }) } .width('100%') .height('100%') @@ -29,7 +34,7 @@ struct UIComponentButtonSelectControlSize0810 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0820.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0820.ets index 26bf15aa..3f4cdb80 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0820.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0820.ets @@ -29,7 +29,7 @@ struct UIComponentButtonSelectControlSize0820 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0830.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0830.ets index 3b169d5f..8eec48fd 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0830.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0830.ets @@ -32,7 +32,7 @@ struct UIComponentButtonSelectControlSize0830 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0840.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0840.ets index e4bb5cdf..c397b253 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0840.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0840.ets @@ -23,7 +23,12 @@ struct UIComponentButtonSelectControlSize0840 { .controlSize(ControlSize.SMALL) Select(this.getOptions()) .controlSize(ControlSize.SMALL) - .padding({ top: 8, left: 16, bottom: 8, right:16 }) + .padding({ + top: 8, + left: 16, + bottom: 8, + right: 16 + }) } .width('100%') .height('100%') @@ -31,7 +36,7 @@ struct UIComponentButtonSelectControlSize0840 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0860.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0860.ets index f46d0f68..f627a889 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0860.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0860.ets @@ -19,6 +19,7 @@ struct UIComponentButtonSelectControlSize0860 { @State bgColor: ResourceColor = Color.Blue @State control: ControlSize = ControlSize.NORMAL @State text: string = "" + build() { Row() { Column() { @@ -53,7 +54,7 @@ struct UIComponentButtonSelectControlSize0860 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0880.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0880.ets index 7f56d548..2f8d876d 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0880.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0880.ets @@ -18,6 +18,7 @@ struct UIComponentButtonSelectControlSize0880 { @State control: ControlSize = ControlSize.NORMAL @State text: string = "" + build() { Row() { Column() { @@ -41,7 +42,7 @@ struct UIComponentButtonSelectControlSize0880 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0890.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0890.ets index 9b00212e..91fe092a 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0890.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0890.ets @@ -44,7 +44,7 @@ struct UIComponentButtonSelectControlSize0890 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0900.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0900.ets index 8f207703..2f772659 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0900.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0900.ets @@ -18,6 +18,7 @@ struct UIComponentButtonSelectControlSize0900 { @State control: ControlSize = ControlSize.NORMAL @State text: string = "" + build() { Row() { Column() { @@ -41,7 +42,7 @@ struct UIComponentButtonSelectControlSize0900 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0910.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0910.ets index a4105305..f070a979 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0910.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0910.ets @@ -18,6 +18,7 @@ struct UIComponentButtonSelectControlSize0910 { @State control: ControlSize = ControlSize.NORMAL @State text: string = "" + build() { Row() { Column() { @@ -41,7 +42,7 @@ struct UIComponentButtonSelectControlSize0910 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0920.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0920.ets index 7cc25223..22227bb8 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0920.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0920.ets @@ -18,6 +18,7 @@ struct UIComponentButtonSelectControlSize0920 { @State control: ControlSize = ControlSize.NORMAL @State containerWidth: Length = -1 + build() { Row() { Column() { @@ -41,7 +42,7 @@ struct UIComponentButtonSelectControlSize0920 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0930.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0930.ets index 665fa8fe..d48f339d 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0930.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0930.ets @@ -18,6 +18,7 @@ struct UIComponentButtonSelectControlSize0930 { @State control: ControlSize = ControlSize.NORMAL @State containerWidth: Length = -1 + build() { Row() { Column() { @@ -41,7 +42,7 @@ struct UIComponentButtonSelectControlSize0930 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0940.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0940.ets index 05e16149..e2ed7dc8 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0940.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0940.ets @@ -18,6 +18,7 @@ struct UIComponentButtonSelectControlSize0940 { @State control: ControlSize = ControlSize.NORMAL @State containerWidth: Length = -1 + build() { Row() { Column() { @@ -41,7 +42,7 @@ struct UIComponentButtonSelectControlSize0940 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0950.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0950.ets index e05b4d85..7a429569 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0950.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0950.ets @@ -19,6 +19,7 @@ struct UIComponentButtonSelectControlSize0950 { @State fontSize: Length = -1 @State control: ControlSize = ControlSize.NORMAL @State text: string = "TTTTT" + build() { Row() { Column() { @@ -43,7 +44,7 @@ struct UIComponentButtonSelectControlSize0950 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0960.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0960.ets index 60c309e4..afe441cf 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0960.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0960.ets @@ -19,6 +19,7 @@ struct UIComponentButtonSelectControlSize0960 { @State fontSize: Length = -1 @State control: ControlSize = ControlSize.NORMAL @State text: string = "TTTTT" + build() { Row() { Column() { @@ -43,7 +44,7 @@ struct UIComponentButtonSelectControlSize0960 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0970.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0970.ets index 7861d932..9e6fa89d 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0970.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0970.ets @@ -19,6 +19,7 @@ struct UIComponentButtonSelectControlSize0970 { @State fontSize: Length = -1 @State control: ControlSize = ControlSize.NORMAL @State text: string = "TTTTT" + build() { Row() { Column() { @@ -43,7 +44,7 @@ struct UIComponentButtonSelectControlSize0970 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0980.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0980.ets index 80f00d80..3d5f0df6 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0980.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0980.ets @@ -18,6 +18,7 @@ struct UIComponentButtonSelectControlSize0980 { @State control: ControlSize = ControlSize.NORMAL @State containerHeight: Length = -1 + build() { Row() { Column() { @@ -41,7 +42,7 @@ struct UIComponentButtonSelectControlSize0980 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0990.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0990.ets index 600813cc..0a88129e 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0990.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0990.ets @@ -18,6 +18,7 @@ struct UIComponentButtonSelectControlSize0990 { @State control: ControlSize = ControlSize.NORMAL @State containerHeight: Length = -1 + build() { Row() { Column() { @@ -41,7 +42,7 @@ struct UIComponentButtonSelectControlSize0990 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize1000.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize1000.ets index 96ec6daa..e76bbe29 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize1000.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize1000.ets @@ -18,6 +18,7 @@ struct UIComponentButtonSelectControlSize1000 { @State control: ControlSize = ControlSize.NORMAL @State containerHeight: Length = -1 + build() { Row() { Column() { @@ -41,7 +42,7 @@ struct UIComponentButtonSelectControlSize1000 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize1010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize1010.ets index f3b92789..0f530771 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize1010.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize1010.ets @@ -29,7 +29,7 @@ struct UIComponentButtonSelectControlSize1010 { } getOptions(): Array { - const options:Array = []; + const options: Array = []; for (let i = 1; i <= 20; i++) { const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); options.push({ value: value }); diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0100.ets new file mode 100644 index 00000000..4c8c5317 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0100.ets @@ -0,0 +1,52 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant' +import { Color } from '@ohos.graphics.scene' + +interface TestAttributes { + SelectedColor?: (ResourceColor | undefined) + SwitchPointColor?: (ResourceColor | undefined) +} + +@Entry +@Component +struct UIComponentButtonStyle0100 { + @State styleIndex: number = 0; + + testData: TestAttributes[] = [ + { + SelectedColor: 0xff00ff00, + SwitchPointColor: Color.Black + }, + { + SelectedColor: "#ff0000ff", + SwitchPointColor: Color.Green + } +] + + build() { + Column() { + Button('Modify') + .onClick(() => { + this.styleIndex = 1; + }) + .id('showButton') + Toggle({ type: ToggleType.Switch, isOn: true }) + .selectedColor(this.testData[this.styleIndex].SelectedColor) + .switchPointColor(this.testData[this.styleIndex].SwitchPointColor) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0120.ets new file mode 100644 index 00000000..9a46b29f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0120.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +interface TestAttributes { + SwitchPointColor?: (ResourceColor | undefined) +} + +@Entry +@Component +struct UIComponentButtonStyle0120 { + @State styleIndex: number = 0; + testData: TestAttributes[] = [ + { + SwitchPointColor: Color.Black + }, + { + SwitchPointColor: Color.Green + } + ] + + build() { + Column() { + Button('Modify') + .onClick(() => { + this.styleIndex = 1; + }) + .id('UIComponentButtonStyle0120') + Toggle({ type: ToggleType.Switch, isOn: true }) + .switchPointColor(this.testData[this.styleIndex].SwitchPointColor) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0010.ets new file mode 100644 index 00000000..a77a6cd8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0010.ets @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerEvent0010 { + @State range: string[] = ['peach1', 'peach2', 'peach3', 'peach4', 'peach5', 'peach6']; + @State selectValue: string = ''; + @State selectIndex: string = ''; + + build() { + Column() { + Text(`select value: {"value":${this.selectValue}, "index":${this.selectIndex}}`) + .margin({ bottom: 30 }) + TextPicker({ + range: this.range + }).onChange((value, index) => { + this.selectValue = `${value}`; + this.selectIndex = `${index}`; + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0010 value: {"value":${this.selectValue}, "index":${this.selectIndex}}`); + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0020.ets new file mode 100644 index 00000000..57a0267b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0020.ets @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerEvent0020 { + @State range: string[] = ['peach1', 'peach2', 'peach3', 'peach4', 'peach5', 'peach6']; + @State selectValue: string = ''; + @State selectIndex: string = ''; + + build() { + Column() { + Text(`select value: {"value":${this.selectValue}, "index":${this.selectIndex}}`) + .margin({ bottom: 30 }) + TextPicker({ + range: this.range + }).onChange((value, index) => { + this.selectValue = `${value}`; + this.selectIndex = `${index}`; + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0020 value: {"value":${this.selectValue}, "index":${this.selectIndex}}`); + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0030.ets new file mode 100644 index 00000000..5b354286 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0030.ets @@ -0,0 +1,105 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerEvent0030 { + @State range: TextCascadePickerRangeContent[] = [ + { + text: '湖北省', + children: [ + { + text: '武汉市', + children: [ + { text: '洪山区' }, + { text: '江夏区' }, + { text: '青山区' }, + { text: '汉阳区' }, + { text: '江汉区' }, + ] + }, + { + text: '鄂州市', + children: [ + { text: '鄂城区' }, + { text: '葛店区' }, + { text: '华容区' }, + ] + }, + { + text: '黄冈市', + children: [ + { text: '黄州区' }, + { text: '蕲春县' }, + { text: '武穴市' }, + { text: '黄梅县' }, + ] + }, + ] + }, + { + text: '浙江省', + children: [ + { + text: '杭州市', + children: [ + { text: '西湖区' }, + { text: '余杭区' }, + { text: '萧山区' }, + { text: '滨江区' } + ] + }, + { + text: '绍兴市', + children: [ + { text: '上虞区' }, + { text: '越城区' }, + { text: '柯桥区' }, + ] + }, + { + text: '宁波市', + children: [ + { text: '江北区' }, + { text: '北仑区' }, + { text: '海曙区' } + ] + }, + ] + }, + { + text: '湖南省', + children: [] + }, + ]; + @State selectValue: string = ''; + @State selectIndex: string = ''; + + build() { + Column() { + Text(`select value: {"value":${this.selectValue}, "index":${this.selectIndex}}`) + .margin({ bottom: 30 }) + TextPicker({ + range: this.range + }).onChange((value, index) => { + this.selectValue = `${value}`; + this.selectIndex = `${index}`; + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0030 value: {"value":${this.selectValue}, "index":${this.selectIndex}}`); + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0040.ets new file mode 100644 index 00000000..a1a75995 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0040.ets @@ -0,0 +1,101 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerEvent0040 { + @State range: TextCascadePickerRangeContent[] = [ + { + text: '湖北省', + children: [ + { + text: '武汉市', + children: [ + { text: '洪山区' }, + { text: '江夏区' }, + { text: '青山区' }, + { text: '汉阳区' }, + { text: '江汉区' }, + ] + }, + { + text: '鄂州市', + children: [ + { text: '鄂城区' }, + { text: '葛店区' }, + { text: '华容区' }, + ] + }, + { + text: '黄冈市', + children: [ + { text: '黄州区' }, + { text: '蕲春县' }, + { text: '武穴市' }, + { text: '黄梅县' }, + ] + }, + ] + }, + { + text: '浙江省', + children: [ + { + text: '杭州市', + children: [ + { text: '西湖区' }, + { text: '余杭区' }, + { text: '萧山区' }, + { text: '滨江区' } + ] + }, + { + text: '绍兴市', + children: [ + { text: '上虞区' }, + { text: '越城区' }, + { text: '柯桥区' }, + ] + }, + { + text: '宁波市', + children: [ + { text: '江北区' }, + { text: '北仑区' }, + { text: '海曙区' } + ] + }, + ] + }, + ]; + @State selectValue: string = ''; + @State selectIndex: string = ''; + + build() { + Column() { + Text(`select value: {"value":${this.selectValue}, "index":${this.selectIndex}}`) + .margin({ bottom: 30 }) + TextPicker({ + range: this.range + }).onChange((value, index) => { + this.selectValue = `${value}`; + this.selectIndex = `${index}`; + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_EVENT_0040 value: {"value":${this.selectValue}, "index":${this.selectIndex}}`); + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0010.ets new file mode 100644 index 00000000..91700e32 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0010.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerFadeout0010 { + @State showTextPicker: boolean = false; + + build() { + Column() { + Row() { + Text("渐隐高度:default").id('text_picker_gradientHeight') + Button("010_TextPicker").margin({ left: 20 }).id('show_picker_bt').onClick(() => { + this.showTextPicker = true; + }) + } + + if (this.showTextPicker) { + TextPicker({ + range: ['香蕉', '苹果', '西瓜', '柠檬'] + }).id('text_picker') + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0030.ets new file mode 100644 index 00000000..4f7add80 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0030.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerFadeout0030 { + @State showTextPicker: boolean = false; + + build() { + Column() { + Row() { + Text("渐隐高度:100px").id('text_picker_gradientHeight') + Button("030_TextPicker").margin({ left: 20 }).id('show_picker_bt').onClick(() => { + this.showTextPicker = true; + }) + } + + if (this.showTextPicker) { + TextPicker({ + range: ['香蕉', '苹果', '西瓜', '柠檬'] + }).id('text_picker').id('text_picker').gradientHeight('100px') + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0040.ets new file mode 100644 index 00000000..e12a60c6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0040.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerFadeout0040 { + @State showTextPicker: boolean = false; + + build() { + Column() { + Row() { + Text("渐隐高度:50fp").id('text_picker_gradientHeight') + Button("040_TextPicker").margin({ left: 20 }).id('show_picker_bt').onClick(() => { + this.showTextPicker = true; + }) + } + + if (this.showTextPicker) { + TextPicker({ + range: ['香蕉', '苹果', '西瓜', '柠檬'] + }).id('text_picker').gradientHeight('50fp') + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0050.ets new file mode 100644 index 00000000..39179fe5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0050.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerFadeout0050 { + @State showTextPicker: boolean = false; + + build() { + Column() { + Row() { + Text("渐隐高度:100lpx").id('text_picker_gradientHeight') + Button("050_TextPicker").margin({ left: 20 }).id('show_picker_bt').onClick(() => { + this.showTextPicker = true; + }) + } + if (this.showTextPicker) { + TextPicker({ + range: ['香蕉', '苹果', '西瓜', '柠檬'] + }).id('text_picker').gradientHeight('100lpx') + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0070.ets new file mode 100644 index 00000000..73733057 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0070.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerFadeout0070 { + @State showTextPicker: boolean = false; + + build() { + Column() { + Row() { + Text("渐隐高度:resource 100px").id('text_picker_gradientHeight') + Button("070_TextPicker").margin({ left: 20 }).id('show_picker_bt').onClick(() => { + this.showTextPicker = true; + }) + } + + if (this.showTextPicker) { + TextPicker({ + range: ['香蕉', '苹果', '西瓜', '柠檬'] + }).id('text_picker').gradientHeight($r('app.string.string100')) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0080.ets new file mode 100644 index 00000000..4c15eefb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0080.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerFadeout0080 { + @State showTextPicker: boolean = false; + + build() { + Column() { + Row() { + Text("渐隐高度:0").id('text_picker_gradientHeight') + Button("080_TextPicker").margin({ left: 20 }).id('show_picker_bt').onClick(() => { + this.showTextPicker = true; + }) + } + + if (this.showTextPicker) { + TextPicker({ + range: ['香蕉', '苹果', '西瓜', '柠檬'] + }).id('text_picker').gradientHeight(0) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0090.ets new file mode 100644 index 00000000..e086619f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0090.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerFadeout0090 { + @State showTextPicker: boolean = false; + + build() { + Column() { + Row() { + Text("渐隐高度:-66").id('text_picker_gradientHeight') + Button("090_TextPicker").margin({ left: 20 }).id('show_picker_bt').onClick(() => { + this.showTextPicker = true; + }) + } + + if (this.showTextPicker) { + TextPicker({ + range: ['香蕉', '苹果', '西瓜', '柠檬'] + }).id('text_picker').gradientHeight(-66) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0100.ets new file mode 100644 index 00000000..9580ad47 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0100.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerFadeout0100 { + @State showTextPicker: boolean = false; + + build() { + Column() { + Row() { + Text("渐隐高度:99999").id('text_picker_gradientHeight') + Button("100_TextPicker").margin({ left: 20 }).id('show_picker_bt').onClick(() => { + this.showTextPicker = true; + }) + } + + if (this.showTextPicker) { + TextPicker({ + range: ['香蕉', '苹果', '西瓜', '柠檬'] + }).id('text_picker').gradientHeight(99999) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0110.ets new file mode 100644 index 00000000..33555b39 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0110.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerFadeout0110 { + @State showTextPicker: boolean = false; + + build() { + Column() { + Row() { + Text("渐隐高度:null").id('text_picker_gradientHeight') + Button("110_TextPicker").margin({ left: 20 }).id('show_picker_bt').onClick(() => { + this.showTextPicker = true; + }) + } + + if (this.showTextPicker) { + TextPicker({ + range: ['香蕉', '苹果', '西瓜', '柠檬'] + }).id('text_picker').gradientHeight(null) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0120.ets new file mode 100644 index 00000000..b560dc41 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0120.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerFadeout0120 { + @State showTextPicker: boolean = false; + + build() { + Column() { + Row() { + Text("渐隐高度:undefined").id('text_picker_gradientHeight') + Button("120_TextPicker").margin({ left: 20 }).id('show_picker_bt').onClick(() => { + this.showTextPicker = true; + }) + } + + if (this.showTextPicker) { + TextPicker({ + range: ['香蕉', '苹果', '西瓜', '柠檬'] + }).id('text_picker').gradientHeight(undefined) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0130.ets new file mode 100644 index 00000000..6740e53e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0130.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerFadeout0130 { + @State showTextPicker: boolean = false; + + build() { + Column() { + Row() { + Text("渐隐高度:100").id('text_picker_gradientHeight') + Button("130_TextPicker").margin({ left: 20 }).id('show_picker_bt').onClick(() => { + this.showTextPicker = true; + }) + } + + if (this.showTextPicker) { + TextPicker({ + range: ['香蕉', '苹果', '西瓜', '柠檬'] + }).id('text_picker').gradientHeight(100) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0010.ets new file mode 100644 index 00000000..13bf975c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0010.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0010 { + build() { + Column() { + Text("内容项元素高度为0").margin({ bottom: 20 }) + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }).defaultPickerItemHeight(0) + }.width('100%') + .height('100%') + + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0030.ets new file mode 100644 index 00000000..8d913749 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0030.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0030 { + build() { + Column() { + Text("内容项元素高度为0").margin({ bottom: 20 }) + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }).defaultPickerItemHeight(0) + }.width('100%') + .height('100%') + + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0040.ets new file mode 100644 index 00000000..f3558f03 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0040.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0040 { + build() { + Column() { + Text("内容项元素高度为’20‘").margin({ bottom: 20 }) + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }).defaultPickerItemHeight('20') + }.width('100%') + .height('100%') + + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0050.ets new file mode 100644 index 00000000..7dcedb45 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0050.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0050 { + build() { + Column() { + Text("内容项元素高度为80px").margin({ bottom: 20 }) + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }).defaultPickerItemHeight('80px') + }.width('100%') + .height('100%') + + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0060.ets new file mode 100644 index 00000000..5b9e9413 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0060.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0060 { + build() { + Column() { + Text("内容项元素高度为0").margin({ bottom: 20 }) + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }).defaultPickerItemHeight('20%') + }.width('100%') + .height('100%') + + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0070.ets new file mode 100644 index 00000000..216c7c8d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0070.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0070 { + build() { + Column() { + Text("最上和最下两个选项的文本颜色为黄色、字号10、字体粗").margin({ bottom: 20 }) + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }).disappearTextStyle({ + color: Color.Yellow, + font: { + size: 10, + weight: FontWeight.Bold + } + }) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0080.ets new file mode 100644 index 00000000..cca2786e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0080.ets @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0080 { + build() { + Column() { + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }).selectedTextStyle({ + color: Color.Yellow, + font: { + size: 10, + weight: FontWeight.Bold + } + }) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0090.ets new file mode 100644 index 00000000..d147509a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0090.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0090 { + @State canLoop: boolean | null | undefined = true; + + build() { + Column() { + TextPicker({ + range: ['Test 1', 'Test 2'], + }).textStyle({ + color: Color.Yellow, + font: { + size: 10, + weight: FontWeight.Bold + } + }) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0100.ets new file mode 100644 index 00000000..132d9254 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0100.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0100 { + @State range: string[] = ['一', '二', '三', '四']; + + build() { + Column() { + Row() { + Button("set text: english").id('option_bt1').onClick(() => { + this.range = ['one', 'two', 'three', 'four']; + ; + }) + Button("set text: number").margin({ left: 20 }).id('option_bt2').onClick(() => { + this.range = ['1', '2', '3', '4']; + ; + }) + } + + TextPicker({ + range: this.range, + }) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0120.ets new file mode 100644 index 00000000..53c819fe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0120.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0120 { + build() { + Column() { + TextPicker({ + range: ['香蕉-banana', '苹果-apple', '橙子','orange'], + }).width(300) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0130.ets new file mode 100644 index 00000000..7ba3621d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0130.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0130 { + build() { + Column() { + TextPicker({ + range: ['香蕉-banana', '1', '橙子','orange'], + }).width(300) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0150.ets new file mode 100644 index 00000000..b61df4ac --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0150.ets @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0150 { + build() { + Column() { + TextPicker({ + range: ['Orange1', 'Orange2', 'Orange3', 'Orange4'], + value: 'Orange2', + selected: 1 + }) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0160.ets new file mode 100644 index 00000000..99aa4432 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0160.ets @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0160 { + build() { + Column() { + TextPicker({ + range: ['peach1', 'peach2', 'peach3', 'peach4'], + selected: 2 + }) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0170.ets new file mode 100644 index 00000000..bd159035 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0170.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0170 { + build() { + Column() { + TextPicker({ + range: ['peach1', 'peach2', 'peach3', 'peach4'], + }) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0230.ets new file mode 100644 index 00000000..ee5d8603 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0230.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0230 { + build() { + Stack() { + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0240.ets new file mode 100644 index 00000000..21770abb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0240.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0240 { + build() { + Stack() { + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0250.ets new file mode 100644 index 00000000..7151d097 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0250.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0250 { + build() { + Stack() { + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0260.ets new file mode 100644 index 00000000..34c2015c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0260.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0260 { + build() { + Stack() { + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0270.ets new file mode 100644 index 00000000..5034508b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0270.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0270 { + build() { + Stack() { + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0280.ets new file mode 100644 index 00000000..87ba4b0b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0280.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0280 { + @State canLoop: boolean | null | undefined = true; + + build() { + Column() { + TextPicker({ + range: ['香蕉1', '香蕉2banana', '香蕉3dddddddddddddddddddddd', '苹果appleeddddddddddddddddddddddddd', 'apple1', 'apple2'], + }).canLoop(this.canLoop) + .width(200) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0290.ets new file mode 100644 index 00000000..1e69aef6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0290.ets @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { STRING_1_ZH_JT } from '../UIComponentButtonTextPickerMirrorImage/Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0290 { + @State canLoop: boolean | null | undefined = true; + @State selectIndex: number = 0; + + build() { + Column() { + Row() { + Button("+") + .id('button1') + .onClick(() => { + this.selectIndex += 1; + }) + Button("-") + .id('button2') + .onClick(() => { + this.selectIndex -= 1; + }) + } + TextPicker({ + range: STRING_1_ZH_JT, + selected: this.selectIndex + }).canLoop(this.canLoop) + .width(200) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0300.ets new file mode 100644 index 00000000..21964125 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0300.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0300 { + build() { + Column() { + Text('width: 160, minWidth: 200') + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }).width(160) + .constraintSize({ minWidth: 200 }) + Text('width: 160, minWidth: 250').margin({ top: 15 }) + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }).width(160) + .constraintSize({ minWidth: 250 }) + Text('width: 160, minWidth: 300').margin({ top: 15 }) + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }).width(160) + .constraintSize({ minWidth: 300 }) + }.alignItems(HorizontalAlign.Start) + .width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0310.ets new file mode 100644 index 00000000..7efc87d6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0310.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0310 { + build() { + Column() { + Row() { + Column() { + Text("default").margin({ bottom: 20 }) + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'] + }).height(120) + } + + Column() { + Text("minHeight: 160").margin({ bottom: 20 }) + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'] + }).constraintSize({ + minHeight: 160 + }).height(120) + }.margin({ left: 20, right: 20 }) + + Column() { + Text("minHeight: 240").margin({ bottom: 20 }) + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }).constraintSize({ + minHeight: 240 + }).height(120) + } + }.justifyContent(FlexAlign.SpaceBetween) + }.width('100%') + .height('100%') + + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0320.ets new file mode 100644 index 00000000..421f6164 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0320.ets @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0320 { + build() { + Column() { + TextPicker({ + range: ['Test 111111111', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }).backgroundColor('#e0e0e0') + .height(400) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0330.ets new file mode 100644 index 00000000..3fd4c074 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0330.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0330 { + build() { + Column() { + TextPicker({ + range: ['Test 111111111', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0340.ets new file mode 100644 index 00000000..4e625bc6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0340.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0340 { + build() { + Column() { + Row() { + Text("left").backgroundColor(Color.Orange) + Column() { + Text('top').backgroundColor(Color.Orange) + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }).backgroundColor('#e0e0e0') + .margin(20) + Text('bottom').backgroundColor(Color.Orange) + } + + Text("right").backgroundColor(Color.Orange) + } + }.width('100%') + .height("100%") + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0350.ets new file mode 100644 index 00000000..c9393302 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0350.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0350 { + build() { + Column() { + Column() { + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }).backgroundColor('#e0e0e0') + .height('50%') + .width('50%') + .margin("25%") + } + .height(200) + .width(200) + .backgroundColor(Color.Red) + } + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + .width('100%') + .height('100%') + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0360.ets new file mode 100644 index 00000000..7265057e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0360.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0360 { + build() { + Column() { + Row() { + Text("left").backgroundColor(Color.Orange) + Column() { + Text('top').backgroundColor(Color.Orange) + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }).backgroundColor('#e0e0e0') + .margin(0) + Text('bottom').backgroundColor(Color.Orange) + } + + Text("right").backgroundColor(Color.Orange) + } + }.width('100%') + .height("100%") + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0370.ets new file mode 100644 index 00000000..c64a9c3e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0370.ets @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0370 { + build() { + Column() { + Text("边距:top: 60, left: 40, bottom: 30,right: 80").margin({ bottom: 20 }) + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }).padding({ + top: 60, + left: 40, + bottom: 30, + right: 80 + }).backgroundColor('#e0e0e0') + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0380.ets new file mode 100644 index 00000000..b98f9ff2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0380.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0380 { + build() { + Column() { + TextPicker({ + range: ['Test 1', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }).backgroundColor('#e0e0e0') + .padding({ + left: 200, + top: 200, + right: 200, + bottom: 200 + }) + .width(400) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0390.ets new file mode 100644 index 00000000..df72502b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0390.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0390 { + build() { + Column() { + TextPicker({ + range: ['香蕉', '苹果', '橙子', '西瓜'], + }).padding(0).backgroundColor('#e0e0e0') + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0400.ets new file mode 100644 index 00000000..d1eb1e1e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0400.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0400 { + build() { + Column() { + Text("宽300 高400").margin({ bottom: 20 }) + TextPicker({ + range: ['Test 111111111', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }).backgroundColor('#e0e0e0') + .width(300) + .height(400) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0410.ets new file mode 100644 index 00000000..9fd156b6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0410.ets @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0410 { + build() { + Column() { + TextPicker({ + range: ['Test 111111111', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }).backgroundColor('#e0e0e0') + .width(240) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0420.ets new file mode 100644 index 00000000..93be6415 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0420.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0420 { + build() { + Column() { + TextPicker({ + range: ['Test 111111111', 'Test 2', 'Test3', 'Test 11', 'Test 22', 'Test33', 'Test 21', 'Test 22', 'Test 33'], + }).backgroundColor('#e0e0e0') + .width(400) + }.width('100%') + .height('100%') + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0510.ets new file mode 100644 index 00000000..7c563529 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0510.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0510 { + build() { + Column() { + TextPicker({ + range: ['Test 1', 'Test 2'], + }) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0520.ets new file mode 100644 index 00000000..e49e696a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0520.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0520 { + build() { + Column() { + TextPicker({ + range: ['Test 1', 'Test 2'], + }).canLoop(false) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0530.ets new file mode 100644 index 00000000..df3ef85d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0530.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0530 { + build() { + Column() { + TextPicker({ + range: ['Test 1', 'Test 2'], + }).canLoop(null) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0540.ets new file mode 100644 index 00000000..65cc7780 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0540.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0540 { + build() { + Column() { + TextPicker({ + range: ['Test 1', 'Test 2'], + }).canLoop(undefined) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0550.ets new file mode 100644 index 00000000..76eda653 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0550.ets @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0550 { + build() { + Column() { + TextPicker({ + range: ['Test 1', 'Test 2'], + }) + }.width('100%') + .height('100%') + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0560.ets new file mode 100644 index 00000000..c71feedc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0560.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0560 { + @State canLoop: boolean | null | undefined = true; + + build() { + Column() { + Button("set cabLoop: false").id('option_bt').onClick(() => { + this.canLoop = false; + }) + TextPicker({ + range: ['Test 1', 'Test 2'], + }).canLoop(this.canLoop) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0570.ets new file mode 100644 index 00000000..be8eb233 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0570.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0570 { + @State canLoop: boolean | null | undefined = null; + + build() { + Column() { + Button("set cabLoop: false").id('option_bt').onClick(() => { + this.canLoop = false; + }) + TextPicker({ + range: ['Test 1', 'Test 2'], + }).canLoop(this.canLoop) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0580.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0580.ets new file mode 100644 index 00000000..a9f29217 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0580.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerInterface0580 { + @State canLoop: boolean | null | undefined = false; + + build() { + Column() { + Button("set cabLoop: null").id('option_bt').onClick(() => { + this.canLoop = null; + }) + TextPicker({ + range: ['Test 1', 'Test 2', 'Test 3'], + }).canLoop(this.canLoop) + }.width('100%') + .height('100%') + + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/Commons.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/Commons.ets new file mode 100644 index 00000000..189fe5f0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/Commons.ets @@ -0,0 +1,282 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/************* 中文简体 ****************/ +export const CASCADE_ZH_JT: TextCascadePickerRangeContent[] = [ + { + text: '水果', + children: [ + { text: '菠萝' }, + { text: '苹果' } + ] + }, + { + text: '家电', + children: [ + { text: '电视机' }, + { text: '电冰箱' } + ] + }, + { + text: '数字', + children: [ + { text: '一' }, + { text: '二' }, + { text: '三' }, + { text: '四' }, + { text: '五' }, + ] + } +]; + +export const IMAGE_ZH_JT: TextPickerRangeContent[] = [ + { + icon: 'cat.jpg', + text: "香蕉" + }, + { + icon: 'cat.jpg', + text: "苹果" + }, + { + icon: 'cat.jpg', + text: "菠萝" + }, + { + icon: 'cat.jpg', + text: "西瓜" + } +]; + +export const STRING_1_ZH_JT: string[] = getContext().resourceManager.getStringArrayValueSync($r('app.strarray.fruit')); + +export const STRING_2_ZH_JT: string[][] = [ + getContext().resourceManager.getStringArrayValueSync($r('app.strarray.fruit')), + getContext().resourceManager.getStringArrayValueSync($r('app.strarray.appliance')) +]; + +export const RESOURCE_ZH_JT: Resource = $r('app.strarray.fruit'); + +/************* 中文繁体 ****************/ +export const CASCADE_ZH_FT: TextCascadePickerRangeContent[] = [ + { + text: '水果', + children: [ + { text: '菠蘿' }, + { text: '蘋果' } + ] + }, + { + text: '家電', + children: [ + { text: '電視' }, + { text: '電腦' } + ] + }, + { + text: '數字', + children: [ + { text: '壹' }, + { text: '貳' }, + { text: '叁' }, + { text: '肆' }, + { text: '伍' }, + ] + } +]; + +export const IMAGE_ZH_FT: TextPickerRangeContent[] = [ + { + icon: 'cat.jpg', + text: "鳳梨" + }, + { + icon: 'cat.jpg', + text: "蘋果" + }, + { + icon: 'cat.jpg', + text: "菠蘿" + }, + { + icon: 'cat.jpg', + text: "火龍果" + } +]; + +export const STRING_1_ZH_FT: string[] = getContext().resourceManager.getStringArrayValueSync($r('app.strarray.fruit_ft')); + +export const STRING_2_ZH_FT: string[][] = [ + getContext().resourceManager.getStringArrayValueSync($r('app.strarray.fruit_ft')), + getContext().resourceManager.getStringArrayValueSync($r('app.strarray.appliance_ft')) +]; + +export const RESOURCE_ZH_FT: Resource = $r('app.strarray.fruit_ft'); + +/************* 藏文 ****************/ +export const CASCADE_ZH_ZW: TextCascadePickerRangeContent[] = [ + { + text: 'འབྲས་བུ་', + children: [ + { text: 'བརྩེད་པོ' }, + { text: 'འབྲིང་' } + ] + }, + { + text: 'གཞི་རྩོམ་པ།', + children: [ + { text: 'བརྙན་འཕྲིན' }, + { text: 'འབྲུག་འབྱུང་' } + ] + }, + { + text: 'གཞོན་ནང་', + children: [ + { text: 'བརྒྱལ་ཁང་' }, + { text: 'དབང་རྩེ་' } + ] + } +]; + +export const IMAGE_ZH_ZW: TextPickerRangeContent[] = [ + { + icon: 'cat.jpg', + text: "བཟོ་བདེ་" + }, + { + icon: 'cat.jpg', + text: "འབྲིང་" + }, + { + icon: 'cat.jpg', + text: "བོ་ལོའི་སོགས་" + }, + { + icon: 'cat.jpg', + text: "ཧ་མི་དངོས་" + } +]; + +export const STRING_1_ZH_ZW: string[] = getContext().resourceManager.getStringArrayValueSync($r('app.strarray.fruit_zw')); + +export const STRING_2_ZH_ZW: string[][] = [ + getContext().resourceManager.getStringArrayValueSync($r('app.strarray.fruit_zw')), + getContext().resourceManager.getStringArrayValueSync($r('app.strarray.appliance_zw')) +]; + +export const RESOURCE_ZH_ZW: Resource = $r('app.strarray.fruit_zw'); + + +/************* 维吾尔文 ****************/ +export const CASCADE_ZH_WW: TextCascadePickerRangeContent[] = [ + { + text: 'لىياڭنىڭ شەھىرى', + children: [ + { text: 'شېنجاڭ شەھىرى' }, + { text: 'دالىيان شەھىرى' } + ] + }, + { + text: 'جىلىن شەھىرى', + children: [ + { text: 'چاڭچۇن شەھىرى' }, + { text: 'سۈرپىڭ شەھىرى' } + ] + }, + { + text: 'خەيلۇن جياڭ ئۆلكىسى', + children: [ + { text: 'خەربىن شەھىرى' }, + { text: 'مۈتەن جېڭشەن' } + ] + } +]; + +export const IMAGE_ZH_WW: TextPickerRangeContent[] = [ + { + icon: 'cat.jpg', + text: "تېلېۋىزور" + }, + { + icon: 'cat.jpg', + text: "تازىلاش ماشىنىسى" + }, + { + icon: 'cat.jpg', + text: "مۇزلاتقۇچ" + }, + { + icon: 'cat.jpg', + text: "ھەۋا شۇندۇرغۇچ" + } +]; + +export const STRING_1_ZH_WW: string[] = getContext().resourceManager.getStringArrayValueSync($r('app.strarray.fruit_ww')); + +export const STRING_2_ZH_WW: string[][] = [ + getContext().resourceManager.getStringArrayValueSync($r('app.strarray.fruit_ww')), + getContext().resourceManager.getStringArrayValueSync($r('app.strarray.appliance_ww')) +]; + +export const RESOURCE_ZH_WW: Resource = $r('app.strarray.fruit_ww'); + +/************* 英文 ****************/ +export const CASCADE_EN: TextCascadePickerRangeContent[] = [ + { + text: 'fruit', + children: [ + { text: 'banana' }, + { text: 'apple' }, + { text: 'lemon' }, + { text: 'orange' }, + ] + }, + { + text: 'appliance', + children: [ + { text: 'Computer' }, + { text: 'Refrigerator' }, + { text: 'TV' }, + ] + } +]; + +export const IMAGE_EN: TextPickerRangeContent[] = [ + { + icon: 'cat.jpg', + text: "banana" + }, + { + icon: 'cat.jpg', + text: "apple" + }, + { + icon: 'cat.jpg', + text: "lemon" + }, + { + icon: 'cat.jpg', + text: "orange" + } +]; + +export const STRING_1_EN: string[] = getContext().resourceManager.getStringArrayValueSync($r('app.strarray.fruit_en')); + +export const STRING_2_EN: string[][] = [ + getContext().resourceManager.getStringArrayValueSync($r('app.strarray.fruit_en')), + getContext().resourceManager.getStringArrayValueSync($r('app.strarray.appliance_en')) +]; + +export const RESOURCE_EN: Resource = $r('app.strarray.fruit_en'); \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0020.ets new file mode 100644 index 00000000..310bb4c6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0020.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0020 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Auto; + @State range: string[][] = [ + ['测试1', '测试2', '测试3', '测试4'], + ['测试5', '测试6', '测试7', '测试8'], + ]; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0020 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0030.ets new file mode 100644 index 00000000..f38a6da5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0030.ets @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0030 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Auto; + @State range: TextPickerRangeContent[] = [ + { + icon: 'cat.jpg', + text: "测试1" + }, + { + icon: 'cat.jpg', + text: "测试2" + }, + { + icon: 'cat.jpg', + text: "测试3" + }, + { + icon: 'cat.jpg', + text: "测试4" + } + ]; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0030 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0050.ets new file mode 100644 index 00000000..9fbed136 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0050.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0050 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[] = ['测试1', '测试2', '测试3', '测试4']; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0050 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0060.ets new file mode 100644 index 00000000..61cdde35 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0060.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0060 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Auto; + @State range: string[] = ['测试1', '测试2', '测试3', '测试4']; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0060 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0070.ets new file mode 100644 index 00000000..ee44f169 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0070.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0070 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: Resource = $r('app.strarray.city'); + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + // range: this.range + range: getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.city')) + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0070 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0080.ets new file mode 100644 index 00000000..4b9637bd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0080.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0080 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Auto; + @State range: string[][] = [ + ['測試1', '測試2', '測試3', '測試4'], + ['測試5', '測試6', '測試7', '測試8'], + ]; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0080 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0090.ets new file mode 100644 index 00000000..16250a61 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0090.ets @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0090 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Auto; + @State range: TextPickerRangeContent[] = [ + { + icon: 'cat.jpg', + text: "測試1" + }, + { + icon: 'cat.jpg', + text: "測試2" + }, + { + icon: 'cat.jpg', + text: "測試3" + }, + { + icon: 'cat.jpg', + text: "測試4" + } + ]; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0090 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0100.ets new file mode 100644 index 00000000..5acaf1e1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0100.ets @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0100 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextCascadePickerRangeContent[] = [ + { + text: '水果', + children: [ + { text: '菠蘿' }, + { text: '蘋果' } + ] + }, + { + text: '家電', + children: [ + { text: '電視機' }, + { text: '電冰箱' } + ] + }, + { + text: '數字', + children: [ + { text: '壹' }, + { text: '貳' }, + { text: '叁' }, + { text: '肆' }, + { text: '伍' }, + ] + } + ]; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0100 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0110.ets new file mode 100644 index 00000000..3e587ab3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0110.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0110 { + @State range: string[][] = []; + + build() { + Column() { + Row() { + Button("TextPickerDialog").id('ShowTextPicker').onClick(() => { + }) + Button("TextPickerRangeContent[]").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.range = [ + ['Test 1', 'Test 2', 'Test 3', 'Test 4'], + ['Test 5', 'Test 6', 'Test 7', 'Test 8'], + ]; + TextPickerDialog.show({ + range: this.range, + onChange: (value) => { + Logger.info('TEST', + `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0150 onChange: value=${JSON.stringify(value.value)}, index= ${JSON.stringify(value.index)}`); + } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0120.ets new file mode 100644 index 00000000..e95f32c8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0120.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0120 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[] = ['测试1', '测试2', '测试3', '测试4']; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0120 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0130.ets new file mode 100644 index 00000000..6a79b3c0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0130.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0130 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[] = ['چاڭچۇن شەھىرى', 'سۈرپىڭ شەھىرى', 'خەربىن شەھىرى', 'مۈتەن جېڭشەن']; + ; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0130 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0140.ets new file mode 100644 index 00000000..e7aafdee --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0140.ets @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0140 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextCascadePickerRangeContent[] = [ + { + text: 'لىياڭنىڭ شەھىرى', + children: [ + { text: 'شېنجاڭ شەھىرى' }, + { text: 'دالىيان شەھىرى' } + ] + }, + { + text: 'جىلىن شەھىرى', + children: [ + { text: 'چاڭچۇن شەھىرى' }, + { text: 'سۈرپىڭ شەھىرى' } + ] + }, + { + text: 'خەيلۇن جياڭ ئۆلكىسى', + children: [ + { text: 'خەربىن شەھىرى' }, + { text: 'مۈتەن جېڭشەن' } + ] + } + ]; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0140 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0150.ets new file mode 100644 index 00000000..7d4dff48 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0150.ets @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0150 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("TextPickerDialog").id('ShowTextPicker').onClick(() => { + + }) + Button("TextPickerRangeContent[]").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.range = [ + { + icon: 'cat.jpg', + text: "བཟོ་བདེ་" + }, + { + icon: 'cat.jpg', + text: "འབྲིང་" + }, + { + icon: 'cat.jpg', + text: "བོ་ལོའི་སོགས་" + }, + { + icon: 'cat.jpg', + text: "ཧ་མི་དངོས་" + } + ]; + TextPickerDialog.show({ + range: this.range, + onChange: (value) => { + Logger.info('TEST', + `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0150 onChange: value=${JSON.stringify(value.value)}, index= ${JSON.stringify(value.index)}`); + } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0170.ets new file mode 100644 index 00000000..9d0cc101 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0170.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { RESOURCE_ZH_FT, STRING_1_ZH_FT, STRING_1_ZH_WW } from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0170 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[] = STRING_1_ZH_WW; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0170 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0180.ets new file mode 100644 index 00000000..21e26fa2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0180.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { RESOURCE_ZH_FT, STRING_1_ZH_FT } from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0180 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: Resource = RESOURCE_ZH_FT; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + // range: this.range + range: STRING_1_ZH_FT + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0180 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0190.ets new file mode 100644 index 00000000..44a9995b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0190.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { CASCADE_ZH_WW, IMAGE_ZH_FT, RESOURCE_EN, RESOURCE_ZH_FT, STRING_1_EN, STRING_1_ZH_FT, STRING_1_ZH_WW } from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0190 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextPickerRangeContent[] = IMAGE_ZH_FT; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0190 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0200.ets new file mode 100644 index 00000000..98793659 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0200.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { CASCADE_ZH_WW, RESOURCE_ZH_FT, STRING_1_ZH_FT, STRING_1_ZH_WW } from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0200 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextCascadePickerRangeContent[] = CASCADE_ZH_WW; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0200 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0220.ets new file mode 100644 index 00000000..5e898385 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0220.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { CASCADE_ZH_WW, RESOURCE_EN, RESOURCE_ZH_FT, STRING_1_EN, STRING_1_ZH_FT, STRING_1_ZH_WW } from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0220 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: Resource = RESOURCE_EN; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + // range: this.range + range: STRING_1_EN + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0220 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0230.ets new file mode 100644 index 00000000..f1455e49 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0230.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { CASCADE_ZH_WW, RESOURCE_EN, RESOURCE_ZH_FT, STRING_1_EN, STRING_1_ZH_FT, STRING_1_ZH_WW } from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0230 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[] = STRING_1_EN; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0230 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0250.ets new file mode 100644 index 00000000..b577a7f4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0250.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { CASCADE_ZH_JT, CASCADE_ZH_WW, IMAGE_ZH_FT, RESOURCE_EN, RESOURCE_ZH_FT, STRING_1_EN, STRING_1_ZH_FT, STRING_1_ZH_WW, STRING_2_ZH_JT, STRING_2_ZH_ZW } from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0250 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[][] = STRING_2_ZH_ZW; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0250 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0260.ets new file mode 100644 index 00000000..11b0fa38 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0260.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { CASCADE_ZH_JT, CASCADE_ZH_WW, IMAGE_ZH_FT, RESOURCE_EN, RESOURCE_ZH_FT, STRING_1_EN, STRING_1_ZH_FT, STRING_1_ZH_WW, STRING_2_ZH_JT } from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0260 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextCascadePickerRangeContent[] = CASCADE_ZH_JT; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0260 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0270.ets new file mode 100644 index 00000000..fbec6a4e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0270.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { CASCADE_ZH_WW, IMAGE_ZH_FT, RESOURCE_EN, RESOURCE_ZH_FT, STRING_1_EN, STRING_1_ZH_FT, STRING_1_ZH_WW, STRING_2_ZH_JT } from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0270 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[][] = STRING_2_ZH_JT; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0270 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0280.ets new file mode 100644 index 00000000..f5d5227d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0280.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { IMAGE_ZH_JT, RESOURCE_ZH_WW, STRING_1_ZH_WW } from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0280 { + @State range: Resource = RESOURCE_ZH_WW; + + build() { + Column() { + Row() { + Button("TextPickerDialog").id('ShowTextPicker').onClick(() => { + }) + Button("Resource").id('direction_bt').margin({ left: 20 }).onClick(() => { + TextPickerDialog.show({ + // range: this.range, + range: STRING_1_ZH_WW, + onChange: (value) => { + Logger.info('TEST', + `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0280 nChange: value=${JSON.stringify(value.value)}, index= ${JSON.stringify(value.index)}`); + } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0290.ets new file mode 100644 index 00000000..3c47e8dd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0290.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { IMAGE_ZH_JT } from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0290 { + @State range: TextPickerRangeContent[] = IMAGE_ZH_JT; + + build() { + Column() { + Row() { + Button("TextPickerDialog").id('ShowTextPicker').onClick(() => { + }) + Button("TextPickerRangeContent[]").id('direction_bt').margin({ left: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + onChange: (value) => { + Logger.info('TEST', + `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0290 nChange: value=${JSON.stringify(value.value)}, index= ${JSON.stringify(value.index)}`); + } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0300.ets new file mode 100644 index 00000000..9cc7e1a6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0300.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { IMAGE_EN, IMAGE_ZH_JT, RESOURCE_ZH_WW, STRING_1_ZH_WW } from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0300 { + @State range: TextPickerRangeContent[] = IMAGE_EN; + + build() { + Column() { + Row() { + Button("TextPickerDialog").id('ShowTextPicker').onClick(() => { + }) + Button("TextPickerRangeContent[]").id('direction_bt').margin({ left: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + onChange: (value) => { + Logger.info('TEST', + `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0300 nChange: value=${JSON.stringify(value.value)}, index= ${JSON.stringify(value.index)}`); + } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0320.ets new file mode 100644 index 00000000..6a8407e5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0320.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { CASCADE_ZH_JT, CASCADE_ZH_WW, IMAGE_ZH_FT, RESOURCE_EN, RESOURCE_ZH_FT, STRING_1_EN, STRING_1_ZH_FT, STRING_1_ZH_WW, STRING_2_ZH_JT, STRING_2_ZH_ZW } from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0320 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextCascadePickerRangeContent[] = CASCADE_ZH_JT; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0320 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0330.ets new file mode 100644 index 00000000..f5051b26 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0330.ets @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0330 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextPickerRangeContent[] = IMAGE_ZH_WW; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0330 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0340.ets new file mode 100644 index 00000000..10e9ed6a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0340.ets @@ -0,0 +1,59 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0340 { + @State range: string[][] = STRING_2_ZH_ZW; + + build() { + Column() { + Row() { + Button("TextPickerDialog").id('ShowTextPicker').onClick(() => { + }) + Button("string[][]").id('direction_bt').margin({ left: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + onChange: (value) => { + Logger.info('TEST', + `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0340 nChange: value=${JSON.stringify(value.value)}, index= ${JSON.stringify(value.index)}`); + } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0350.ets new file mode 100644 index 00000000..cf017f37 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0350.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0350 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: Resource = RESOURCE_ZH_FT; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + // range: this.range + range: STRING_1_ZH_FT + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0350 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0360.ets new file mode 100644 index 00000000..c971db5a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0360.ets @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_EN, + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + RESOURCE_ZH_ZW, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_1_ZH_ZW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0360 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[][] = STRING_2_ZH_ZW; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0360 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0370.ets new file mode 100644 index 00000000..b2abaf07 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0370.ets @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0370 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[][] = STRING_2_EN; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0370 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0380.ets new file mode 100644 index 00000000..e431055c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0380.ets @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + RESOURCE_ZH_ZW, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_1_ZH_ZW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0340 { + @State range: Resource = RESOURCE_ZH_ZW; + + build() { + Column() { + Row() { + Button("TextPickerDialog").id('ShowTextPicker').onClick(() => { + }) + Button("Resource").id('direction_bt').margin({ left: 20 }).onClick(() => { + TextPickerDialog.show({ + // range: this.range, + range: STRING_1_ZH_ZW, + onChange: (value) => { + Logger.info('TEST', + `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0340 nChange: value=${JSON.stringify(value.value)}, index= ${JSON.stringify(value.index)}`); + } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0390.ets new file mode 100644 index 00000000..60ec1745 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0390.ets @@ -0,0 +1,59 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0340 { + @State range: string[][] = STRING_2_ZH_JT; + + build() { + Column() { + Row() { + Button("TextPickerDialog").id('ShowTextPicker').onClick(() => { + }) + Button("string[][]").id('direction_bt').margin({ left: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + onChange: (value) => { + Logger.info('TEST', + `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0340 nChange: value=${JSON.stringify(value.value)}, index= ${JSON.stringify(value.index)}`); + } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0400.ets new file mode 100644 index 00000000..c01f85c4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0400.ets @@ -0,0 +1,59 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0340 { + @State range: TextPickerRangeContent[] = IMAGE_ZH_FT; + + build() { + Column() { + Row() { + Button("TextPickerDialog").id('ShowTextPicker').onClick(() => { + }) + Button("TextPickerRangeContent[]").id('direction_bt').margin({ left: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + onChange: (value) => { + Logger.info('TEST', + `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0340 nChange: value=${JSON.stringify(value.value)}, index= ${JSON.stringify(value.index)}`); + } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0410.ets new file mode 100644 index 00000000..44b3f884 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0410.ets @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + RESOURCE_ZH_ZW, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_1_ZH_ZW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0410 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: Resource = RESOURCE_ZH_ZW; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + // range: this.range + range: STRING_1_ZH_ZW + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0410 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0420.ets new file mode 100644 index 00000000..8ceac6c0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0420.ets @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_EN, + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + RESOURCE_ZH_ZW, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_1_ZH_ZW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0420 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextCascadePickerRangeContent[] = CASCADE_EN; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0420 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0430.ets new file mode 100644 index 00000000..1ab24395 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0430.ets @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_EN, + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_EN, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + RESOURCE_ZH_ZW, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_1_ZH_ZW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0430 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextPickerRangeContent[] = IMAGE_EN; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0430 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0440.ets new file mode 100644 index 00000000..1cbc7152 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0440.ets @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_EN, + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_EN, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + RESOURCE_ZH_JT, + RESOURCE_ZH_ZW, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_JT, + STRING_1_ZH_WW, + STRING_1_ZH_ZW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0440 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: Resource = RESOURCE_ZH_JT; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + // range: this.range + range: STRING_1_ZH_JT + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0440 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0450.ets new file mode 100644 index 00000000..72060872 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0450.ets @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_EN, + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_EN, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + RESOURCE_ZH_ZW, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_1_ZH_ZW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0450 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: Resource = RESOURCE_ZH_FT; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + // range: this.range + range: STRING_1_ZH_FT + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0450 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0470.ets new file mode 100644 index 00000000..1c22d049 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0470.ets @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_EN, + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_EN, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + IMAGE_ZH_ZW, + RESOURCE_EN, + RESOURCE_ZH_FT, + RESOURCE_ZH_ZW, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_1_ZH_ZW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0470 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextPickerRangeContent[] = IMAGE_ZH_ZW; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0470 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0480.ets new file mode 100644 index 00000000..1eb6e58d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0480.ets @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_EN, + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_EN, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + RESOURCE_ZH_WW, + RESOURCE_ZH_ZW, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_1_ZH_ZW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0480 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: Resource = RESOURCE_EN; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + // range: this.range + range: STRING_1_EN + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0480 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0490.ets new file mode 100644 index 00000000..d6375785 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0490.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_EN, + IMAGE_ZH_FT, + IMAGE_ZH_JT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0490 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextPickerRangeContent[] = IMAGE_ZH_JT; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0490 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0500.ets new file mode 100644 index 00000000..da3d29d8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0500.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_EN, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0500 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[][] = STRING_2_ZH_FT; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0500 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0510.ets new file mode 100644 index 00000000..2d533a82 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0510.ets @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0510 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Auto; + @State range: TextPickerRangeContent[] = [ + { + icon: 'cat.jpg', + text: "བཟོ་བདེ་" + }, + { + icon: 'cat.jpg', + text: "འབྲིང་" + }, + { + icon: 'cat.jpg', + text: "བོ་ལོའི་སོགས་" + }, + { + icon: 'cat.jpg', + text: "ཧ་མི་དངོས་" + } + ]; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0510 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0520.ets new file mode 100644 index 00000000..65c464fe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0520.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0520 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: Resource = $r('app.strarray.fruit'); + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + // range: this.range + range: getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.fruit')) + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0520 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0530.ets new file mode 100644 index 00000000..35dda009 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0530.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0530 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Auto; + @State range: string[][] = [ + ['چاڭچۇن شەھىرى', 'سۈرپىڭ شەھىرى', 'خەربىن شەھىرى', 'مۈتەن جېڭشەن'], + ['چاڭچۇن شەھىرى', 'سۈرپىڭ شەھىرى', 'خەربىن شەھىرى', 'مۈتەن جېڭشەن'] + ]; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0530 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0540.ets new file mode 100644 index 00000000..a7f3729a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0540.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0540 { + @State range: string[] = []; + + build() { + Column() { + Row() { + Button("TextPickerDialog").id('ShowTextPicker').onClick(() => { + }) + Button("string[]").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.range = getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.fruit')); + TextPickerDialog.show({ + range: this.range, + onChange: (value) => { + Logger.info('TEST', + `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0540 onChange: value=${JSON.stringify(value.value)}, index= ${JSON.stringify(value.index)}`); + } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0550.ets new file mode 100644 index 00000000..2dc2ecfd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0550.ets @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0550 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextCascadePickerRangeContent[] = [ + { + text: 'འབྲས་བུ་', + children: [ + { text: 'བརྩེད་པོ' }, + { text: 'འབྲིང་' } + ] + }, + { + text: 'གཞི་རྩོམ་པ།', + children: [ + { text: 'བརྙན་འཕྲིན' }, + { text: 'འབྲུག་འབྱུང་' } + ] + }, + { + text: 'གཞོན་ནང་', + children: [ + { text: 'བརྒྱལ་ཁང་' }, + { text: 'དབང་རྩེ་' } + ] + } + ]; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0550 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0560.ets new file mode 100644 index 00000000..3ffae162 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0560.ets @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0560 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextPickerRangeContent[] = [ + { + icon: 'cat.jpg', + text: "香蕉" + }, + { + icon: 'cat.jpg', + text: "苹果" + }, + { + icon: 'cat.jpg', + text: "西瓜" + }, + { + icon: 'cat.jpg', + text: "菠萝" + } + ]; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0560 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0570.ets new file mode 100644 index 00000000..48ebb679 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0570.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0570 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[] = getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.fruit_zw')); + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0570 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0580.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0580.ets new file mode 100644 index 00000000..e2bc7e25 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0580.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0580 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[] = getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.fruit_zw')); + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0580 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0590.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0590.ets new file mode 100644 index 00000000..03d087d9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0590.ets @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0590 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextCascadePickerRangeContent[] = [ + { + text: '水果', + children: [ + { text: '菠萝' }, + { text: '苹果' } + ] + }, + { + text: '家电', + children: [ + { text: '电视机' }, + { text: '电冰箱' } + ] + }, + { + text: '数字', + children: [ + { text: '一' }, + { text: '二' }, + { text: '三' }, + { text: '四' }, + { text: '五' }, + ] + } + ]; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0590 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0620.ets new file mode 100644 index 00000000..0bf6d01a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0620.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0620 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[] = getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.fruit_ft')); + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0620 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0630.ets new file mode 100644 index 00000000..dae79505 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0630.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { CASCADE_EN } from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0630 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextCascadePickerRangeContent[] = CASCADE_EN; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0630 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0640.ets new file mode 100644 index 00000000..848a7e19 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0640.ets @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0640 { + @State range: TextCascadePickerRangeContent[] = [ + { + text: 'لىياڭنىڭ شەھىرى', + children: [ + { text: 'شېنجاڭ شەھىرى' }, + { text: 'دالىيان شەھىرى' } + ] + }, + { + text: 'جىلىن شەھىرى', + children: [ + { text: 'چاڭچۇن شەھىرى' }, + { text: 'سۈرپىڭ شەھىرى' } + ] + }, + { + text: 'خەيلۇن جياڭ ئۆلكىسى', + children: [ + { text: 'خەربىن شەھىرى' }, + { text: 'مۈتەن جېڭشەن' } + ] + } + ]; + + build() { + Column() { + Row() { + Button("TextPickerDialog").id('ShowTextPicker').onClick(() => { + }) + Button("TextCascadePickerRangeContent[]").id('direction_bt').margin({ left: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + onChange: (value) => { + Logger.info('TEST', + `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0640 nChange: value=${JSON.stringify(value.value)}, index= ${JSON.stringify(value.index)}`); + } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0650.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0650.ets new file mode 100644 index 00000000..02b84322 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0650.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0650 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Auto; + @State range: string[][] = [ + getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.fruit')), + getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.appliance')), + ]; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0650 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0660.ets new file mode 100644 index 00000000..f202267d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0660.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0660 { + @State range: string[] = []; + + build() { + Column() { + Row() { + Button("TextPickerDialog").id('ShowTextPicker').onClick(() => { + }) + Button("Resource").id('direction_bt').margin({ left: 20 }).onClick(() => { + TextPickerDialog.show({ + range: getContext(this).resourceManager.getStringArrayValueSync($r('app.strarray.fruit_en')), + onChange: (value) => { + Logger.info('TEST', + `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0660 nChange: value=${JSON.stringify(value.value)}, index= ${JSON.stringify(value.index)}`); + } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0670.ets new file mode 100644 index 00000000..a5658c82 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0670.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { CASCADE_EN, IMAGE_EN, IMAGE_ZH_JT, RESOURCE_ZH_WW, STRING_1_ZH_WW } from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0670 { + @State range: TextCascadePickerRangeContent[] = CASCADE_EN; + + build() { + Column() { + Row() { + Button("TextPickerDialog").id('ShowTextPicker').onClick(() => { + }) + Button("TextCascadePickerRangeContent[]").id('direction_bt').margin({ left: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + onChange: (value) => { + Logger.info('TEST', + `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0670 nChange: value=${JSON.stringify(value.value)}, index= ${JSON.stringify(value.index)}`); + } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0680.ets new file mode 100644 index 00000000..007d9547 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0680.ets @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_JT, + CASCADE_ZH_WW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_ZH_JT, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0680 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextPickerRangeContent[] = IMAGE_ZH_WW; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0680 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0690.ets new file mode 100644 index 00000000..92429bf9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0690.ets @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0690 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextCascadePickerRangeContent[] = CASCADE_ZH_FT; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0690 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0700.ets new file mode 100644 index 00000000..db1d28ec --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0700.ets @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_ZH_JT, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0790 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextCascadePickerRangeContent[] = CASCADE_ZH_ZW; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0790 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0710.ets new file mode 100644 index 00000000..e854f832 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0710.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_1_ZH_ZW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0710 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[] = STRING_1_ZH_ZW; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0710 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0720.ets new file mode 100644 index 00000000..48340d4c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0720.ets @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0720 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[][] = STRING_2_ZH_FT; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0720 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0730.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0730.ets new file mode 100644 index 00000000..2a473c39 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0730.ets @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0730 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[][] = STRING_2_ZH_WW; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0730 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0740.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0740.ets new file mode 100644 index 00000000..7e82a0c8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0740.ets @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_JT, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0740 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[] = STRING_1_EN; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0740 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0750.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0750.ets new file mode 100644 index 00000000..5a0db0d6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0750.ets @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_JT, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0750 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[][] = STRING_2_EN; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0750 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0760.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0760.ets new file mode 100644 index 00000000..461bacc8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0760.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_1_ZH_ZW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0760 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextCascadePickerRangeContent[] = CASCADE_ZH_WW; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0760 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0770.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0770.ets new file mode 100644 index 00000000..25b62460 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0770.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { CASCADE_EN, CASCADE_ZH_JT, IMAGE_EN, IMAGE_ZH_JT, RESOURCE_ZH_WW, STRING_1_ZH_WW } from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0770 { + @State range: TextCascadePickerRangeContent[] = CASCADE_ZH_JT; + + build() { + Column() { + Row() { + Button("TextPickerDialog").id('ShowTextPicker').onClick(() => { + }) + Button("TextCascadePickerRangeContent[]").id('direction_bt').margin({ left: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + onChange: (value) => { + Logger.info('TEST', + `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0770 nChange: value=${JSON.stringify(value.value)}, index= ${JSON.stringify(value.index)}`); + } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0780.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0780.ets new file mode 100644 index 00000000..de1366a2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0780.ets @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0780 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[] = STRING_1_ZH_WW; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0780 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0790.ets new file mode 100644 index 00000000..20df9671 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0790.ets @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_ZH_JT, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0790 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextCascadePickerRangeContent[] = CASCADE_ZH_FT; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0790 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0800.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0800.ets new file mode 100644 index 00000000..02f03c9a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0800.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + IMAGE_ZH_ZW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0800 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextPickerRangeContent[] = IMAGE_ZH_ZW; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0800 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0810.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0810.ets new file mode 100644 index 00000000..5a00a886 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0810.ets @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0810 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextPickerRangeContent[] = IMAGE_ZH_WW; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0810 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0820.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0820.ets new file mode 100644 index 00000000..8e81211b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0820.ets @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0820 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[] = STRING_1_ZH_FT; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0820 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0830.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0830.ets new file mode 100644 index 00000000..195e6eb7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0830.ets @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_EN, + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_EN, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + RESOURCE_ZH_WW, + RESOURCE_ZH_ZW, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_1_ZH_ZW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0830 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: Resource = RESOURCE_ZH_WW; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + // range: this.range + range: STRING_1_ZH_WW + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0830 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0840.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0840.ets new file mode 100644 index 00000000..8b02f8dd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0840.ets @@ -0,0 +1,59 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0840 { + @State range: TextCascadePickerRangeContent[] = CASCADE_ZH_ZW; + + build() { + Column() { + Row() { + Button("TextPickerDialog").id('ShowTextPicker').onClick(() => { + }) + Button("TextCascadePickerRangeContent[]").id('direction_bt').margin({ left: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + onChange: (value) => { + Logger.info('TEST', + `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0840 nChange: value=${JSON.stringify(value.value)}, index= ${JSON.stringify(value.index)}`); + } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0850.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0850.ets new file mode 100644 index 00000000..890a8d73 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0850.ets @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_EN, + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_EN, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + RESOURCE_ZH_WW, + RESOURCE_ZH_ZW, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_1_ZH_ZW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0850 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[] = STRING_1_EN; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0850 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0860.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0860.ets new file mode 100644 index 00000000..ab4c127a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0860.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_EN, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0860 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextPickerRangeContent[] = IMAGE_EN; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0860 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0870.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0870.ets new file mode 100644 index 00000000..cbcbe4bf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0870.ets @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0870 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[][] = STRING_2_ZH_WW; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0870 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0880.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0880.ets new file mode 100644 index 00000000..b67e1790 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0880.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_EN, + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_EN, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + RESOURCE_ZH_JT, + RESOURCE_ZH_WW, + RESOURCE_ZH_ZW, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_JT, + STRING_1_ZH_WW, + STRING_1_ZH_ZW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0880 { + @State range: Resource = RESOURCE_ZH_JT; + + build() { + Column() { + Row() { + Button("TextPickerDialog").id('ShowTextPicker').onClick(() => { + }) + Button("Resource").id('direction_bt').margin({ left: 20 }).onClick(() => { + TextPickerDialog.show({ + // range: this.range, + range: STRING_1_ZH_JT, + onChange: (value) => { + Logger.info('TEST', + `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0880 nChange: value=${JSON.stringify(value.value)}, index= ${JSON.stringify(value.index)}`); + } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0890.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0890.ets new file mode 100644 index 00000000..364dcb7d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0890.ets @@ -0,0 +1,59 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0890 { + @State range: string[][] = STRING_2_ZH_WW; + + build() { + Column() { + Row() { + Button("TextPickerDialog").id('ShowTextPicker').onClick(() => { + }) + Button("string[][]").id('direction_bt').margin({ left: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + onChange: (value) => { + Logger.info('TEST', + `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0890 nChange: value=${JSON.stringify(value.value)}, index= ${JSON.stringify(value.index)}`); + } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0900.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0900.ets new file mode 100644 index 00000000..5d79ffe7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0900.ets @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_EN, + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_EN, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + RESOURCE_ZH_WW, + RESOURCE_ZH_ZW, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_1_ZH_ZW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0900 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: Resource = RESOURCE_ZH_WW; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + // range: this.range + range: STRING_1_ZH_WW + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0900 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0910.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0910.ets new file mode 100644 index 00000000..990fd30b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0910.ets @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0910 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[][] = STRING_2_ZH_ZW; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0910 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0920.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0920.ets new file mode 100644 index 00000000..7dc88199 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0920.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_EN, + IMAGE_ZH_FT, + IMAGE_ZH_JT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0920 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextCascadePickerRangeContent[] = CASCADE_ZH_ZW; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0920 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0930.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0930.ets new file mode 100644 index 00000000..4c238b64 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0930.ets @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_EN, + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_EN, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + RESOURCE_ZH_WW, + RESOURCE_ZH_ZW, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_1_ZH_ZW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0930 { + @State range: Resource = RESOURCE_ZH_FT; + + build() { + Column() { + Row() { + Button("TextPickerDialog").id('ShowTextPicker').onClick(() => { + }) + Button("Resource").id('direction_bt').margin({ left: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + onChange: (value) => { + Logger.info('TEST', + `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0930 nChange: value=${JSON.stringify(value.value)}, index= ${JSON.stringify(value.index)}`); + } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0940.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0940.ets new file mode 100644 index 00000000..6662f974 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0940.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_EN, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0940 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[][] = STRING_2_ZH_FT; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0940 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0950.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0950.ets new file mode 100644 index 00000000..f9872275 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0950.ets @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_EN, + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_EN, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + RESOURCE_ZH_WW, + RESOURCE_ZH_ZW, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_1_ZH_ZW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0950 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: Resource = RESOURCE_EN; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + // range: this.range + range: STRING_1_EN + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0950 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0960.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0960.ets new file mode 100644 index 00000000..b68376cc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0960.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_EN, + IMAGE_ZH_FT, + IMAGE_ZH_JT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0960 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextPickerRangeContent[] = IMAGE_EN; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0960 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0970.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0970.ets new file mode 100644 index 00000000..1a232126 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0970.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_EN, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0970 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: string[][] = STRING_2_EN; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Auto").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Auto; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0970 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0980.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0980.ets new file mode 100644 index 00000000..343fcef6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0980.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_EN, + IMAGE_ZH_FT, + IMAGE_ZH_JT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0980 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: TextPickerRangeContent[] = IMAGE_ZH_FT; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Ltr").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Ltr; + }) + } + + if (this.showPicker) { + TextPicker({ + range: this.range + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0980 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0990.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0990.ets new file mode 100644 index 00000000..d3fd44a1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0990.ets @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_EN, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + RESOURCE_ZH_ZW, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_WW, + STRING_1_ZH_ZW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage0990 { + @State showPicker: boolean = false; + @State customDirection: Direction = Direction.Ltr; + @State range: Resource = RESOURCE_ZH_ZW; + + build() { + Column() { + Row() { + Button("TextPicker").id('ShowTextPicker').onClick(() => { + this.showPicker = true; + }) + Button("direction:Rtl").id('direction_bt').margin({ left: 20 }).onClick(() => { + this.customDirection = Direction.Rtl; + }) + } + + if (this.showPicker) { + TextPicker({ + // range: this.range + range: STRING_1_ZH_ZW + }).id('TextPicker') + .direction(this.customDirection) + .onChange((value, index) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_0990 onChange: value=${value}, index= ${index}`); + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage1000.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage1000.ets new file mode 100644 index 00000000..284fcff9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage1000.ets @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Logger from '../../../test/model/Logger'; +import { + CASCADE_EN, + CASCADE_ZH_FT, + CASCADE_ZH_JT, + CASCADE_ZH_WW, + CASCADE_ZH_ZW, + IMAGE_EN, + IMAGE_ZH_FT, + IMAGE_ZH_WW, + RESOURCE_EN, + RESOURCE_ZH_FT, + RESOURCE_ZH_JT, + RESOURCE_ZH_WW, + RESOURCE_ZH_ZW, + STRING_1_EN, + STRING_1_ZH_FT, + STRING_1_ZH_JT, + STRING_1_ZH_WW, + STRING_1_ZH_ZW, + STRING_2_EN, + STRING_2_ZH_FT, + STRING_2_ZH_JT, + STRING_2_ZH_WW, + STRING_2_ZH_ZW +} from './Commons'; + +@Entry +@Component +struct UIComponentButtonTextPickerMirrorImage1000 { + @State range: string[][] = STRING_2_ZH_FT; + + build() { + Column() { + Row() { + Button("TextPickerDialog").id('ShowTextPicker').onClick(() => { + }) + Button("string[][]").id('direction_bt').margin({ left: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + onChange: (value) => { + Logger.info('TEST', + `SUB_ACE_UI_COMPONENT_BUTTON_TEXTPICKER_MIRRORIMAGE_1000 nChange: value=${JSON.stringify(value.value)}, index= ${JSON.stringify(value.index)}`); + } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0010.ets new file mode 100644 index 00000000..fa477326 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0010.ets @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerOverBoundaryRebound0010 { + @State range: string[] = ["香蕉", "苹果"]; + + build() { + Stack() { + TextPicker({ + range: this.range + }).id('TextPicker') + .canLoop(false) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0020.ets new file mode 100644 index 00000000..c774a919 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0020.ets @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerOverBoundaryRebound0020 { + @State range: string[] = getContext().resourceManager.getStringArrayValueSync($r('app.strarray.swipeSize2')); + + build() { + Stack() { + TextPicker({ + range: this.range + }).id('TextPicker') + .canLoop(false) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0030.ets new file mode 100644 index 00000000..45b49c38 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0030.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerOverBoundaryRebound0030 { + @State range: TextPickerRangeContent[] = [ + { + icon: 'cat.jpg', + text: "香蕉" + }, + { + icon: 'cat.jpg', + text: "苹果" + }, + ]; + + build() { + Stack() { + TextPicker({ + range: this.range + }).id('TextPicker') + .canLoop(false) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0040.ets new file mode 100644 index 00000000..b07e660e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0040.ets @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerOverBoundaryRebound0040 { + @State range: string[][] = [ + ["test 1", "test 2"], + ["测试 1", "测试 2"] + ]; + + build() { + Stack() { + TextPicker({ + range: this.range + }).id('TextPicker') + .canLoop(false) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0050.ets new file mode 100644 index 00000000..7dac929d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0050.ets @@ -0,0 +1,53 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTextPickerOverBoundaryRebound0050 { + @State range: TextCascadePickerRangeContent[] = [ + { + text: '水果', + children: [ + { text: '菠蘿' }, + { text: '蘋果' } + ] + }, + { + text: '家電', + children: [ + { text: '電視機' }, + { text: '電冰箱' } + ] + }, + { + text: '數字', + children: [ + { text: '壹' }, + { text: '貳' }, + { text: '叁' }, + ] + } + ]; + + build() { + Stack() { + TextPicker({ + range: this.range + }).id('TextPicker') + .canLoop(false) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerEvent/UIComponentButtonTimepickerEvent0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerEvent/UIComponentButtonTimepickerEvent0020.ets new file mode 100644 index 00000000..53d2793c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerEvent/UIComponentButtonTimepickerEvent0020.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant' + +@Entry +@Component +struct UIComponentButtonTimepickerEvent0020 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + onChange: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + AlertDialog.show({ + message: JSON.stringify(value), + autoCancel: true, + }) + } + }, + }) + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + .id('showButton') + }.width('100%').height('100%').id('page') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0010.ets new file mode 100644 index 00000000..da837add --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0010.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0010 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + }) + .useMilitaryTime(false) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0020.ets new file mode 100644 index 00000000..4e152bd1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0020.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0020 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + }) + .useMilitaryTime(true) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0030.ets new file mode 100644 index 00000000..bbafe608 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0030.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0030 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + }) + .useMilitaryTime(false) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0110.ets new file mode 100644 index 00000000..a570b47c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0110.ets @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0110 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0130.ets new file mode 100644 index 00000000..7bf4a251 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0130.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0130 { + build() { + Row() { + Column() { + TimePicker( + { + selected: new Date('2020-12-25T08:30:00'), + } + ) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0140.ets new file mode 100644 index 00000000..b80c5bc6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0140.ets @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0140 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0150.ets new file mode 100644 index 00000000..c9fed304 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0150.ets @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0150 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0160.ets new file mode 100644 index 00000000..5d36f89a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0160.ets @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0160 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0170.ets new file mode 100644 index 00000000..49ddb230 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0170.ets @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0170 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0180.ets new file mode 100644 index 00000000..17d3e996 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0180.ets @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0180 { + build() { + Column() { + TimePicker( + { + selected: new Date('2020-12-25T08:30:00'), + } + ) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0190.ets new file mode 100644 index 00000000..5e5addc4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0190.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0190 { + build() { + Column() { + TimePicker( + { + selected: new Date('2020-12-25T08:30:00'), + } + ) + .constraintSize({ + minWidth: 300, + maxWidth: 200 + }) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0200.ets new file mode 100644 index 00000000..1b322c53 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0200.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0200 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + .constraintSize({ + minHeight: '50%' + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0210.ets new file mode 100644 index 00000000..784b3a00 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0210.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0210 { + build() { + Row() { + Column() { + TimePicker( + { + selected: new Date('2020-12-25T08:30:00'), + } + ) + } + .width('50pv') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0220.ets new file mode 100644 index 00000000..79f73b22 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0220.ets @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0220 { + build() { + Column() { + TimePicker( + { + selected: new Date('2020-12-25T08:30:00'), + } + ).height(400) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0230.ets new file mode 100644 index 00000000..78239eed --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0230.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0230 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + }) + .margin('50%') + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + .border({ width: 2, color: Color.Black }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0240.ets new file mode 100644 index 00000000..3de2e77b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0240.ets @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0240 { + build() { + Column() { + TimePicker( + { + selected: new Date('2020-12-25T08:30:00'), + } + ) + .width(200) + .margin(100) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0250.ets new file mode 100644 index 00000000..d2aface1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0250.ets @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0250 { + build() { + Column() { + TimePicker( + { + selected: new Date('2020-12-25T08:30:00'), + } + ) + .width(300) + .margin(0) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0260.ets new file mode 100644 index 00000000..347305f8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0260.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0260 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + }) + .padding(50) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + .backgroundColor(Color.Orange) + .border({ width: 2, color: Color.Black }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0270.ets new file mode 100644 index 00000000..1c51a6a4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0270.ets @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0270 { + build() { + Column() { + TimePicker( + { + selected: new Date('2020-12-25T08:30:00'), + } + ) + .width(200) + .padding(100) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0280.ets new file mode 100644 index 00000000..1d08048b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0280.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0280 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + }) + .padding(null) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + .backgroundColor(Color.Orange) + .border({ width: 2, color: Color.Black }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0290.ets new file mode 100644 index 00000000..852a98ea --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0290.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0290 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + }) + .size({ + width: 300, + height: 200 + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0300.ets new file mode 100644 index 00000000..8193cca4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0300.ets @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0300 { + build() { + Column() { + TimePicker( + { + selected: new Date('2020-12-25T08:30:00'), + } + ) + .width(300) + .backgroundColor('#efefef') + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0310.ets new file mode 100644 index 00000000..40406525 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0310.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0310 { + build() { + Column() { + TimePicker( + { + selected: new Date('2020-12-25T08:30:00'), + } + ) + .width(200) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0360.ets new file mode 100644 index 00000000..583ebb38 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0360.ets @@ -0,0 +1,46 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0360 { + @State isMilitaryTime: boolean = false + private selectedTime: Date = new Date('2022-07-22T08:00:00') + + build() { + Row() { + Column() { + Button('切换12小时制/24小时制') + .id('UIComponentButtonTimepickerInterface0360_001') + .margin(30) + .onClick(() => { + this.isMilitaryTime = !this.isMilitaryTime; + }) + TimePicker({ + selected: this.selectedTime, + }) + .useMilitaryTime(this.isMilitaryTime) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0370.ets new file mode 100644 index 00000000..b550a060 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0370.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerInterface0370 { + @State isMilitaryTime: boolean = false + @State selectedTime: Date = new Date('2022-07-22T08:00:00') + + build() { + Row() { + Column() { + Row(){ + Button("+") + .id('button1') + .onClick(() => { + this.selectedTime = new Date('2022-07-22T09:00:00'); + }) + Button("-") + .id('button2') + .onClick(() => { + this.selectedTime = new Date('2022-07-22T07:00:00'); + }) + } + TimePicker({ + selected: this.selectedTime, + }) + } + .width('100%') + .height('100%') + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0010.ets new file mode 100644 index 00000000..49f23962 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0010.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0010 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .dateTimeOptions({ + hour: 'numeric', + minute: 'numeric', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0020.ets new file mode 100644 index 00000000..884b43f4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0020.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0020 { + @State selectTime: Date = new Date('2024-10-22T08:07:06'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "2-digit", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0030.ets new file mode 100644 index 00000000..b92a0adb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0030.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0030 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .dateTimeOptions({ + hour: 'numeric', + minute: 'numeric', + second: '2-digit' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0040.ets new file mode 100644 index 00000000..e75e8c42 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0040.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0040 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .dateTimeOptions({ + hour: '2-digit', + minute: '2-digit', + second: '2-digit' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0050.ets new file mode 100644 index 00000000..953ae2b7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0050.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0050 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "2-digit", + minute: "numeric", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0060.ets new file mode 100644 index 00000000..7d551ad9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0060.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0060 { + @State selectTime: Date = new Date('2024-10-22T08:07:06'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "2-digit", + minute: "2-digit", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0070.ets new file mode 100644 index 00000000..f95737fd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0070.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0070 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .dateTimeOptions({ + hour: 'undefined', + minute: 'numeric', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0080.ets new file mode 100644 index 00000000..b64a39df --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0080.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0080 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "undefined", + minute: "2-digit", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0090.ets new file mode 100644 index 00000000..84579d9f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0090.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0090 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "undefined", + minute: "numeric", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0100.ets new file mode 100644 index 00000000..7047afe5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0100.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0100 { + @State selectTime: Date = new Date('2024-10-22T08:07:06'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "null", + minute: "numeric", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0110.ets new file mode 100644 index 00000000..09d0fb2c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0110.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0110 { + @State selectTime: Date = new Date('2024-10-22T08:07:06'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: null, + minute: "2-digit", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0120.ets new file mode 100644 index 00000000..a1d2cc1b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0120.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0120 { + @State selectTime: Date = new Date('2024-10-22T08:07:06'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "null", + minute: "numeric", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0130.ets new file mode 100644 index 00000000..e906573b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0130.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0130 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .dateTimeOptions({ + hour: '', + minute: '2-digit', + second: '2-digit' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0140.ets new file mode 100644 index 00000000..55e9631b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0140.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0140 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .dateTimeOptions({ + hour: '', + minute: '2-digit', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0150.ets new file mode 100644 index 00000000..815cde61 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0150.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0150 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .dateTimeOptions({ + hour: '', + minute: 'numeric', + second: '2-digit' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0160.ets new file mode 100644 index 00000000..e4eaf4fc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0160.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0160 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .dateTimeOptions({ + hour: '2-digit', + minute: 'numeric', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0170.ets new file mode 100644 index 00000000..d554b91e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0170.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0170 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .dateTimeOptions({ + hour: 'numeric', + minute: '2-digit', + second: '2-digit' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0180.ets new file mode 100644 index 00000000..ec9d04c2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0180.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0180 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .dateTimeOptions({ + hour: 'null', + minute: '2-digit', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0190.ets new file mode 100644 index 00000000..5892d447 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0190.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0190 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .dateTimeOptions({ + hour: '2-digit', + minute: 'undefined', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0200.ets new file mode 100644 index 00000000..d751d439 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0200.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0200 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .dateTimeOptions({ + hour: 'numeric', + minute: 'undefined', + second: '2-digit' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0210.ets new file mode 100644 index 00000000..ada6dc0d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0210.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0210 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "null", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0220.ets new file mode 100644 index 00000000..55fd6c4c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0220.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0220 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0230.ets new file mode 100644 index 00000000..d5d39835 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0230.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0230 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: 'numeric', + minute: 'null', + second: '2-digit' + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0240.ets new file mode 100644 index 00000000..3b7387ff --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0240.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0240 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0250.ets new file mode 100644 index 00000000..bd4b560f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0250.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0250 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "2-digit", + minute: "", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0260.ets new file mode 100644 index 00000000..bb8a4a64 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0260.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0260 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0270.ets new file mode 100644 index 00000000..0c597a1b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0270.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0270 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "numeric", + second: "undefined" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0280.ets new file mode 100644 index 00000000..d9fce0b7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0280.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0280 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "2-digit", + minute: "numeric", + second: "undefined" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0290.ets new file mode 100644 index 00000000..5ec821dc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0290.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0290 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: 'numeric', + minute: '2-digit', + second: 'undefined', + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0300.ets new file mode 100644 index 00000000..b3ac0493 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0300.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0300 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "numeric", + second: "null" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0310.ets new file mode 100644 index 00000000..09220140 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0310.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0310 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: '2-digit', + minute: 'numeric', + second: 'null', + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0320.ets new file mode 100644 index 00000000..bcd699ed --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0320.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0320 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "2-digit", + second: "null" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0330.ets new file mode 100644 index 00000000..288f6ae7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0330.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0330 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "numeric", + second: "" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0340.ets new file mode 100644 index 00000000..60ebc307 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0340.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0340 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "2-digit", + minute: "numeric", + second: "" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0350.ets new file mode 100644 index 00000000..d962a5f8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0350.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0350 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "2-digit", + second: "" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0360.ets new file mode 100644 index 00000000..98285502 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0360.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0360 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({}) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0370.ets new file mode 100644 index 00000000..3ccbcfb5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0370.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0370 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + minute: "numeric", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0380.ets new file mode 100644 index 00000000..4a96c850 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0380.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0380 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0390.ets new file mode 100644 index 00000000..364a3108 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0390.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0390 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0400.ets new file mode 100644 index 00000000..a7cad115 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0400.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0400 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + minute: "2-digit", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0410.ets new file mode 100644 index 00000000..14938bcd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0410.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0410 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .dateTimeOptions({ + hour: '2-digit', + second: '2-digit' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0420.ets new file mode 100644 index 00000000..58cd6e24 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0420.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0420 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .dateTimeOptions({ + hour: '2-digit', + minute: '2-digit' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0430.ets new file mode 100644 index 00000000..b3427bdb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0430.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0430 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .dateTimeOptions(undefined) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0440.ets new file mode 100644 index 00000000..22c1a8e7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0440.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0440 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker(null) + .dateTimeOptions(undefined) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0450.ets new file mode 100644 index 00000000..9abe8653 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0450.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0450 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0460.ets new file mode 100644 index 00000000..a1982c47 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0460.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0460 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: 'numeric', + minute: 'numeric', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0470.ets new file mode 100644 index 00000000..1ad8bf2e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0470.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0470 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: 'numeric', + minute: '2-digit', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0480.ets new file mode 100644 index 00000000..3799478e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0480.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0480 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: 'numeric', + minute: 'numeric', + second: '2-digit' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0490.ets new file mode 100644 index 00000000..a054f2d3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0490.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0490 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: '2-digit', + minute: '2-digit', + second: '2-digit' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0500.ets new file mode 100644 index 00000000..97404f11 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0500.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0500 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: '2-digit', + minute: 'numeric', + second: '2-digit' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0510.ets new file mode 100644 index 00000000..fb7a16b4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0510.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0510 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: '2-digit', + minute: '2-digit', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0520.ets new file mode 100644 index 00000000..f34a3c48 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0520.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0520 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: 'undefined', + minute: 'numeric', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0530.ets new file mode 100644 index 00000000..1bb93700 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0530.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0530 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "undefined", + minute: "2-digit", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0540.ets new file mode 100644 index 00000000..d1682560 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0540.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0540 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "undefined", + minute: "numeric", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0550.ets new file mode 100644 index 00000000..e83e226f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0550.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0550 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "null", + minute: "numeric", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0560.ets new file mode 100644 index 00000000..1e59ac1a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0560.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0560 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "null", + minute: "2-digit", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0570.ets new file mode 100644 index 00000000..3d82c40c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0570.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0570 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "null", + minute: "numeric", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0580.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0580.ets new file mode 100644 index 00000000..3478af81 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0580.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0580 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: '', + minute: 'numeric', + second: 'numeric' + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0590.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0590.ets new file mode 100644 index 00000000..58042493 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0590.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0590 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "", + minute: "2-digit", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0600.ets new file mode 100644 index 00000000..50592458 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0600.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0600 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "", + minute: "numeric", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0610.ets new file mode 100644 index 00000000..fe0d3c08 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0610.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0610 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "2-digit", + minute: "numeric", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0620.ets new file mode 100644 index 00000000..dbecb8b1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0620.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0620 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: 'numeric', + minute: '2-digit', + second: '2-digit' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0630.ets new file mode 100644 index 00000000..a60b2908 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0630.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0630 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: 'numeric', + minute: 'undefined', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0640.ets new file mode 100644 index 00000000..7bd0c0d3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0640.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0640 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: '2-digit', + minute: 'undefined', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0650.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0650.ets new file mode 100644 index 00000000..0a6e1cff --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0650.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0650 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: 'numeric', + minute: 'undefined', + second: '2-digit' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0660.ets new file mode 100644 index 00000000..3606b11b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0660.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0660 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: 'numeric', + minute: 'null', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0670.ets new file mode 100644 index 00000000..da0ec41c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0670.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0670 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: '2-digit', + minute: 'null', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0680.ets new file mode 100644 index 00000000..88bbcdb2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0680.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0680 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: 'numeric', + minute: 'null', + second: '2-digit' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0690.ets new file mode 100644 index 00000000..c5040cbb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0690.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0690 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: 'numeric', + minute: '', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0700.ets new file mode 100644 index 00000000..ba5b0927 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0700.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0700 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "2-digit", + minute: "", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0710.ets new file mode 100644 index 00000000..98707704 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0710.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0710 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: 'numeric', + minute: '', + second: '2-digit' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0720.ets new file mode 100644 index 00000000..51c9d2df --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0720.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0720 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "numeric", + minute: "numeric", + second: "undefined" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0730.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0730.ets new file mode 100644 index 00000000..7cc1d7f2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0730.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0730 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: '2-digit', + minute: 'numeric', + second: 'undefined' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0740.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0740.ets new file mode 100644 index 00000000..e2e25624 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0740.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0740 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "numeric", + minute: "2-digit", + second: "undefined" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0750.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0750.ets new file mode 100644 index 00000000..706ea892 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0750.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0750 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "numeric", + minute: "numeric", + second: "null" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0760.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0760.ets new file mode 100644 index 00000000..84736243 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0760.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0760 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: '2-digit', + minute: 'numeric', + second: 'null' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0770.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0770.ets new file mode 100644 index 00000000..af1122a2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0770.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0770 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "numeric", + minute: "2-digit", + second: "null" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0780.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0780.ets new file mode 100644 index 00000000..1b3044eb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0780.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0780 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "numeric", + minute: "numeric", + second: "" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0790.ets new file mode 100644 index 00000000..41539694 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0790.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0790 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "2-digit", + minute: "numeric", + second: "" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0800.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0800.ets new file mode 100644 index 00000000..f194541f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0800.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0800 { + @State selectTime: Date = new Date('2024-10-22T08:07:06'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "numeric", + minute: "2-digit", + second: "" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0810.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0810.ets new file mode 100644 index 00000000..8e5afafc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0810.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0810 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({}) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0820.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0820.ets new file mode 100644 index 00000000..281edb1c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0820.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0820 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + minute: 'numeric', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0830.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0830.ets new file mode 100644 index 00000000..affc104a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0830.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0830 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: 'numeric', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0840.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0840.ets new file mode 100644 index 00000000..d6174ae8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0840.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0840 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "numeric", + minute: "numeric", + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0850.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0850.ets new file mode 100644 index 00000000..433e262a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0850.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0850 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + minute: "2-digit", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0860.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0860.ets new file mode 100644 index 00000000..235cf3ce --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0860.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0860 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "2-digit", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0870.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0870.ets new file mode 100644 index 00000000..6cd95981 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0870.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0870 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "2-digit", + minute: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0880.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0880.ets new file mode 100644 index 00000000..6df87d6c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0880.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0880 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "2-digit", + minute: "null", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0890.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0890.ets new file mode 100644 index 00000000..be97b006 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0890.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0890 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions(null) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0900.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0900.ets new file mode 100644 index 00000000..febaf223 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0900.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0900 { + @State selectTime: Date = new Date('2024-10-22T08:07:06'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0910.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0910.ets new file mode 100644 index 00000000..b29e7d04 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0910.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0910 { + @State selectTime: Date = new Date('2024-10-22T08:07:06'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "numeric", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0920.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0920.ets new file mode 100644 index 00000000..f0fbef0c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0920.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0920 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .dateTimeOptions({ + hour: 'numeric', + minute: '2-digit', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0930.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0930.ets new file mode 100644 index 00000000..ef7a3664 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0930.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0930 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "numeric", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0940.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0940.ets new file mode 100644 index 00000000..a2664275 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0940.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0940 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .dateTimeOptions({ + hour: '2-digit', + minute: '2-digit', + second: '2-digit' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0950.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0950.ets new file mode 100644 index 00000000..60ff49f7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0950.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0950 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "2-digit", + minute: "numeric", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0960.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0960.ets new file mode 100644 index 00000000..77351c69 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0960.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0960 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "2-digit", + minute: "2-digit", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0970.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0970.ets new file mode 100644 index 00000000..34a65a31 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0970.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0970 { + @State selectTime: Date = new Date('2024-10-22T08:07:06'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: undefined, + minute: "numeric", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0980.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0980.ets new file mode 100644 index 00000000..8ffd8d06 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0980.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0980 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: undefined, + minute: "2-digit", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0990.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0990.ets new file mode 100644 index 00000000..84a58610 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0990.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric0990 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .dateTimeOptions({ + hour: 'undefined', + minute: 'numeric', + second: '2-digit' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1000.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1000.ets new file mode 100644 index 00000000..08be1219 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1000.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1000 { + @State selectTime: Date = new Date('2024-10-22T08:07:06'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "null", + minute: "numeric", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1010.ets new file mode 100644 index 00000000..20ecec43 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1010.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1010 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "null", + minute: "2-digit", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1020.ets new file mode 100644 index 00000000..8bb0e526 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1020.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1020 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "null", + minute: "numeric", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1030.ets new file mode 100644 index 00000000..5b625d29 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1030.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1030 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "", + minute: "numeric", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1040.ets new file mode 100644 index 00000000..0ea5f6e8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1040.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1040 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "", + minute: "2-digit", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1050.ets new file mode 100644 index 00000000..30ab6faa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1050.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1050 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "", + minute: "numeric", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1060.ets new file mode 100644 index 00000000..642b5472 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1060.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1060 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "2-digit", + minute: "numeric", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1070.ets new file mode 100644 index 00000000..b5e8a8ce --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1070.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1070 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "2-digit", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1080.ets new file mode 100644 index 00000000..db1d4996 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1080.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1080 { + @State selectTime: Date = new Date('2024-10-22T08:07:06'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "undefined", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1090.ets new file mode 100644 index 00000000..c9823052 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1090.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1090 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "2-digit", + minute: "undefined", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1100.ets new file mode 100644 index 00000000..99845bfb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1100.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1100 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "undefined", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1110.ets new file mode 100644 index 00000000..1cd03cce --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1110.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1110 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .dateTimeOptions({ + hour: 'numeric', + minute: 'null', + second: 'minute' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1120.ets new file mode 100644 index 00000000..7d292eb2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1120.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1120 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "2-digit", + minute: "null", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1130.ets new file mode 100644 index 00000000..b091bbc9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1130.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1130 { + @State selectTime: Date = new Date('2024-10-22T08:07:06'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "null", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1140.ets new file mode 100644 index 00000000..9b9935f5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1140.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1140 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1150.ets new file mode 100644 index 00000000..911c8244 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1150.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1150 { + @State selectTime: Date = new Date('2024-10-22T08:07:06'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "2-digit", + minute: "", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1160.ets new file mode 100644 index 00000000..c8d5b7ab --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1160.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1160 { + @State selectTime: Date = new Date('2024-10-22T08:07:06'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1170.ets new file mode 100644 index 00000000..ab922438 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1170.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1170 { + @State selectTime: Date = new Date('2024-10-22T08:07:06'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "numeric", + second: undefined + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1180.ets new file mode 100644 index 00000000..2743e3b0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1180.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1180 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "2-digit", + minute: "numeric", + second: "undefined" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1190.ets new file mode 100644 index 00000000..5e993f65 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1190.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1190 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .dateTimeOptions({ + hour: 'numeric', + minute: '2-digit', + second: 'undefined' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1200.ets new file mode 100644 index 00000000..77c96010 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1200.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1200 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "numeric", + second: "null" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1210.ets new file mode 100644 index 00000000..0d525443 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1210.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1210 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .dateTimeOptions({ + hour: '2-digit', + minute: 'numeric', + second: 'null' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1220.ets new file mode 100644 index 00000000..cbfbdd0b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1220.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1220 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "2-digit", + second: "null" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1230.ets new file mode 100644 index 00000000..84d23a31 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1230.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1230 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "numeric", + second: "" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1240.ets new file mode 100644 index 00000000..03677257 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1240.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1240 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .dateTimeOptions({ + hour: '2-digit', + minute: 'numeric', + second: '' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1250.ets new file mode 100644 index 00000000..b396ed14 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1250.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1250 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "2-digit", + second: "" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1260.ets new file mode 100644 index 00000000..8352c53f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1260.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1260 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({}) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1270.ets new file mode 100644 index 00000000..da1e0fb1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1270.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1270 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + minute: "numeric", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1280.ets new file mode 100644 index 00000000..c2fc462a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1280.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1280 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "", + minute: "numeric", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1290.ets new file mode 100644 index 00000000..50b83076 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1290.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1290 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "numeric", + minute: "numeric", + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1300.ets new file mode 100644 index 00000000..416c30d6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1300.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1300 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + minute: "2-digit", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1310.ets new file mode 100644 index 00000000..dab3a528 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1310.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1310 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "2-digit", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1320.ets new file mode 100644 index 00000000..ed05b2e8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1320.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1320 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions({ + hour: "2-digit", + minute: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1330.ets new file mode 100644 index 00000000..1cb4bd0d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1330.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1330 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions(undefined) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1340.ets new file mode 100644 index 00000000..c111816e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1340.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1340 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + .dateTimeOptions(null) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1350.ets new file mode 100644 index 00000000..52be1b3c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1350.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1350 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(false) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1360.ets new file mode 100644 index 00000000..4a1b9010 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1360.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1360 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "numeric", + minute: "numeric", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1370.ets new file mode 100644 index 00000000..ce70df7b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1370.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1370 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "numeric", + minute: "2-digit", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1380.ets new file mode 100644 index 00000000..802e79fe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1380.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1380 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "numeric", + minute: "numeric", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1390.ets new file mode 100644 index 00000000..d8530c16 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1390.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1390 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "2-digit", + minute: "2-digit", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1400.ets new file mode 100644 index 00000000..0e1f7429 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1400.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1400 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: '2-digit', + minute: 'numeric', + second: '2-digit', + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1410.ets new file mode 100644 index 00000000..66ccc050 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1410.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1410 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "2-digit", + minute: "2-digit", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1420.ets new file mode 100644 index 00000000..e73c6419 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1420.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1420 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "undefined", + minute: "numeric", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1430.ets new file mode 100644 index 00000000..c45b7c00 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1430.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1430 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "undefined", + minute: "2-digit", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1440.ets new file mode 100644 index 00000000..2aa66577 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1440.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1440 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: 'undefined', + minute: 'numeric', + second: '2-digit' + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1450.ets new file mode 100644 index 00000000..560cc1b2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1450.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1450 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: 'null', + minute: 'numeric', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1460.ets new file mode 100644 index 00000000..0c84ecb0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1460.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1460 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "null", + minute: "2-digit", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1470.ets new file mode 100644 index 00000000..a2561d2d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1470.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1470 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: 'null', + minute: 'numeric', + second: '2-digit' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1480.ets new file mode 100644 index 00000000..7518f1ca --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1480.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1480 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "", + minute: "numeric", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1490.ets new file mode 100644 index 00000000..6cb77ebe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1490.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1490 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "", + minute: "2-digit", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1500.ets new file mode 100644 index 00000000..d9c606d7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1500.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1500 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "", + minute: "numeric", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1510.ets new file mode 100644 index 00000000..76b28f72 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1510.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1510 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "2-digit", + minute: "numeric", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1520.ets new file mode 100644 index 00000000..8a01afcb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1520.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1520 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "numeric", + minute: "2-digit", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1530.ets new file mode 100644 index 00000000..cf543f22 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1530.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1530 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "numeric", + minute: "undefined", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1540.ets new file mode 100644 index 00000000..a12482c7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1540.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1540 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: '2-digit', + minute: 'undefined', + second: 'numeric', + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1550.ets new file mode 100644 index 00000000..44fadae7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1550.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1550 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "numeric", + minute: "undefined", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1560.ets new file mode 100644 index 00000000..aaa7654a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1560.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1560 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: 'numeric', + minute: 'null', + second: 'numeric', + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1570.ets new file mode 100644 index 00000000..2f947db3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1570.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1570 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "2-digit", + minute: "null", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1580.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1580.ets new file mode 100644 index 00000000..b87a041f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1580.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1580 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "numeric", + minute: "null", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1590.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1590.ets new file mode 100644 index 00000000..f897f125 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1590.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1590 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "numeric", + minute: "", + second: "numeric" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1600.ets new file mode 100644 index 00000000..1cbc39d5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1600.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1600 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: '2-digit', + minute: '', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1610.ets new file mode 100644 index 00000000..39f35598 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1610.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1610 { + @State selectTime: Date = new Date('2024-10-22T08:07:06'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "numeric", + minute: "", + second: "2-digit" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1620.ets new file mode 100644 index 00000000..65ff0960 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1620.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1620 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: 'numeric', + minute: 'numeric', + second: 'undefined' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1630.ets new file mode 100644 index 00000000..7e9e8c92 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1630.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1630 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "2-digit", + minute: "numeric", + second: "undefined" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1640.ets new file mode 100644 index 00000000..97269a95 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1640.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1640 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "numeric", + minute: "2-digit", + second: "null" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1650.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1650.ets new file mode 100644 index 00000000..18331d57 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1650.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1650 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "numeric", + minute: "numeric", + second: "null" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1660.ets new file mode 100644 index 00000000..eae2935b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1660.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1660 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "2-digit", + minute: "numeric", + second: "null" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1670.ets new file mode 100644 index 00000000..743828b4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1670.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1670 { + @State selectTime: Date = new Date('2024-10-22T08:07:06'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "numeric", + minute: "2-digit", + second: "null" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1680.ets new file mode 100644 index 00000000..2ba70973 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1680.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1680 { + @State selectTime: Date = new Date('2024-10-22T08:07:06'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "numeric", + minute: "numeric", + second: "" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1690.ets new file mode 100644 index 00000000..80794b00 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1690.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1690 { + @State selectTime: Date = new Date('2024-10-22T08:07:06'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: "2-digit", + minute: "numeric", + second: "" + }) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1700.ets new file mode 100644 index 00000000..2b5e2128 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1700.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1700 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: 'numeric', + minute: '2-digit', + second: '' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1710.ets new file mode 100644 index 00000000..055900ec --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1710.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1710 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({}) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1720.ets new file mode 100644 index 00000000..8bfd901e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1720.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1720 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + minute: 'numeric', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1730.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1730.ets new file mode 100644 index 00000000..7e1f361a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1730.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1730 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: 'numeric', + second: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1740.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1740.ets new file mode 100644 index 00000000..37393022 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1740.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1740 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: 'numeric', + minute: 'numeric' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1750.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1750.ets new file mode 100644 index 00000000..34d681ff --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1750.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1750 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: '2-digit', + second: '2-digit' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1760.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1760.ets new file mode 100644 index 00000000..ef3a2ce4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1760.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1760 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: '2-digit', + second: '2-digit' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1770.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1770.ets new file mode 100644 index 00000000..743c218b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1770.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1770 { + private selectedTime: Date = new Date('2022-07-22T08:00:00'); + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions({ + hour: '2-digit', + minute: '2-digit' + }) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1780.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1780.ets new file mode 100644 index 00000000..180031dd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1780.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1780 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE_SECOND + }) + .useMilitaryTime(true) + .dateTimeOptions(undefined) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1790.ets new file mode 100644 index 00000000..4153985e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1790.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1790 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + .dateTimeOptions(null) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1800.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1800.ets new file mode 100644 index 00000000..562d5ed5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1800.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonTimepickerNumeric1800 { + @State selectTime: Date = new Date('2024-10-22T08:07:00'); + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TimePicker({ + selected: this.selectTime, + format: TimePickerFormat.HOUR_MINUTE + }) + .useMilitaryTime(true) + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0010.ets new file mode 100644 index 00000000..55820f57 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0010.ets @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +class MyToggleStyle implements ContentModifier { + applyContent(): WrappedBuilder<[ToggleConfiguration]> { + return wrapBuilder(buildToggle) + } +} + +@Builder +function buildToggle(config: ToggleConfiguration) { + Column({ space: 50 }) { + Text('当前isOn:' + config.isOn) + Text('当前enabled:' + config.enabled) + Row() { + Toggle({ type: ToggleType.Switch, isOn: true }).id('buildToggle') + .onClick(() => { + config.triggerChange(false); + }) + } + } +} + +@Entry +@Component +struct UIComponentButtonToggleCustomizing0010 { + build() { + Column({ space: 50 }) { + Toggle({ type: ToggleType.Switch, isOn: true }) + .enabled(true) + .contentModifier(new MyToggleStyle()) + }.height('100%').width('100%') + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0020.ets new file mode 100644 index 00000000..070eb563 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0020.ets @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MySwitchStyle4 implements ContentModifier { + applyContent(): WrappedBuilder<[ToggleConfiguration]> { + return wrapBuilder(buildToggle4) + } +} + + +@Builder +function buildToggle4(config: ToggleConfiguration) { + Column({ space: 50 }) { + Text('当前isOn:' + config.isOn) + Text('当前enabled:' + config.enabled) + Row() { + Toggle({ type: ToggleType.Switch, isOn: null }) + .onClick(() => { + config.triggerChange(false); + }) + .id('buildToggle') + } + } +} + +@Entry +@Component +struct UIComponentButtonToggleCustomizing0020 { + build() { + Column({ space: 50 }) { + Toggle({ type: ToggleType.Switch }) + .enabled(true) + .contentModifier(new MySwitchStyle4()) + }.height('100%').width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0030.ets new file mode 100644 index 00000000..e4aea069 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0030.ets @@ -0,0 +1,46 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MySwitchStyle10 implements ContentModifier { + applyContent(): WrappedBuilder<[ToggleConfiguration]> { + return wrapBuilder(buildToggle10) + } +} + +@Builder +function buildToggle10(config: ToggleConfiguration) { + Column({ space: 50 }) { + Text('当前isOn:' + config.isOn) + Text('当前enabled:' + config.enabled) + Row() { + Toggle({ type: ToggleType.Switch, isOn: undefined }) + .onClick(() => { + config.triggerChange(false) + }) + .id('buildToggle') + } + } +} + +@Entry +@Component +struct UIComponentButtonToggleCustomizing0030 { + build() { + Column({ space: 50 }) { + Toggle({ type: ToggleType.Switch }) + .enabled(true) + .contentModifier(new MySwitchStyle10()) + }.height('100%').width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0050.ets new file mode 100644 index 00000000..178fb3ff --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0050.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MySwitchStyle11 implements ContentModifier { + applyContent(): WrappedBuilder<[ToggleConfiguration]> { + return wrapBuilder(buildToggle11) + } +} + +@Builder +function buildToggle11(config: ToggleConfiguration) { + Column({ space: 50 }) { + Text('当前isOn:' + config.isOn) + Text('当前enabled:' + config.enabled) + Row() { + Toggle({ type: ToggleType.Switch, isOn: true }) + .id('buildToggle') + } + } +} + +@Entry +@Component +struct UIComponentButtonToggleCustomizing0050 { + build() { + Column({ space: 50 }) { + Toggle({ type: ToggleType.Switch }) + .enabled(undefined) + .contentModifier(new MySwitchStyle11()) + }.height('100%').width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0060.ets new file mode 100644 index 00000000..2f42dbd2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0060.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MySwitchStyle3 implements ContentModifier { + applyContent(): WrappedBuilder<[ToggleConfiguration]> { + return wrapBuilder(buildToggle3) + } +} + +@Builder +function buildToggle3(config: ToggleConfiguration) { + Column({ space: 50 }) { + Text('当前isOn:' + config.isOn) + Text('当前enabled:' + config.enabled) + Row() { + Toggle({ type: ToggleType.Switch, isOn: true }) + .id('buildToggle') + } + } +} + +@Entry +@Component +struct UIComponentButtonToggleCustomizing0060 { + build() { + Column({ space: 50 }) { + Toggle({ type: ToggleType.Switch }) + .enabled(null) + .contentModifier(new MySwitchStyle3()) + }.height('100%').width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0070.ets new file mode 100644 index 00000000..88700932 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0070.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MySwitchStyle12 implements ContentModifier { + num: number = 123; + + constructor(num: number) { + this.num = num; + } + + applyContent(): WrappedBuilder<[ToggleConfiguration]> { + return wrapBuilder(buildToggle12) + } +} + +@Builder +function buildToggle12(config: ToggleConfiguration) { + Column({ space: 50 }) { + Text('当前isOn:' + config.isOn + ' contentModifier:' + + JSON.stringify((config.contentModifier as MySwitchStyle12).num)) + Text('当前enabled:' + config.enabled + ' contentModifier:' + + JSON.stringify((config.contentModifier as MySwitchStyle12).num)) + Row() { + Toggle({ type: ToggleType.Switch, isOn: true }) + .id('buildToggle') + } + } +} + +@Entry +@Component +struct UIComponentButtonToggleCustomizing0070 { + build() { + Column({ space: 50 }) { + Toggle({ type: ToggleType.Switch }) + .contentModifier(new MySwitchStyle12(undefined)) + }.height('100%').width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0080.ets new file mode 100644 index 00000000..afe66802 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0080.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MySwitchStyle13 implements ContentModifier { + num: number = 123; + + constructor(num: number) { + this.num = num; + } + + applyContent(): WrappedBuilder<[ToggleConfiguration]> { + return wrapBuilder(buildToggle13) + } +} + +@Builder +function buildToggle13(config: ToggleConfiguration) { + Column({ space: 50 }) { + Text('当前isOn:' + config.isOn + ' contentModifier:' + + JSON.stringify((config.contentModifier as MySwitchStyle13).num)) + Text('当前enabled:' + config.enabled + ' contentModifier:' + + JSON.stringify((config.contentModifier as MySwitchStyle13).num)) + Row() { + Toggle({ type: ToggleType.Switch, isOn: true }) + .id('buildToggle') + } + } +} + +@Entry +@Component +struct UIComponentButtonToggleCustomizing0080 { + build() { + Column({ space: 50 }) { + Toggle({ type: ToggleType.Switch }) + .contentModifier(new MySwitchStyle13(null)) + }.height('100%').width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0090.ets new file mode 100644 index 00000000..44fe79e5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0090.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MySwitchStyle5 implements ContentModifier { + applyContent(): WrappedBuilder<[ToggleConfiguration]> { + return wrapBuilder(buildToggle5) + } +} + +@Builder +function buildToggle5(config: ToggleConfiguration) { + Column({ space: 50 }) { + Text('当前isOn:' + config.isOn) + Text('当前enabled:' + config.enabled) + Row() { + Toggle({ type: ToggleType.Switch, isOn: true }) + .id('buildToggle') + } + } +} + +@Entry +@Component +struct UIComponentButtonToggleCustomizing0090 { + build() { + Column({ space: 50 }) { + Toggle({ type: ToggleType.Switch }) + .contentModifier(new MySwitchStyle5()) + }.height('100%').width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0100.ets new file mode 100644 index 00000000..da585c88 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0100.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MySwitchStyle16 implements ContentModifier { + applyContent(): WrappedBuilder<[ToggleConfiguration]> { + return wrapBuilder(buildToggle16) + } +} + +@Builder +function buildToggle16(config: ToggleConfiguration) { + Column({ space: 50 }) { + Text('当前isOn:' + config.isOn) + Text('当前enabled:' + config.enabled) + Row() { + Toggle({ type: ToggleType.Checkbox, isOn: true }) + .onClick(() => { + config.triggerChange(false) + }) + .onChange(() => { + console.log('onChange:232132132132'); + }) + .id('buildToggle') + } + } +} + +@Entry +@Component +struct UIComponentButtonToggleCustomizing0100 { + build() { + Column({ space: 50 }) { + Toggle({ type: ToggleType.Checkbox }) + .contentModifier(new MySwitchStyle16()) + }.height('100%').width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0110.ets new file mode 100644 index 00000000..939eaf5d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0110.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MySwitchStyle6 implements ContentModifier { + applyContent(): WrappedBuilder<[ToggleConfiguration]> { + return wrapBuilder(buildToggle6) + } +} + +@Builder +function buildToggle6(config: ToggleConfiguration) { + Column({ space: 50 }) { + Text('当前isOn:' + config.isOn) + Text('当前enabled:' + config.enabled) + Row() { + Toggle({ type: ToggleType.Switch, isOn: true }) + .onClick(() => { + config.triggerChange(null) + }) + .id('buildToggle') + } + } +} + +@Entry +@Component +struct UIComponentButtonToggleCustomizing0110 { + build() { + Column({ space: 50 }) { + Toggle({ type: ToggleType.Switch }) + .contentModifier(new MySwitchStyle6()) + }.height('100%').width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0120.ets new file mode 100644 index 00000000..28989e60 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0120.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MySwitchStyle7 implements ContentModifier { + applyContent(): WrappedBuilder<[ToggleConfiguration]> { + return wrapBuilder(buildToggle7) + } +} + +@Builder +function buildToggle7(config: ToggleConfiguration) { + Column({ space: 50 }) { + Text('当前isOn:' + config.isOn) + Text('当前enabled:' + config.enabled) + Row() { + Toggle({ type: ToggleType.Switch, isOn: true }) + .onClick(() => { + config.triggerChange(undefined) + }) + .id('buildToggle') + } + } +} + +@Entry +@Component +struct UIComponentButtonToggleCustomizing0120 { + build() { + Column({ space: 50 }) { + Toggle({ type: ToggleType.Switch }) + .contentModifier(new MySwitchStyle7()) + }.height('100%').width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0130.ets new file mode 100644 index 00000000..af1e7e22 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0130.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MySwitchStyle9 implements ContentModifier { + num: number = 123; + + constructor(num: number) { + this.num = num; + } + + applyContent(): WrappedBuilder<[ToggleConfiguration]> { + return wrapBuilder(buildToggle9) + } +} + +@Builder +function buildToggle9(config: ToggleConfiguration) { + Column({ space: 50 }) { + Text('当前isOn:' + config.isOn + ' contentModifier:' + + JSON.stringify((config.contentModifier as MySwitchStyle9).num)) + Text('当前enabled:' + config.enabled + ' contentModifier:' + + JSON.stringify((config.contentModifier as MySwitchStyle9).num)) + Row() { + Toggle({ type: ToggleType.Switch, isOn: true }) + .id('buildToggle') + } + } +} + +@Entry +@Component +struct UIComponentButtonToggleCustomizing0130 { + build() { + Column({ space: 50 }) { + Toggle({ type: ToggleType.Switch }) + .contentModifier(new MySwitchStyle9(123465)) + }.height('100%').width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0140.ets new file mode 100644 index 00000000..5f667064 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0140.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MySwitchStyle8 implements ContentModifier { + num: number = 123; + + constructor(num: number) { + this.num = num; + } + + applyContent(): WrappedBuilder<[ToggleConfiguration]> { + return wrapBuilder(buildToggle8) + } +} + +@Builder +function buildToggle8(config: ToggleConfiguration) { + Column({ space: 50 }) { + Text('当前isOn:' + config.isOn + ' contentModifier:' + + JSON.stringify((config.contentModifier as MySwitchStyle8).num)) + Text('当前enabled:' + config.enabled + ' contentModifier:' + + JSON.stringify((config.contentModifier as MySwitchStyle8).num)) + Row() { + Toggle({ type: ToggleType.Switch, isOn: true }) + .id('buildToggle') + } + } +} + +@Entry +@Component +struct UIComponentButtonToggleCustomizing0140 { + build() { + Column({ space: 50 }) { + Toggle({ type: ToggleType.Switch }) + .contentModifier(new MySwitchStyle8(-10.55555)) + }.height('100%').width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0150.ets new file mode 100644 index 00000000..dafeb418 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0150.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MySwitchStyle2 implements ContentModifier { + text: string = 'string'; + + constructor(text: string) { + this.text = text; + } + + applyContent(): WrappedBuilder<[ToggleConfiguration]> { + return wrapBuilder(buildToggle2) + } +} + +@Builder +function buildToggle2(config: ToggleConfiguration) { + Column({ space: 50 }) { + Text('当前isOn:' + config.isOn + ' contentModifier:' + + JSON.stringify((config.contentModifier as MySwitchStyle2).text)) + Text('当前enabled:' + config.enabled + ' contentModifier:' + + JSON.stringify((config.contentModifier as MySwitchStyle2).text)) + Row() { + Toggle({ type: ToggleType.Switch, isOn: true }) + .id('buildToggle') + } + } +} + +@Entry +@Component +struct UIComponentButtonToggleCustomizing0150 { + build() { + Column({ space: 50 }) { + Toggle({ type: ToggleType.Switch }) + .contentModifier(new MySwitchStyle2('嘻嘻哈哈&-…%%')) + }.height('100%').width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0170.ets new file mode 100644 index 00000000..f6d34a5b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0170.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MySwitchStyle14 implements ContentModifier { + applyContent(): WrappedBuilder<[ToggleConfiguration]> { + return wrapBuilder(buildToggle14) + } +} + +@Builder +function buildToggle14(config: ToggleConfiguration) { + Column({ space: 50 }) { + Text('当前isOn:' + config.isOn) + Text('当前enabled:' + config.enabled) + Row() { + Toggle({ type: ToggleType.Switch, isOn: true }) + .id('buildToggle') + } + } +} + +@Entry +@Component +struct UIComponentButtonToggleCustomizing0170 { + build() { + Column({ space: 50 }) { + Toggle({ type: ToggleType.Switch }) + .contentModifier(new MySwitchStyle14()) + .contentModifier(new MySwitchStyle14()) + }.height('100%').width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleEvent/UIComponentButtonToggleEvent0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleEvent/UIComponentButtonToggleEvent0010.ets new file mode 100644 index 00000000..a2c886d3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleEvent/UIComponentButtonToggleEvent0010.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonToggleEvent010 { + @State Size: number = 40 + + build() { + Column() { + Button('切换fontSize数值').id('Button').onClick(() => { + if (this.Size === 40) { + this.Size = 30 + } else if (this.Size === 30) { + this.Size = 20 + } else if (this.Size === 20) { + this.Size = 60 + } + }) + Row() { + Toggle({ type: ToggleType.Button }) { + Text('Toggle Button') + .fontSize(this.Size) + } + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInteraction/UIComponentButtonToggleInteraction0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInteraction/UIComponentButtonToggleInteraction0010.ets new file mode 100644 index 00000000..ba793638 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInteraction/UIComponentButtonToggleInteraction0010.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentButtonToggleInteraction0010 { + @State stateA: boolean = true; + @State stateB: boolean = true; + @State stateC: boolean = true; + + build() { + Column() { + Toggle({ type: ToggleType.Checkbox, isOn: this.stateA }).id("toggle_1") + .onChange((isOn) => { + this.stateA = isOn + }) + Toggle({ type: ToggleType.Switch, isOn: this.stateB }).id("toggle_2") + .onChange((isOn) => { + this.stateB = isOn + }) + Toggle({ type: ToggleType.Button, isOn: this.stateC }) { + Text('status button').fontColor(Color.Gray).fontSize(12).padding(10) + }.id("toggle_3") + .onChange((isOn) => { + this.stateC = isOn + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInteraction/UIComponentButtonToggleInteraction0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInteraction/UIComponentButtonToggleInteraction0020.ets new file mode 100644 index 00000000..190b1151 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInteraction/UIComponentButtonToggleInteraction0020.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonToggleInteraction0020 { + @State stateA: boolean = true; + @State stateB: boolean = true; + @State stateC: boolean = true; + + build() { + Column() { + Toggle({ type: ToggleType.Checkbox, isOn: this.stateA }).id("toggle_1") + .onChange((isOn) => { + this.stateA = isOn + }) + Toggle({ type: ToggleType.Switch, isOn: this.stateB }).id("toggle_2") + .onChange((isOn) => { + this.stateB = isOn + }) + Toggle({ type: ToggleType.Button, isOn: this.stateC }) { + Text('status button').fontColor(Color.Gray).fontSize(12).padding(10) + }.id("toggle_3") + .onChange((isOn) => { + this.stateC = isOn + }) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInteraction/UIComponentButtonToggleInteraction0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInteraction/UIComponentButtonToggleInteraction0030.ets new file mode 100644 index 00000000..588ae295 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInteraction/UIComponentButtonToggleInteraction0030.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonToggleInteraction0030 { + @State stateA: boolean = true; + @State stateB: boolean = true; + @State stateC: boolean = true; + + build() { + Column() { + Toggle({ type: ToggleType.Checkbox, isOn: this.stateA }).id("toggle_1") + .onChange((isOn) => { + this.stateA = isOn + }) + Toggle({ type: ToggleType.Switch, isOn: this.stateB }).id("toggle_2") + .onChange((isOn) => { + this.stateB = isOn + }) + Toggle({ type: ToggleType.Button, isOn: this.stateC }) { + Text('status button').fontColor(Color.Gray).fontSize(12).padding(10) + }.id("toggle_3") + .onChange((isOn) => { + this.stateC = isOn + }) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0010.ets new file mode 100644 index 00000000..6c4a1e49 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0010.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonToggleInterface0010 { + @State testIsOn: boolean = false + + onPageShow() { + let intervalID = setInterval(() => { + this.testIsOn = true + clearInterval(intervalID) + }, 600) + } + + build() { + Column() { + Row() { + Toggle({ type: ToggleType.Button, isOn: this.testIsOn }) { + Text('Toggle Button') + } + .switchPointColor(Color.Pink) + + Toggle({ type: ToggleType.Checkbox, isOn: this.testIsOn }) + .switchPointColor(Color.Pink) + + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0040.ets new file mode 100644 index 00000000..cebc9ae0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0040.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonToggleInterface0040 { + build() { + Column() { + Row() { + Toggle({ type: ToggleType.Button }) { + Text('Toggle Button') + } + .margin({ + top: "12px", + right: "12px", + bottom: "12px", + left: "12px" + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0070.ets new file mode 100644 index 00000000..37c2f360 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0070.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonToggleInterface0070 { + build() { + Column() { + Row() { + Toggle({ type: ToggleType.Switch }) + .margin({ + top: "6px", + right: "14px", + bottom: "6px", + left: "14px" + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0170.ets new file mode 100644 index 00000000..ec432a6a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0170.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonToggleInterface0170 { + build() { + Column() { + Row() { + Toggle({ type: ToggleType.Switch, isOn: true }) + .selectedColor(undefined) + Toggle({ type: ToggleType.Button, isOn: true }) { + Text('Toggle Button') + } + .selectedColor(undefined) + + Toggle({ type: ToggleType.Checkbox, isOn: true }) + .selectedColor(undefined) + } + } + .width('100%') + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0220.ets new file mode 100644 index 00000000..8b71e71c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0220.ets @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonToggleInterface0220 { + build() { + Column() { + Row() { + Toggle({ type: ToggleType.Switch, isOn: null }) + Toggle({ type: ToggleType.Button, isOn: null }) { + Text('Toggle Button') + } + + Toggle({ type: ToggleType.Checkbox, isOn: null }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0230.ets new file mode 100644 index 00000000..f4da750c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0230.ets @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UIComponentButtonToggleInterface0230 { + build() { + Column() { + Row() { + Toggle({ type: ToggleType.Switch, isOn: undefined }) + Toggle({ type: ToggleType.Button, isOn: undefined }) { + Text('Toggle Button') + } + + Toggle({ type: ToggleType.Checkbox, isOn: undefined }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0250.ets new file mode 100644 index 00000000..55c5452a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0250.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UIComponentButtonToggleInterface0250 { + build() { + Column() { + Row() { + Toggle({ type: ToggleType.Switch, isOn: true }) + .margin(null) + Toggle({ type: ToggleType.Button, isOn: true }) { + Text('Toggle Button') + } + .margin(null) + + Toggle({ type: ToggleType.Checkbox, isOn: true }) + .margin(null) + } + } + .width('100%') + .height('100%') + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0330.ets new file mode 100644 index 00000000..319b9064 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0330.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonToggleInterface0330 { + build() { + Column() { + Row() { + Toggle({ type: ToggleType.Switch }) + .switchPointColor(undefined) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0010.ets new file mode 100644 index 00000000..13a0b464 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0010.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import i18n from '@ohos.i18n'; + +@Entry +@Component +struct UIComponentButtonToggleMirror0010 { + @State testIsOn: boolean = false + + onPageShow() { + i18n.System.setAppPreferredLanguage("ug"); + this.testIsOn = true + } + + build() { + Column() { + Row() { + Toggle({ type: ToggleType.Switch, isOn: this.testIsOn }) + Toggle({ type: ToggleType.Button }) { + Text('Toggle Button') + } + + Toggle({ type: ToggleType.Checkbox }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0030.ets new file mode 100644 index 00000000..15c8c067 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0030.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import i18n from '@ohos.i18n'; + +@Entry +@Component +struct UIComponentButtonToggleMirror0030 { + @State testIsOn: boolean = false + + build() { + Column() { + Button('维吾尔语').id('Button').onClick(() => { + i18n.System.setAppPreferredLanguage("ug"); + this.testIsOn = true + }) + + + Row() { + Toggle({ type: ToggleType.Switch, isOn: this.testIsOn }) + Toggle({ type: ToggleType.Button }) { + Text('Toggle Button') + } + + Toggle({ type: ToggleType.Checkbox }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0070.ets new file mode 100644 index 00000000..46dae84f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0070.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import i18n from '@ohos.i18n'; +import screenLock from '@ohos.screenLock'; + +@Entry +@Component +struct UIComponentButtonToggleMirror0070 { + @State testIsOn: boolean = false + + onPageShow() { + i18n.System.setAppPreferredLanguage("ug"); + + this.testIsOn = true + setTimeout(() => { + screenLock.lock().then(() => { + }) + }, 450) + setTimeout(() => { + screenLock.unlock().then(() => { + }) + }, 455) + } + + build() { + Column() { + Row() { + Toggle({ type: ToggleType.Switch, isOn: this.testIsOn }) + Toggle({ type: ToggleType.Button }) { + Text('Toggle Button') + } + + Toggle({ type: ToggleType.Checkbox }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0090.ets new file mode 100644 index 00000000..c4795854 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0090.ets @@ -0,0 +1,54 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import i18n from '@ohos.i18n'; + +class MyToggleModifier implements AttributeModifier { + isDark: boolean = false + + applyNormalAttribute(instance: ToggleAttribute): void { + if (this.isDark) { + instance.backgroundColor(Color.Red) + } else { + instance.backgroundColor(Color.Black) + } + } +} + +@Entry +@Component +struct UIComponentButtonToggleMirror0090 { + @State testIsOn: boolean = false + @State modifier: MyToggleModifier = new MyToggleModifier() + + aboutToAppear() { + i18n.System.setAppPreferredLanguage("ug"); + } + + onPageShow() { + this.modifier.isDark = !this.modifier.isDark + this.testIsOn = true + } + + build() { + Column() { + Row() { + Toggle({ type: ToggleType.Switch, isOn: this.testIsOn }) + .attributeModifier(this.modifier) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0100.ets new file mode 100644 index 00000000..4701d8c1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0100.ets @@ -0,0 +1,57 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import i18n from '@ohos.i18n'; + +@Entry +@Component +struct UIComponentButtonToggleMirror0100 { + @State DirectionType: Direction = Direction.Ltr + + aboutToAppear(): void { + i18n.System.setAppPreferredLanguage("ug"); + } + + build() { + Column() { + Button('设置direction属性') + .onClick(() => { + this.toggleDirection(); + }) + .id('Button') + + Row() { + Toggle({ type: ToggleType.Switch, isOn: true }) + Toggle({ type: ToggleType.Button, isOn: true }) { + Text('Toggle Button') + } + + Toggle({ type: ToggleType.Checkbox, isOn: true }) + } + .direction(this.DirectionType) + .width('100%') + .height('100%') + } + } + + toggleDirection() { + if (this.DirectionType == Direction.Rtl) { + this.DirectionType = Direction.Auto + } else if (this.DirectionType == Direction.Auto) { + this.DirectionType = Direction.Ltr + } else { + this.DirectionType = Direction.Rtl + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0110.ets new file mode 100644 index 00000000..50913378 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0110.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import i18n from '@ohos.i18n'; + +@Entry +@Component +struct UIComponentButtonToggleMirror0110 { + @State DirectionType: Direction = Direction.Ltr + + aboutToAppear() { + i18n.System.setAppPreferredLanguage("ug"); + } + + build() { + Column() { + Button('设置direction属性').id('Button').onClick(() => { + if (this.DirectionType == Direction.Rtl) { + this.DirectionType = Direction.Auto + } else if (this.DirectionType == Direction.Auto) { + this.DirectionType = Direction.Ltr + } else { + this.DirectionType = Direction.Rtl + } + }) + + + Row() { + Toggle({ type: ToggleType.Button, isOn: true }) { + Text('Toggle Button') + .direction(this.DirectionType) + .width('30%') + .height('10%') + } + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0120.ets new file mode 100644 index 00000000..55cece24 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0120.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import i18n from '@ohos.i18n'; + +@Entry +@Component +struct UIComponentButtonToggleMirror0120 { + @State testIsOn: boolean = false + + aboutToAppear() { + i18n.System.setAppPreferredLanguage("ug"); + } + + onPageShow() { + this.testIsOn = true + } + + build() { + Column() { + Row() { + Toggle({ type: ToggleType.Switch, isOn: this.testIsOn }) + .margin({ left: 10 }) + } + .margin(10) + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0130.ets new file mode 100644 index 00000000..c17ae064 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0130.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import i18n from '@ohos.i18n'; + +@Entry +@Component +struct UIComponentButtonToggleMirror0130 { + @State testIsOn: boolean = false + + aboutToAppear() { + i18n.System.setAppPreferredLanguage("ug"); + } + + onPageShow() { + this.testIsOn = true + } + + build() { + Column() { + Row() { + Toggle({ type: ToggleType.Switch, isOn: this.testIsOn }) + .padding({ left: 10 }) + } + .padding(10) + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0140.ets new file mode 100644 index 00000000..196eb858 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0140.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import i18n from '@ohos.i18n'; + +@Entry +@Component +struct UIComponentButtonToggleMirror0140 { + languages: string[] = ['ug', 'zh', 'en', 'bo', 'zh-Hant']; + i = 0 + + build() { + Column() { + Button('切换语言').id('Button').onClick(() => { + i18n.System.setAppPreferredLanguage(this.languages[this.i]); + this.i += 1 + }) + Row() { + Toggle({ type: ToggleType.Switch, isOn: true }) + Toggle({ type: ToggleType.Button }) { + Text('Toggle Button') + } + + Toggle({ type: ToggleType.Checkbox }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentContainerSpanInterface/UIComponentContainerSpanInterface002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentContainerSpanInterface/UIComponentContainerSpanInterface002.ets new file mode 100644 index 00000000..a2a13be1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentContainerSpanInterface/UIComponentContainerSpanInterface002.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentContainerSpanInterface002 { + build() { + Column() { + Text('ContainerSpan无width和height,和onClick属性,代码报错') + .fontColor(Color.Red) + Image('testability/resources/containerspan_width_error.png') + .width('100%') + Image('testability/resources/containerspan_height_error.png') + .width('100%') + Image('testability/resources/containerspan_click_error.png') + .width('100%') + } + .width('100%') + .alignItems(HorizontalAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0020.ets new file mode 100644 index 00000000..010c73a7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0020.ets @@ -0,0 +1,54 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0020 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + useMilitaryTime: false, + format: TimePickerFormat.HOUR_MINUTE_SECOND, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)) + } + }) + } + + aboutToAppear(): void { + try { + //简体中文 + i18n.System.setAppPreferredLanguage('zh-Hans') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0030.ets new file mode 100644 index 00000000..af7d3281 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0030.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0030 { + aboutToAppear(): void { + try { + //维吾尔文 + i18n.System.setAppPreferredLanguage('ug') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column({ space: 20 }) { + TimePicker({ + selected: new Date('2020-12-25T08:30:00'), + format: TimePickerFormat.HOUR_MINUTE_SECOND, + }) + .id('TimePicker') + .useMilitaryTime(false) + .disappearTextStyle({ color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }) + .textStyle({ color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }) + .selectedTextStyle({ color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }) + .onChange((value: TimePickerResult) => { + console.info("TimePicker:onChange()" + JSON.stringify(value)) + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0040.ets new file mode 100644 index 00000000..9202d187 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0040.ets @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0040 { + aboutToAppear(): void { + try { + //简体中文 + i18n.System.setAppPreferredLanguage('zh-Hans') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column({ space: 20 }) { + + Button('切换语言为英文') + .id('ChangeAppLanguage') + .onClick(() => { + try { + //英文 + i18n.System.setAppPreferredLanguage('en-Latn-US') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + }) + + TimePicker({ + selected: new Date('2020-12-25T08:30:00'), + format: TimePickerFormat.HOUR_MINUTE_SECOND, + }) + .id('TimePicker') + .useMilitaryTime(false) + .disappearTextStyle({ color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }) + .textStyle({ color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }) + .selectedTextStyle({ color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }) + .onChange((value: TimePickerResult) => { + console.info("TimePicker:onChange()" + JSON.stringify(value)) + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0050.ets new file mode 100644 index 00000000..629d4a08 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0050.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0050 { + aboutToAppear(): void { + try { + //藏文 + i18n.System.setAppPreferredLanguage('bo') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column({ space: 20 }) { + TimePicker({ + selected: new Date('2020-12-25T08:30:00'), + format: TimePickerFormat.HOUR_MINUTE, + }) + .id('TimePicker') + .useMilitaryTime(true) + .disappearTextStyle({ color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }) + .textStyle({ color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }) + .selectedTextStyle({ color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }) + .onChange((value: TimePickerResult) => { + console.info("TimePicker:onChange()" + JSON.stringify(value)) + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0060.ets new file mode 100644 index 00000000..32ac7b3b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0060.ets @@ -0,0 +1,54 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0060 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + useMilitaryTime: false, + format: TimePickerFormat.HOUR_MINUTE_SECOND, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)) + } + }) + } + + aboutToAppear(): void { + try { + //藏文 + i18n.System.setAppPreferredLanguage('bo') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0070.ets new file mode 100644 index 00000000..f4391ffb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0070.ets @@ -0,0 +1,54 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0070 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + useMilitaryTime: false, + format: TimePickerFormat.HOUR_MINUTE_SECOND, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)) + } + }) + } + + aboutToAppear(): void { + try { + //维吾尔文 + i18n.System.setAppPreferredLanguage('ug') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0080.ets new file mode 100644 index 00000000..870bfe7a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0080.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0080 { + aboutToAppear(): void { + try { + //藏文 + i18n.System.setAppPreferredLanguage('bo') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column({ space: 20 }) { + TimePicker({ + selected: new Date('2020-12-25T08:30:00'), + format: TimePickerFormat.HOUR_MINUTE_SECOND, + }) + .id('TimePicker') + .useMilitaryTime(false) + .disappearTextStyle({ color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }) + .textStyle({ color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }) + .selectedTextStyle({ color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }) + .onChange((value: TimePickerResult) => { + console.info("TimePicker:onChange()" + JSON.stringify(value)) + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0090.ets new file mode 100644 index 00000000..644d6649 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0090.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0090 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + useMilitaryTime: true, + format: TimePickerFormat.HOUR_MINUTE, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)) + } + }) + } + + aboutToAppear(): void { + try { + //简体中文 + i18n.System.setAppPreferredLanguage('zh-Hans') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column({ space: 20 }) { + + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + + Button('切换语言为英文') + .id('ChangeAppLanguage') + .onClick(() => { + try { + //英文 + i18n.System.setAppPreferredLanguage('en-Latn-US') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + }) + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0100.ets new file mode 100644 index 00000000..d45739b8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0100.ets @@ -0,0 +1,54 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0100 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + useMilitaryTime: false, + format: TimePickerFormat.HOUR_MINUTE_SECOND, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)) + } + }) + } + + aboutToAppear(): void { + try { + //繁体中文 + i18n.System.setAppPreferredLanguage('zh-Hant') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0110.ets new file mode 100644 index 00000000..32e0956e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0110.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0110 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + useMilitaryTime: false, + format: TimePickerFormat.HOUR_MINUTE_SECOND, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)) + } + }) + } + + aboutToAppear(): void { + try { + //简体中文 + i18n.System.setAppPreferredLanguage('zh-Hans') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column({ space: 20 }) { + + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + + Button('切换语言为英文') + .id('ChangeAppLanguage') + .onClick(() => { + try { + //英文 + i18n.System.setAppPreferredLanguage('en-Latn-US') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + }) + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0120.ets new file mode 100644 index 00000000..1abe9a88 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0120.ets @@ -0,0 +1,54 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0120 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + useMilitaryTime: true, + format: TimePickerFormat.HOUR_MINUTE, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)) + } + }) + } + + aboutToAppear(): void { + try { + //繁体中文 + i18n.System.setAppPreferredLanguage('zh-Hant') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0130.ets new file mode 100644 index 00000000..edc1dd61 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0130.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0130 { + aboutToAppear(): void { + try { + //简体中文 + i18n.System.setAppPreferredLanguage('zh-Hans') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column({ space: 20 }) { + TimePicker({ + selected: new Date('2022-07-22T08:30:00'), + format: TimePickerFormat.HOUR_MINUTE_SECOND, + }) + .id('TimePicker') + .useMilitaryTime(false) + .disappearTextStyle({ color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }) + .textStyle({ color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }) + .selectedTextStyle({ color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }) + .onChange((value: TimePickerResult) => { + console.info("TimePicker:onChange()" + JSON.stringify(value)) + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0140.ets new file mode 100644 index 00000000..2cec680c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0140.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0140 { + aboutToAppear(): void { + try { + //英文 + i18n.System.setAppPreferredLanguage('en-Latn-US') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column({ space: 20 }) { + TimePicker({ + selected: new Date('2020-12-25T08:30:00'), + format: TimePickerFormat.HOUR_MINUTE_SECOND, + }) + .id('TimePicker') + .useMilitaryTime(false) + .disappearTextStyle({ color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }) + .textStyle({ color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }) + .selectedTextStyle({ color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }) + .onChange((value: TimePickerResult) => { + console.info("TimePicker:onChange()" + JSON.stringify(value)) + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0150.ets new file mode 100644 index 00000000..544ba6d9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0150.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; +import resourceManager from '@ohos.resourceManager'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0150 { + aboutToAppear(): void { + try { + //简体中文 + i18n.System.setAppPreferredLanguage('zh-Hans') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column({ space: 20 }) { + TimePicker({ + selected: new Date('2020-12-25T08:30:00'), + format: TimePickerFormat.HOUR_MINUTE, + }) + .id('TimePicker') + .useMilitaryTime(true) + .disappearTextStyle({ color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }) + .textStyle({ color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }) + .selectedTextStyle({ color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }) + .onChange((value: TimePickerResult) => { + console.info("TimePicker:onChange()" + JSON.stringify(value)) + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0160.ets new file mode 100644 index 00000000..f43d4e0b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0160.ets @@ -0,0 +1,54 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0160 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + useMilitaryTime: true, + format: TimePickerFormat.HOUR_MINUTE, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)) + } + }) + } + + aboutToAppear(): void { + try { + //维吾尔文 + i18n.System.setAppPreferredLanguage('ug') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0170.ets new file mode 100644 index 00000000..08f49780 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0170.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0170 { + aboutToAppear(): void { + try { + //繁体中文 + i18n.System.setAppPreferredLanguage('zh-Hant') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column({ space: 20 }) { + TimePicker({ + selected: new Date('2020-12-25T08:30:00'), + format: TimePickerFormat.HOUR_MINUTE_SECOND, + }) + .id('TimePicker') + .useMilitaryTime(false) + .disappearTextStyle({ color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }) + .textStyle({ color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }) + .selectedTextStyle({ color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }) + .onChange((value: TimePickerResult) => { + console.info("TimePicker:onChange()" + JSON.stringify(value)) + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0180.ets new file mode 100644 index 00000000..942373d4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0180.ets @@ -0,0 +1,54 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0180 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + useMilitaryTime: true, + format: TimePickerFormat.HOUR_MINUTE, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)) + } + }) + } + + aboutToAppear(): void { + try { + //简体中文 + i18n.System.setAppPreferredLanguage('zh-Hans') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0190.ets new file mode 100644 index 00000000..0bfdd25f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0190.ets @@ -0,0 +1,54 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0190 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2022-07-22T08:30:00'), + useMilitaryTime: false, + format: TimePickerFormat.HOUR_MINUTE_SECOND, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)) + } + }) + } + + aboutToAppear(): void { + try { + //英文 + i18n.System.setAppPreferredLanguage('en-Latn-US') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0200.ets new file mode 100644 index 00000000..b8707e2f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0200.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0200 { + aboutToAppear(): void { + try { + //维吾尔文 + i18n.System.setAppPreferredLanguage('ug') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column({ space: 20 }) { + TimePicker({ + selected: new Date('2020-12-25T08:30:00'), + format: TimePickerFormat.HOUR_MINUTE, + }) + .id('TimePicker') + .useMilitaryTime(true) + .disappearTextStyle({ color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }) + .textStyle({ color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }) + .selectedTextStyle({ color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }) + .onChange((value: TimePickerResult) => { + console.info("TimePicker:onChange()" + JSON.stringify(value)) + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0210.ets new file mode 100644 index 00000000..d6fa3fa3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0210.ets @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0040 { + aboutToAppear(): void { + try { + //简体中文 + i18n.System.setAppPreferredLanguage('zh-Hans') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column({ space: 20 }) { + + Button('切换语言为英文') + .id('ChangeAppLanguage') + .onClick(() => { + try { + //英文 + i18n.System.setAppPreferredLanguage('en-Latn-US') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + }) + + TimePicker({ + selected: new Date('2020-12-25T08:30:00'), + format: TimePickerFormat.HOUR_MINUTE, + }) + .id('TimePicker') + .useMilitaryTime(true) + .disappearTextStyle({ color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }) + .textStyle({ color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }) + .selectedTextStyle({ color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }) + .onChange((value: TimePickerResult) => { + console.info("TimePicker:onChange()" + JSON.stringify(value)) + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0220.ets new file mode 100644 index 00000000..897ec207 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0220.ets @@ -0,0 +1,54 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0220 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + useMilitaryTime: true, + format: TimePickerFormat.HOUR_MINUTE, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)) + } + }) + } + + aboutToAppear(): void { + try { + //英文 + i18n.System.setAppPreferredLanguage('en-Latn-US') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0230.ets new file mode 100644 index 00000000..61805fe1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0230.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0230 { + aboutToAppear(): void { + try { + //繁体中文 + i18n.System.setAppPreferredLanguage('zh-Hant') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column({ space: 20 }) { + TimePicker({ + selected: new Date('2020-12-25T08:30:00'), + format: TimePickerFormat.HOUR_MINUTE, + }) + .id('TimePicker') + .useMilitaryTime(true) + .disappearTextStyle({ color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }) + .textStyle({ color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }) + .selectedTextStyle({ color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }) + .onChange((value: TimePickerResult) => { + console.info("TimePicker:onChange()" + JSON.stringify(value)) + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0240.ets new file mode 100644 index 00000000..dbdcd45c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0240.ets @@ -0,0 +1,54 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import i18n from '@ohos.i18n'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentFunctionFormSelectionTimePickerLanguageOrder0240 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + useMilitaryTime: true, + format: TimePickerFormat.HOUR_MINUTE, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)) + } + }) + } + + aboutToAppear(): void { + try { + //藏文 + i18n.System.setAppPreferredLanguage('bo') + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0030.ets new file mode 100644 index 00000000..731df363 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0030.ets @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0030 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + canLoop: false + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0040.ets new file mode 100644 index 00000000..139d8efc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0040.ets @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0040 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + canLoop: true + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0080.ets new file mode 100644 index 00000000..f3e97754 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0080.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0080 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0090.ets new file mode 100644 index 00000000..670cd328 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0090.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0090 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0100.ets new file mode 100644 index 00000000..1ccab04e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0100.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0100 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0150.ets new file mode 100644 index 00000000..d98b0fe3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0150.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0150 { + @State range: TextPickerRangeContent[] = [ + { icon: '/testability/pages/images/img.png', text: $r('app.string.abc') }, + { icon: '/testability/pages/images/img.png', text: $r('app.string.span') }, + ]; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0160.ets new file mode 100644 index 00000000..dda39ae9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0160.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0160 { + @State range: TextPickerRangeContent[] = [ + { icon: '/testability/pages/images/img.png', text: 'abc' }, + { icon: '/testability/pages/images/img.png', text: 'def' }, + ]; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0170.ets new file mode 100644 index 00000000..ffb65491 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0170.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0170 { + @State range: TextCascadePickerRangeContent[] = [{ text: 'abc' }, { text: 'def' }]; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0190.ets new file mode 100644 index 00000000..3a57cd9c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0190.ets @@ -0,0 +1,92 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInteraction0010 { + @State range: TextCascadePickerRangeContent[] = [ + { + text: 'a1', + children: [ + { + text: 'a2_1', + children: [ + { text: 'a3_1' }, + { text: 'a3_2' } + ] + }, + { + text: 'a2_2', + children: [ + { text: 'a3_3' }, + { text: 'a3_4' } + ] + } + ] + }, + { + text: 'b1', + children: [ + { + text: 'b2_1', + children: [ + { text: 'b3_1' }, + { text: 'b3_2' } + ] + }, + { + text: 'b2_2', + children: [ + { text: 'b3_3' }, + { text: 'b3_4' } + ] + } + ] + }, + { + text: 'c1', + children: [ + { + text: 'c2_1', + children: [ + { text: 'c3_1' }, + { text: 'c3_2' } + ] + }, + { + text: 'c2_2', + children: [ + { text: 'c3_3' }, + { text: 'c3_4' } + ] + } + ] + } + ]; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0200.ets new file mode 100644 index 00000000..90155241 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0200.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0200 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + canLoop: false, + selected: 1 + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0300.ets new file mode 100644 index 00000000..7d27d325 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0300.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0300 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + disappearTextStyle: { + font: { + weight: getContext().resourceManager.getStringSync($r('app.string.24_percent')) + } + } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0310.ets new file mode 100644 index 00000000..e00a168a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0310.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0310 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + disappearTextStyle: { + font: { + weight: '50%' + } + } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0320.ets new file mode 100644 index 00000000..23e68c56 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0320.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0320 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + disappearTextStyle: { + font: { + weight: 1000 + } + } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0340.ets new file mode 100644 index 00000000..26a15ecb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0340.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0360 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + disappearTextStyle: { + font: { + family: 'Arial' + } + } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0350.ets new file mode 100644 index 00000000..f3fdefb1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0350.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0350 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + disappearTextStyle: { + font: { + family: 'Arial, HarmonyOS Sans' + } + } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0360.ets new file mode 100644 index 00000000..fa7b3a97 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0360.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import font from '@ohos.font'; + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0360 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + aboutToAppear() { + font.registerFont({ + familyName: 'ownfontone', + familySrc: $rawfile('font/own1.ttf') + }); + } + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + disappearTextStyle: { + font: { + family: 'ownfontone' + } + } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0370.ets new file mode 100644 index 00000000..c2e545ae --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0370.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0370 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0380.ets new file mode 100644 index 00000000..7df80d4b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0380.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0380 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + textStyle: { + color: Color.Red + } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0390.ets new file mode 100644 index 00000000..36c40fd0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0390.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0390 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + textStyle: { + color: 0xFF0000 + } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0400.ets new file mode 100644 index 00000000..2c380d3a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0400.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0400 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + textStyle: { + color: 'rgb(0,128,0)' + } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0410.ets new file mode 100644 index 00000000..b717d6de --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0410.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0410 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + textStyle: { + color: getContext().resourceManager.getColorSync($r('app.color.purple')) + } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0420.ets new file mode 100644 index 00000000..56d7c94a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0420.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0420 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + textStyle: { + font: { + size: '24%' + } + } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0430.ets new file mode 100644 index 00000000..5fdb43ec --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0430.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0430 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + textStyle: { + font: { + size: getContext().resourceManager.getStringSync($r('app.string.24_percent')) + } + } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0440.ets new file mode 100644 index 00000000..208d4725 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0440.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0440 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + textStyle: { + font: { + weight: '50%' + } + } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0450.ets new file mode 100644 index 00000000..9d116938 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0450.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0450 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + textStyle: { + font: { + weight: 1000 + } + } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0460.ets new file mode 100644 index 00000000..b21ef64c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0460.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0460 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + textStyle: { + font: { + weight: 0 + } + } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0470.ets new file mode 100644 index 00000000..3916800d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0470.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0470 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + textStyle: { + font: { + family: 'Arial' + } + } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0480.ets new file mode 100644 index 00000000..baa2251c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0480.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0480 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + textStyle: { + font: { + family: 'Arial, HarmonyOS Sans' + } + } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0490.ets new file mode 100644 index 00000000..ad85d1b8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0490.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import font from '@ohos.font'; + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0490 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + aboutToAppear() { + font.registerFont({ + familyName: 'ownfontone', + familySrc: $rawfile('font/own1.ttf') + }); + } + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + textStyle: { + font: { + family: 'ownfontone' + } + } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0500.ets new file mode 100644 index 00000000..c05c4bca --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0500.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0500 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0510.ets new file mode 100644 index 00000000..448e38f7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0510.ets @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0510 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + selectedTextStyle: { color: Color.Red } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0790.ets new file mode 100644 index 00000000..4ef9ece5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0790.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import image from '@ohos.multimedia.image'; + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0790 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + @State imagePixelMap: image.PixelMap | undefined = undefined; + + aboutToAppear(): void { + let data: Uint8Array = getContext().resourceManager.getMediaContentSync($r('app.media.icon')); + let imageSource = image.createImageSource(data.buffer.slice(0, data.buffer.byteLength)); + this.imagePixelMap = imageSource.createPixelMapSync(); + imageSource.release(); + } + + build() { + Column() { + Row() { + Stack() { + Image(this.imagePixelMap) + .width('100%') + .height('100%') + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + backgroundBlurStyle: BlurStyle.COMPONENT_THIN + }) + }) + } + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0820.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0820.ets new file mode 100644 index 00000000..2a0047fb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0820.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import image from '@ohos.multimedia.image'; + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0820 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + @State imagePixelMap: image.PixelMap | undefined = undefined; + + aboutToAppear(): void { + let data: Uint8Array = getContext().resourceManager.getMediaContentSync($r('app.media.icon')); + let imageSource = image.createImageSource(data.buffer.slice(0, data.buffer.byteLength)); + this.imagePixelMap = imageSource.createPixelMapSync(); + imageSource.release(); + } + + build() { + Column() { + Row() { + Stack() { + Image(this.imagePixelMap) + .width('100%') + .height('100%') + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + backgroundBlurStyle: BlurStyle.COMPONENT_ULTRA_THICK + }) + }) + } + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0830.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0830.ets new file mode 100644 index 00000000..c7523708 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0830.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0830 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + canLoop: false, + selected: 1, + alignment: DialogAlignment.Top + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0840.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0840.ets new file mode 100644 index 00000000..d537ccb3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0840.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0840 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + canLoop: false, + selected: 1, + alignment: DialogAlignment.Center + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0850.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0850.ets new file mode 100644 index 00000000..5d2dd37c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0850.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0850 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + canLoop: false, + selected: 1, + alignment: DialogAlignment.Bottom + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0860.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0860.ets new file mode 100644 index 00000000..08a2959f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0860.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0860 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + canLoop: false, + selected: 1, + alignment: DialogAlignment.Default + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0870.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0870.ets new file mode 100644 index 00000000..59d5c798 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0870.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0870 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + canLoop: false, + selected: 1, + alignment: DialogAlignment.TopStart + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0880.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0880.ets new file mode 100644 index 00000000..ef85a785 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0880.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0880 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + canLoop: false, + selected: 1, + alignment: DialogAlignment.TopEnd + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0890.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0890.ets new file mode 100644 index 00000000..f48c6257 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0890.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0890 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + canLoop: false, + selected: 1, + alignment: DialogAlignment.CenterStart + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0900.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0900.ets new file mode 100644 index 00000000..96cd6ac5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0900.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0900 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + canLoop: false, + selected: 1, + alignment: DialogAlignment.CenterEnd + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0910.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0910.ets new file mode 100644 index 00000000..a4bef46a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0910.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0910 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + canLoop: false, + selected: 1, + alignment: DialogAlignment.BottomStart + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0920.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0920.ets new file mode 100644 index 00000000..875cc7fe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0920.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0920 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + canLoop: false, + selected: 1, + alignment: DialogAlignment.BottomEnd + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0930.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0930.ets new file mode 100644 index 00000000..95ad24ec --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0930.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0930 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + canLoop: false, + selected: 1, + offset: { dx: getContext().resourceManager.getNumber($r('app.integer.50')), dy: getContext().resourceManager.getNumber($r('app.integer.50')) } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0940.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0940.ets new file mode 100644 index 00000000..4a6f1b0a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0940.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0940 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + canLoop: false, + selected: 1, + offset: { dx: '30%', dy: '30%' } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0950.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0950.ets new file mode 100644 index 00000000..fbd87559 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0950.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0950 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + canLoop: false, + selected: 1, + offset: { dx: 50.5, dy: -50.5 } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0960.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0960.ets new file mode 100644 index 00000000..4519e2d1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0960.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0960 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0970.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0970.ets new file mode 100644 index 00000000..8d578d69 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0970.ets @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0970 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + maskRect: { x: '50px' } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0980.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0980.ets new file mode 100644 index 00000000..80444a39 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0980.ets @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0980 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + maskRect: { x: '' } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0990.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0990.ets new file mode 100644 index 00000000..9d0b0ada --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0990.ets @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0990 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + maskRect: { x: 100 } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog1000.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog1000.ets new file mode 100644 index 00000000..fbba188b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog1000.ets @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog1000 { + @State range: string[] = ['abc', 'def', 'ghi', 'jkl']; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + maskRect: { x: getContext().resourceManager.getStringSync($r('app.string.50_percent')) } + }) + }) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInfomationMarqueeDirection/UIComponentInfomationMarqueeDirection0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInfomationMarqueeDirection/UIComponentInfomationMarqueeDirection0120.ets new file mode 100644 index 00000000..e8601b65 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInfomationMarqueeDirection/UIComponentInfomationMarqueeDirection0120.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import i18n from '@ohos.i18n' +import window from '@ohos.window' +import { WindowMode } from '@ohos.UiTest' + +@Entry +@Component +struct UIComponentInfomationMarqueeDirection0120 { + @State fromStart: boolean = true + + aboutToAppear() { + i18n.System.setAppPreferredLanguage("ug") + } + + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Marquee({ + start: true, + step: 6, + loop: 5, + fromStart: this.fromStart, + src: 'مېنىڭ ھاۋا-نېگىز كېمەمدە يىلان بېلىق تۇشۇپ كەتتى' + }) + .marqueeUpdateStrategy(MarqueeUpdateStrategy.PRESERVE_POSITION) + .width(400) + .fontColor('#FFFFFF') + .fontSize(40) + .backgroundColor('#182431') + .direction(Direction.Auto) + .onStart(() => { + console.info('Marquee animation complete onStart') + }) + .onBounce(() => { + console.info('Marquee animation complete onBounce') + }) + .onFinish(() => { + console.info('Marquee animation complete onFinish') + }) + Button('true') + .onClick(() => { + this.fromStart = true + }) + .width(120) + .height(40) + .fontSize(16) + .fontWeight(500) + .backgroundColor('#007DFF') + .margin(20) + .fontSize(30) + .id('button1') + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPicker/UIComponentPopupBoxPicker0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPicker/UIComponentPopupBoxPicker0200.ets new file mode 100644 index 00000000..1947d9ef --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPicker/UIComponentPopupBoxPicker0200.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxPicker0200 { + private selectedDate: Date = new Date('2024-04-23'); + private newSelectedDate1: Date = new Date('2024-05-23'); + private newSelectedDate2: Date = new Date('2024-06-23'); + private count:number = 1; + build() { + Column({ space: 20 }) { + Button('弹出').onClick(()=>{ + CalendarPickerDialog.show({ + selected:this.selectedDate, + acceptButtonStyle: { primary:true }, + cancelButtonStyle: { primary:false }, + onAccept:()=>{ + if(this.count == 1){ + this.selectedDate = this.newSelectedDate1; + this.count ++; + }else{ + this.selectedDate = this.newSelectedDate2; + } + }, + onDidAppear: () => { + + }, + }) + }).id('btn') + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0050.ets new file mode 100644 index 00000000..b9be0dc4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0050.ets @@ -0,0 +1,74 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant' + +@Entry +@Component +struct UIComponentPopupBoxPopup0050 { + @State isShow: boolean = false; + @State bindSheetHeight: Length = 777; + + @Builder + myBuilder() { + Row() { + Button("666") + .onClick(() => { + this.bindSheetHeight = 666; + }) + .id('height666') + Button("333") + .onClick(() => { + this.bindSheetHeight = $r('app.integer.integer333'); + }) + .id('height333') + Button("111") + .onClick(() => { + this.bindSheetHeight = 111; + }) + .id('height111') + } + .width('50%') + .height(333) + .id('content') + .backgroundColor(Color.Gray) + .alignItems(VerticalAlign.Top) + } + + build() { + Row() { + Column() { + Button("Click") + .onClick(() => { + this.isShow = true; + }) + .margin({ top: 100 }) + .id('showButton') + } + .width("100%") + .height("100%") + .bindSheet( + this.isShow, + this.myBuilder(), + { + backgroundColor: Color.White, + dragBar: true, + height: this.bindSheetHeight + } + ) + } + .width("100%") + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0060.ets new file mode 100644 index 00000000..64e03b2f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0060.ets @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant' + +@Entry +@Component +struct UIComponentPopupBoxPopup0060 { + @State isShow: boolean = false; + @State bindSheetHeight: number = 666; + + @Builder + myBuilder() { + Row() { + Button("666") + .onClick(() => { + this.bindSheetHeight = 666; + }) + .id('height666') + Button("333") + .onClick(() => { + this.bindSheetHeight = 333; + }) + .id('height333') + Button("111") + .onClick(() => { + this.bindSheetHeight = 111; + }) + .id('height111') + Button("000") + .onClick(() => { + this.bindSheetHeight = -1; + }) + .id('height000') + } + .width('50%') + .height(333) + .id('content') + .backgroundColor(Color.Gray) + .alignItems(VerticalAlign.Top) + } + + build() { + Row() { + Column() { + Button("Click") + .onClick(() => { + this.isShow = true; + }) + .margin({ top: 100 }) + .id('showButton') + } + .width("100%") + .height("100%") + .bindSheet( + this.isShow, + this.myBuilder(), + { + backgroundColor: Color.White, + dragBar: true, + height: this.bindSheetHeight + } + ) + } + .width("100%") + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0070.ets new file mode 100644 index 00000000..7d73de5d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0070.ets @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant' + +@Entry +@Component +struct UIComponentPopupBoxPopup0070 { + @State isShow: boolean = false; + @State bindSheetHeight: number = 666; + + @Builder + myBuilder() { + Column() { + Button("666") + .onClick(() => { + this.bindSheetHeight = 666; + }) + .margin({ top: 10 }) + .id('height666') + Button("333") + .onClick(() => { + this.bindSheetHeight = 333; + }) + .margin({ top: 10 }) + .id('height333') + Button("111") + .onClick(() => { + this.bindSheetHeight = 111; + }) + .margin({ top: 10 }) + .id('height111') + } + .width('50%') + .height(this.bindSheetHeight) + .id('content') + .backgroundColor(Color.Gray) + } + + build() { + Row() { + Column() { + Button("Click") + .onClick(() => { + this.isShow = true; + }) + .margin({ top: 100 }) + .id('showButton') + } + .width("100%") + .height("100%") + .bindSheet( + this.isShow, + this.myBuilder(), + { + backgroundColor: Color.White, + dragBar: true, + height: 333 + } + ) + } + .width("100%") + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0080.ets new file mode 100644 index 00000000..b33d641e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0080.ets @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant' + +@Entry +@Component +struct UIComponentPopupBoxPopup0080 { + @State isShow: boolean = false; + @State bindSheetHeight: number = 666; + + @Builder + myBuilder() { + Column() { + Button("666") + .onClick(() => { + this.bindSheetHeight = 666; + }) + .margin({ top: 10 }) + .id('height666') + Button("333") + .onClick(() => { + this.bindSheetHeight = 333; + }) + .margin({ top: 10 }) + .id('height333') + Button("111") + .onClick(() => { + this.bindSheetHeight = 111; + }) + .margin({ top: 10 }) + .id('height111') + } + .width('50%') + .height(this.bindSheetHeight) + .id('content') + .backgroundColor(Color.Gray) + } + + build() { + Row() { + Column() { + Button("Click") + .onClick(() => { + this.isShow = true; + }) + .margin({ top: 100 }) + .id('showButton') + } + .width("100%") + .height("100%") + .bindSheet( + this.isShow, + this.myBuilder(), + { + backgroundColor: Color.White, + dragBar: true, + height: SheetSize.FIT_CONTENT + } + ) + } + .width("100%") + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0030.ets new file mode 100644 index 00000000..ec3dd9fc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0030.ets @@ -0,0 +1,52 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupBoxPromptToastSystem0030 { + build() { + Column({ space: 20 }) { + Button('ShowToast') + .onClick(() => { + try { + promptAction.showToast({ + message: "Hello World", + duration: 10000, + showMode: promptAction.ToastShowMode.DEFAULT + }) + } catch (error) { + let message = (error as BusinessError).message + let code = (error as BusinessError).code + console.error(`showToast args error code is ${code}, message is ${message}`); + } + + setTimeout(() => { + this.getUIContext().getFocusController().requestFocus('TextInput') + }, 3000) + + }) + + TextInput() + .width('100%') + .height(50) + .focusable(true) + .enableKeyboardOnFocus(true) + .id('TextInput') + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0040.ets new file mode 100644 index 00000000..aef4a350 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0040.ets @@ -0,0 +1,56 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { promptAction, window } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupBoxPromptToastSystem0040 { + rotationScreen(orientation: window.Orientation): Promise { + return new Promise((resolve, reject) => { + window.getLastWindow(getContext(this)).then((win) => { + win.setPreferredOrientation(orientation).then((data) => { + resolve(); + }).catch((err: string) => { + reject(); + console.log('setWindowOrientation: Failed. Cause: ' + JSON.stringify(err)); + }); + }).catch((err: string) => { + reject(); + console.log('setWindowOrientation: Failed to obtain the top window. Cause: ' + JSON.stringify(err)); + }) + }) + } + + build() { + Column({ space: 20 }) { + Button('ShowToast') + .onClick(() => { + try { + promptAction.showToast({ + message: "Hello World", + duration: 10000, + showMode: promptAction.ToastShowMode.DEFAULT + }) + } catch (error) { + let message = (error as BusinessError).message + let code = (error as BusinessError).code + console.error(`showToast args error code is ${code}, message is ${message}`); + } + }) + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0240.ets new file mode 100644 index 00000000..e89d5e2d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0240.ets @@ -0,0 +1,52 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupBoxPromptToastSystem0240 { + build() { + Column({ space: 20 }) { + Button('ShowToast') + .onClick(() => { + try { + promptAction.showToast({ + message: "Hello World", + duration: 10000, + showMode: promptAction.ToastShowMode.SYSTEM_TOP_MOST + }) + } catch (error) { + let message = (error as BusinessError).message + let code = (error as BusinessError).code + console.error(`showToast args error code is ${code}, message is ${message}`); + } + + setTimeout(() => { + this.getUIContext().getFocusController().requestFocus('TextInput') + }, 3000) + + }) + + TextInput() + .width('100%') + .height(50) + .focusable(true) + .enableKeyboardOnFocus(true) + .id('TextInput') + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0250.ets new file mode 100644 index 00000000..58da4112 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0250.ets @@ -0,0 +1,53 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' +import window from '@ohos.window'; + + +@Entry +@Component +struct UIComponentPopupBoxPromptToastSystem0250 { + rotationScreen(orientation: window.Orientation) { + window.getLastWindow(getContext()).then((win) => { + win.setPreferredOrientation(orientation).then((data) => { + }).catch((err: string) => { + console.log('setWindowOrientation: Failed. Cause: ' + JSON.stringify(err)); + }); + }).catch((err: string) => { + console.log('setWindowOrientation: Failed to obtain the top window. Cause: ' + JSON.stringify(err)); + }) + } + + build() { + Column({ space: 20 }) { + Button('ShowToast') + .onClick(() => { + try { + promptAction.showToast({ + message: "Hello World", + duration: 10000, + showMode: promptAction.ToastShowMode.SYSTEM_TOP_MOST + }) + } catch (error) { + let message = (error as BusinessError).message + let code = (error as BusinessError).code + console.error(`showToast args error code is ${code}, message is ${message}`); + } + }) + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0260.ets new file mode 100644 index 00000000..c9610dc2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0260.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { promptAction } from '@kit.ArkUI'; +import { BusinessError } from '@kit.BasicServicesKit'; + +@Entry +@Component +struct UIComponentPopupboxPromptToastsystem0260 { + + build() { + Column() { + Button('ShowToast') + .id("button1") + .onClick(() => { + DatePickerDialog.show(); + DatePickerDialog.show({ + offset: {dx:0, dy: 60} + }); + DatePickerDialog.show({ + offset: {dx:0, dy: 90} + }); + try { + setTimeout(() => { + promptAction.showToast({ + message: "Hello World", + duration: 5000, + showMode: promptAction.ToastShowMode.SYSTEM_TOP_MOST + }) + }, 500) + } catch (error) { + let message = (error as BusinessError).message + let code = (error as BusinessError).code + console.error(`showToast args error code is ${code}, message is ${message}`); + } + }) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0270.ets new file mode 100644 index 00000000..b1f1d9f5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0270.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxPromptToastSystem0270 { + + build() { + Column() { + Button('ShowToast') + .id("button1") + .onClick(() => { + try { + promptAction.showToast({ + message: "Hello World", + showMode: promptAction.ToastShowMode.TOP_MOST + }) + } catch (error) { + let message = (error as BusinessError).message + let code = (error as BusinessError).code + console.error(`showToast args error code is ${code}, message is ${message}`); + } + }) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0280.ets new file mode 100644 index 00000000..fdda52f5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0280.ets @@ -0,0 +1,52 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupBoxPromptToastSystem0280 { + build() { + Column({ space: 20 }) { + Button('ShowToast') + .onClick(() => { + try { + promptAction.showToast({ + message: "Hello World", + duration: 10000, + showMode: promptAction.ToastShowMode.TOP_MOST + }) + } catch (error) { + let message = (error as BusinessError).message + let code = (error as BusinessError).code + console.error(`showToast args error code is ${code}, message is ${message}`); + } + + setTimeout(() => { + this.getUIContext().getFocusController().requestFocus('TextInput') + }, 3000) + + }) + + TextInput() + .width('100%') + .height(50) + .focusable(true) + .enableKeyboardOnFocus(true) + .id('TextInput') + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0290.ets new file mode 100644 index 00000000..2a6c96c2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0290.ets @@ -0,0 +1,56 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { promptAction, window } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupBoxPromptToastSystem0290 { + rotationScreen(orientation: window.Orientation): Promise { + return new Promise((resolve, reject) => { + window.getLastWindow(getContext(this)).then((win) => { + win.setPreferredOrientation(orientation).then((data) => { + resolve(); + }).catch((err: string) => { + reject(); + console.log('setWindowOrientation: Failed. Cause: ' + JSON.stringify(err)); + }); + }).catch((err: string) => { + reject(); + console.log('setWindowOrientation: Failed to obtain the top window. Cause: ' + JSON.stringify(err)); + }) + }) + } + + build() { + Column({ space: 20 }) { + Button('ShowToast') + .onClick(() => { + try { + promptAction.showToast({ + message: "Hello World", + duration: 10000, + showMode: promptAction.ToastShowMode.TOP_MOST + }) + } catch (error) { + let message = (error as BusinessError).message + let code = (error as BusinessError).code + console.error(`showToast args error code is ${code}, message is ${message}`); + } + }) + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow023.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow023.ets new file mode 100644 index 00000000..fd03c37e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow023.ets @@ -0,0 +1,52 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { TipsDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow023 { + dialogControllerImage: CustomDialogController = new CustomDialogController({ + builder: TipsDialog({ + imageRes: $r('sys.media.ohos_ic_public_voice'), + content: '想要卸载这个APP嘛?', + primaryButton: { + value: '取消', + action: () => { + console.info('Callback when the first button is clicked') + }, + }, + secondaryButton: { + value: '删除', + role: ButtonRole.ERROR, + action: () => { + console.info('Callback when the second button is clicked') + } + }, + onCheckedChange: () => { + console.info('Callback when the checkbox is clicked') + } + }), + shadow: ShadowStyle.OUTER_DEFAULT_LG + }) + + build() { + Column() { + Button('TipsDialog') + .onClick(() => { + this.dialogControllerImage.open() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow025.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow025.ets new file mode 100644 index 00000000..764a1923 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow025.ets @@ -0,0 +1,52 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { TipsDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow025 { + dialogControllerImage: CustomDialogController = new CustomDialogController({ + builder: TipsDialog({ + imageRes: $r('sys.media.ohos_ic_public_voice'), + content: '想要卸载这个APP嘛?', + primaryButton: { + value: '取消', + action: () => { + console.info('Callback when the first button is clicked') + }, + }, + secondaryButton: { + value: '删除', + role: ButtonRole.ERROR, + action: () => { + console.info('Callback when the second button is clicked') + } + }, + onCheckedChange: () => { + console.info('Callback when the checkbox is clicked') + } + }), + shadow: ShadowStyle.OUTER_DEFAULT_XS + }) + + build() { + Column() { + Button('TipsDialog') + .onClick(() => { + this.dialogControllerImage.open() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow026.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow026.ets new file mode 100644 index 00000000..89fa9ac1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow026.ets @@ -0,0 +1,52 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { TipsDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow026 { + dialogControllerImage: CustomDialogController = new CustomDialogController({ + builder: TipsDialog({ + imageRes: $r('sys.media.ohos_ic_public_voice'), + content: '想要卸载这个APP嘛?', + primaryButton: { + value: '取消', + action: () => { + console.info('Callback when the first button is clicked') + }, + }, + secondaryButton: { + value: '删除', + role: ButtonRole.ERROR, + action: () => { + console.info('Callback when the second button is clicked') + } + }, + onCheckedChange: () => { + console.info('Callback when the checkbox is clicked') + } + }), + shadow: ShadowStyle.OUTER_FLOATING_MD + }) + + build() { + Column() { + Button('TipsDialog') + .onClick(() => { + this.dialogControllerImage.open() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow027.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow027.ets new file mode 100644 index 00000000..b2e733cc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow027.ets @@ -0,0 +1,52 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { TipsDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow027 { + dialogControllerImage: CustomDialogController = new CustomDialogController({ + builder: TipsDialog({ + imageRes: $r('sys.media.ohos_ic_public_voice'), + content: '想要卸载这个APP嘛?', + primaryButton: { + value: '取消', + action: () => { + console.info('Callback when the first button is clicked') + }, + }, + secondaryButton: { + value: '删除', + role: ButtonRole.ERROR, + action: () => { + console.info('Callback when the second button is clicked') + } + }, + onCheckedChange: () => { + console.info('Callback when the checkbox is clicked') + } + }), + shadow: ShadowStyle.OUTER_FLOATING_SM + }) + + build() { + Column() { + Button('TipsDialog') + .onClick(() => { + this.dialogControllerImage.open() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow029.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow029.ets new file mode 100644 index 00000000..6e8f5485 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow029.ets @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { TipsDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow029 { + dialogColorController: CustomDialogController = new CustomDialogController({ + builder: TipsDialog({ + imageRes: $r('sys.media.ohos_ic_public_voice'), + content: '想要卸载这个APP嘛?', + primaryButton: { + value: '取消', + action: () => { + console.info('Callback when the first button is clicked') + }, + }, + secondaryButton: { + value: '删除', + role: ButtonRole.ERROR, + action: () => { + console.info('Callback when the second button is clicked') + } + }, + onCheckedChange: () => { + console.info('Callback when the checkbox is clicked') + } + }), + shadow: { + radius: getContext().resourceManager.getNumber($r('app.integer.integer100')), + type: ShadowType.COLOR, + color: ColoringStrategy.AVERAGE, + offsetX: getContext().resourceManager.getNumber($r('app.integer.integer30')), + offsetY: getContext().resourceManager.getNumber($r('app.integer.integer30')), + fill: false + } + }) + + build() { + Column() { + Button('TipsColorDialog') + .onClick(() => { + this.dialogColorController.open() + }) + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow030.ets new file mode 100644 index 00000000..86bc8f94 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow030.ets @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { TipsDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow030 { + dialogColorController: CustomDialogController = new CustomDialogController({ + builder: TipsDialog({ + imageRes: $r('sys.media.ohos_ic_public_voice'), + content: '想要卸载这个APP嘛?', + primaryButton: { + value: '取消', + action: () => { + console.info('Callback when the first button is clicked') + }, + }, + secondaryButton: { + value: '删除', + role: ButtonRole.ERROR, + action: () => { + console.info('Callback when the second button is clicked') + } + }, + onCheckedChange: () => { + console.info('Callback when the checkbox is clicked') + } + }), + shadow: { + radius: getContext().resourceManager.getNumber($r('app.integer.integer100')), + type: ShadowType.COLOR, + color: ColoringStrategy.INVERT, + offsetX: getContext().resourceManager.getNumber($r('app.integer.integer30')), + offsetY: getContext().resourceManager.getNumber($r('app.integer.integer30')), + fill: false + } + }) + + build() { + Column() { + Button('TipsColorDialog') + .onClick(() => { + this.dialogColorController.open() + }) + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow031.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow031.ets new file mode 100644 index 00000000..7caaba04 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow031.ets @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { TipsDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow031 { + dialogColorController: CustomDialogController = new CustomDialogController({ + builder: TipsDialog({ + imageRes: $r('sys.media.ohos_ic_public_voice'), + content: '想要卸载这个APP嘛?', + primaryButton: { + value: '取消', + action: () => { + console.info('Callback when the first button is clicked') + }, + }, + secondaryButton: { + value: '删除', + role: ButtonRole.ERROR, + action: () => { + console.info('Callback when the second button is clicked') + } + }, + onCheckedChange: () => { + console.info('Callback when the checkbox is clicked') + } + }), + shadow: { + radius: getContext().resourceManager.getNumber($r('app.integer.integer100')), + type: ShadowType.COLOR, + color: ColoringStrategy.PRIMARY, + offsetX: getContext().resourceManager.getNumber($r('app.integer.integer30')), + offsetY: getContext().resourceManager.getNumber($r('app.integer.integer30')), + fill: false + } + }) + + build() { + Column() { + Button('TipsColorDialog') + .onClick(() => { + this.dialogColorController.open() + }) + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow032.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow032.ets new file mode 100644 index 00000000..e540a450 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow032.ets @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { TipsDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow032 { + dialogColorController: CustomDialogController = new CustomDialogController({ + builder: TipsDialog({ + imageRes: $r('sys.media.ohos_ic_public_voice'), + content: '想要卸载这个APP嘛?', + primaryButton: { + value: '取消', + action: () => { + console.info('Callback when the first button is clicked') + }, + }, + secondaryButton: { + value: '删除', + role: ButtonRole.ERROR, + action: () => { + console.info('Callback when the second button is clicked') + } + }, + onCheckedChange: () => { + console.info('Callback when the checkbox is clicked') + } + }), + shadow: { + radius: getContext().resourceManager.getNumber($r('app.integer.integer30')), + type: ShadowType.COLOR, + color: getContext().resourceManager.getColorSync($r('app.color.color3')), + offsetX: getContext().resourceManager.getNumber($r('app.integer.integer100')), + offsetY: getContext().resourceManager.getNumber($r('app.integer.integer100')), + fill: false + } + }) + + build() { + Column() { + Button('TipsColorDialog') + .onClick(() => { + this.dialogColorController.open() + }) + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow033.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow033.ets new file mode 100644 index 00000000..4f8e76fd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow033.ets @@ -0,0 +1,104 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { TipsDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow033 { + dialogBlurController: CustomDialogController = new CustomDialogController({ + builder: TipsDialog({ + imageRes: $r('sys.media.ohos_ic_public_voice'), + content: '想要卸载这个APP嘛?', + primaryButton: { + value: '取消', + action: () => { + console.info('Callback when the first button is clicked') + }, + }, + secondaryButton: { + value: '删除', + role: ButtonRole.ERROR, + action: () => { + console.info('Callback when the second button is clicked') + } + }, + onCheckedChange: () => { + console.info('Callback when the checkbox is clicked') + } + }), + shadow: { + radius: $r('app.string.string1'), + type: ShadowType.BLUR, + color: "#FF00FF", + offsetX: $r('app.string.string1'), + offsetY: $r('app.string.string1'), + fill: false + } + }) + dialogColorController: CustomDialogController = new CustomDialogController({ + builder: TipsDialog({ + imageRes: $r('sys.media.ohos_ic_public_voice'), + content: '想要卸载这个APP嘛?', + primaryButton: { + value: '取消', + action: () => { + console.info('Callback when the first button is clicked') + }, + }, + secondaryButton: { + value: '删除', + role: ButtonRole.ERROR, + action: () => { + console.info('Callback when the second button is clicked') + } + }, + onCheckedChange: () => { + console.info('Callback when the checkbox is clicked') + } + }), + shadow: { + radius: $r('app.string.string1'), + type: ShadowType.COLOR, + color: "#FF00FF", + offsetX: $r('app.string.string1'), + offsetY: $r('app.string.string1'), + fill: false + } + }) + + build() { + Column() { + Button('TipsBlurDialog') + .id('UIComponentPopupBoxSpecificationsShadow033_001') + .onClick(() => { + this.dialogBlurController.open() + }) + + Button('TipsColorDialog') + .id('UIComponentPopupBoxSpecificationsShadow033_002') + .onClick(() => { + this.dialogColorController.open() + }) + + Button('CloseDialog') + .id('UIComponentPopupBoxSpecificationsShadow033_003') + .onClick(() => { + this.dialogBlurController.close() + this.dialogColorController.close() + }) + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow058.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow058.ets new file mode 100644 index 00000000..27516d05 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow058.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow058 { + private select: number | number[] = 0 + private fruits: string[] = ['apple1', 'orange2', 'peach3', 'grape4', 'banana5'] + @State pickerValue: string = ''; + + showTextPickerDialog(): void { + TextPickerDialog.show({ + range: this.fruits, + selected: this.select, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TextPickerResult) => { + // 设置select为按下确定按钮时候的选中项index,这样当弹窗再次弹出时显示选中的是上一次确定的选项 + this.select = value.index + console.log(this.select + '') + // 点击确定后,被选到的文本数据展示到页面 + this.pickerValue = value.value as string + console.info("TextPickerDialog:onAccept()" + JSON.stringify(value)) + }, + shadow: null + }) + } + + build() { + Column() { + Button('TextPickerDialog') + .onClick(() => { + this.showTextPickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow059.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow059.ets new file mode 100644 index 00000000..8abb0c16 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow059.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow059 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TimePickerResult) => { + // 设置selectTime为按下确定按钮时的时间,这样当弹窗再次弹出时显示选中的为上一次确定的时间 + if (value.hour != undefined && value.minute != undefined) { + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)) + } + }, + shadow: null + }) + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow061.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow061.ets new file mode 100644 index 00000000..9bdd767e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow061.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow061 { + private select: number | number[] = 0 + private fruits: string[] = ['apple1', 'orange2', 'peach3', 'grape4', 'banana5'] + @State pickerValue: string = ''; + + showTextPickerDialog(): void { + TextPickerDialog.show({ + range: this.fruits, + selected: this.select, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TextPickerResult) => { + // 设置select为按下确定按钮时候的选中项index,这样当弹窗再次弹出时显示选中的是上一次确定的选项 + this.select = value.index + console.log(this.select + '') + // 点击确定后,被选到的文本数据展示到页面 + this.pickerValue = value.value as string + console.info("TextPickerDialog:onAccept()" + JSON.stringify(value)) + }, + shadow: ShadowStyle.OUTER_DEFAULT_SM + }) + } + + build() { + Column() { + Button('TextPickerDialog') + .onClick(() => { + this.showTextPickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow062.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow062.ets new file mode 100644 index 00000000..4f8c57f7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow062.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow062 { + private select: number | number[] = 0 + private fruits: string[] = ['apple1', 'orange2', 'peach3', 'grape4', 'banana5'] + @State pickerValue: string = ''; + + showTextPickerDialog(): void { + TextPickerDialog.show({ + range: this.fruits, + selected: this.select, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TextPickerResult) => { + // 设置select为按下确定按钮时候的选中项index,这样当弹窗再次弹出时显示选中的是上一次确定的选项 + this.select = value.index + console.log(this.select + '') + // 点击确定后,被选到的文本数据展示到页面 + this.pickerValue = value.value as string + console.info("TextPickerDialog:onAccept()" + JSON.stringify(value)) + }, + shadow: ShadowStyle.OUTER_DEFAULT_XS + }) + } + + build() { + Column() { + Button('TextPickerDialog') + .onClick(() => { + this.showTextPickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow063.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow063.ets new file mode 100644 index 00000000..9ca37459 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow063.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow063 { + private select: number | number[] = 0 + private fruits: string[] = ['apple1', 'orange2', 'peach3', 'grape4', 'banana5'] + @State pickerValue: string = ''; + + showTextPickerDialog(): void { + TextPickerDialog.show({ + range: this.fruits, + selected: this.select, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TextPickerResult) => { + // 设置select为按下确定按钮时候的选中项index,这样当弹窗再次弹出时显示选中的是上一次确定的选项 + this.select = value.index + console.log(this.select + '') + // 点击确定后,被选到的文本数据展示到页面 + this.pickerValue = value.value as string + console.info("TextPickerDialog:onAccept()" + JSON.stringify(value)) + }, + shadow: ShadowStyle.OUTER_FLOATING_MD + }) + } + + build() { + Column() { + Button('TextPickerDialog') + .onClick(() => { + this.showTextPickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow064.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow064.ets new file mode 100644 index 00000000..296328cd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow064.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow064 { + private select: number | number[] = 0 + private fruits: string[] = ['apple1', 'orange2', 'peach3', 'grape4', 'banana5'] + @State pickerValue: string = ''; + + showTextPickerDialog(): void { + TextPickerDialog.show({ + range: this.fruits, + selected: this.select, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TextPickerResult) => { + // 设置select为按下确定按钮时候的选中项index,这样当弹窗再次弹出时显示选中的是上一次确定的选项 + this.select = value.index + console.log(this.select + '') + // 点击确定后,被选到的文本数据展示到页面 + this.pickerValue = value.value as string + console.info("TextPickerDialog:onAccept()" + JSON.stringify(value)) + }, + shadow: ShadowStyle.OUTER_FLOATING_SM + }) + } + + build() { + Column() { + Button('TextPickerDialog') + .onClick(() => { + this.showTextPickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow065.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow065.ets new file mode 100644 index 00000000..5c962a3c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow065.ets @@ -0,0 +1,57 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow065 { + private select: number | number[] = 0 + private fruits: string[] = ['apple1', 'orange2', 'peach3', 'grape4', 'banana5'] + @State pickerValue: string = ''; + + showTextPickerDialog(): void { + TextPickerDialog.show({ + range: this.fruits, + selected: this.select, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TextPickerResult) => { + // 设置select为按下确定按钮时候的选中项index,这样当弹窗再次弹出时显示选中的是上一次确定的选项 + this.select = value.index + console.log(this.select + '') + // 点击确定后,被选到的文本数据展示到页面 + this.pickerValue = value.value as string + console.info("TextPickerDialog:onAccept()" + JSON.stringify(value)) + }, + shadow: { + radius: 30, + type: ShadowType.COLOR, + color: Color.Black, + offsetX: 30, + offsetY: 30, + fill: true + } + }) + } + + build() { + Column() { + Button('TextPickerDialog') + .onClick(() => { + this.showTextPickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow066.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow066.ets new file mode 100644 index 00000000..83001738 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow066.ets @@ -0,0 +1,57 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow066 { + private select: number | number[] = 0 + private fruits: string[] = ['apple1', 'orange2', 'peach3', 'grape4', 'banana5'] + @State pickerValue: string = ''; + + showTextPickerDialog(): void { + TextPickerDialog.show({ + range: this.fruits, + selected: this.select, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TextPickerResult) => { + // 设置select为按下确定按钮时候的选中项index,这样当弹窗再次弹出时显示选中的是上一次确定的选项 + this.select = value.index + console.log(this.select + '') + // 点击确定后,被选到的文本数据展示到页面 + this.pickerValue = value.value as string + console.info("TextPickerDialog:onAccept()" + JSON.stringify(value)) + }, + shadow: { + radius: getContext().resourceManager.getNumber($r('app.integer.integer100')), + type: ShadowType.COLOR, + color: ColoringStrategy.AVERAGE, + offsetX: getContext().resourceManager.getNumber($r('app.integer.integer30')), + offsetY: getContext().resourceManager.getNumber($r('app.integer.integer30')), + fill: false + } + }) + } + + build() { + Column() { + Button('TextPickerDialog') + .onClick(() => { + this.showTextPickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow067.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow067.ets new file mode 100644 index 00000000..b4f8c812 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow067.ets @@ -0,0 +1,57 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow067 { + private select: number | number[] = 0 + private fruits: string[] = ['apple1', 'orange2', 'peach3', 'grape4', 'banana5'] + @State pickerValue: string = ''; + + showTextPickerDialog(): void { + TextPickerDialog.show({ + range: this.fruits, + selected: this.select, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TextPickerResult) => { + // 设置select为按下确定按钮时候的选中项index,这样当弹窗再次弹出时显示选中的是上一次确定的选项 + this.select = value.index + console.log(this.select + '') + // 点击确定后,被选到的文本数据展示到页面 + this.pickerValue = value.value as string + console.info("TextPickerDialog:onAccept()" + JSON.stringify(value)) + }, + shadow: { + radius: getContext().resourceManager.getNumber($r('app.integer.integer100')), + type: ShadowType.COLOR, + color: ColoringStrategy.INVERT, + offsetX: getContext().resourceManager.getNumber($r('app.integer.integer100')), + offsetY: getContext().resourceManager.getNumber($r('app.integer.integer100')), + fill: false + } + }) + } + + build() { + Column() { + Button('TextPickerDialog') + .onClick(() => { + this.showTextPickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow068.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow068.ets new file mode 100644 index 00000000..92541699 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow068.ets @@ -0,0 +1,57 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow068 { + private select: number | number[] = 0 + private fruits: string[] = ['apple1', 'orange2', 'peach3', 'grape4', 'banana5'] + @State pickerValue: string = ''; + + showTextPickerDialog(): void { + TextPickerDialog.show({ + range: this.fruits, + selected: this.select, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TextPickerResult) => { + // 设置select为按下确定按钮时候的选中项index,这样当弹窗再次弹出时显示选中的是上一次确定的选项 + this.select = value.index + console.log(this.select + '') + // 点击确定后,被选到的文本数据展示到页面 + this.pickerValue = value.value as string + console.info("TextPickerDialog:onAccept()" + JSON.stringify(value)) + }, + shadow: { + radius: getContext().resourceManager.getNumber($r('app.integer.integer100')), + type: ShadowType.COLOR, + color: ColoringStrategy.PRIMARY, + offsetX: getContext().resourceManager.getNumber($r('app.integer.integer30')), + offsetY: getContext().resourceManager.getNumber($r('app.integer.integer30')), + fill: false + } + }) + } + + build() { + Column() { + Button('TextPickerDialog') + .onClick(() => { + this.showTextPickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow069.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow069.ets new file mode 100644 index 00000000..ac3793cf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow069.ets @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow069 { + private select: number | number[] = 0 + private fruits: string[] = ['apple1', 'orange2', 'peach3', 'grape4', 'banana5'] + @State pickerValue: string = ''; + + showTextPickerDialog(shadowType: ShadowType): void { + TextPickerDialog.show({ + range: this.fruits, + selected: this.select, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TextPickerResult) => { + // 设置select为按下确定按钮时候的选中项index,这样当弹窗再次弹出时显示选中的是上一次确定的选项 + this.select = value.index + console.log(this.select + '') + // 点击确定后,被选到的文本数据展示到页面 + this.pickerValue = value.value as string + console.info("TextPickerDialog:onAccept()" + JSON.stringify(value)) + }, + shadow: { + radius: getContext().resourceManager.getNumber($r('app.integer.integer30')), + type: shadowType, + color: "#FF00FF", + offsetX: getContext().resourceManager.getNumber($r('app.integer.integer30')), + offsetY: getContext().resourceManager.getNumber($r('app.integer.integer30')), + fill: false + } + }) + } + + build() { + Column({ space: 20 }) { + Button('TextPickerBlurDialog') + .onClick(() => { + this.showTextPickerDialog(ShadowType.BLUR) + }) + + Button('TextPickerColorDialog') + .onClick(() => { + this.showTextPickerDialog(ShadowType.COLOR) + }) + + Button('ClosePickerDialog') + .onClick(() => { + // this.showTextPickerDialog() + + }) + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow070.ets new file mode 100644 index 00000000..5c9bee8c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow070.ets @@ -0,0 +1,57 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow070 { + private select: number | number[] = 0 + private fruits: string[] = ['apple1', 'orange2', 'peach3', 'grape4', 'banana5'] + @State pickerValue: string = ''; + + showTextPickerDialog(): void { + TextPickerDialog.show({ + range: this.fruits, + selected: this.select, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TextPickerResult) => { + // 设置select为按下确定按钮时候的选中项index,这样当弹窗再次弹出时显示选中的是上一次确定的选项 + this.select = value.index + console.log(this.select + '') + // 点击确定后,被选到的文本数据展示到页面 + this.pickerValue = value.value as string + console.info("TextPickerDialog:onAccept()" + JSON.stringify(value)) + }, + shadow: { + radius: getContext().resourceManager.getNumber($r('app.integer.integer30')), + type: ShadowType.COLOR, + color: getContext().resourceManager.getColorSync($r('app.color.color3')), + offsetX: getContext().resourceManager.getNumber($r('app.integer.integer100')), + offsetY: getContext().resourceManager.getNumber($r('app.integer.integer100')), + fill: false + } + }) + } + + build() { + Column() { + Button('TextPickerDialog') + .onClick(() => { + this.showTextPickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow071.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow071.ets new file mode 100644 index 00000000..50480a2a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow071.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow071 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TimePickerResult) => { + // 设置selectTime为按下确定按钮时的时间,这样当弹窗再次弹出时显示选中的为上一次确定的时间 + if (value.hour != undefined && value.minute != undefined) { + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)) + } + }, + shadow: ShadowStyle.OUTER_DEFAULT_LG + }) + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow072.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow072.ets new file mode 100644 index 00000000..2b6de018 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow072.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow072 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TimePickerResult) => { + // 设置selectTime为按下确定按钮时的时间,这样当弹窗再次弹出时显示选中的为上一次确定的时间 + if (value.hour != undefined && value.minute != undefined) { + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)) + } + }, + shadow: ShadowStyle.OUTER_DEFAULT_SM + }) + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow073.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow073.ets new file mode 100644 index 00000000..714fc51a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow073.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow073 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TimePickerResult) => { + // 设置selectTime为按下确定按钮时的时间,这样当弹窗再次弹出时显示选中的为上一次确定的时间 + if (value.hour != undefined && value.minute != undefined) { + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)) + } + }, + shadow: ShadowStyle.OUTER_DEFAULT_XS + }) + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow074.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow074.ets new file mode 100644 index 00000000..cadc1b5d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow074.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow074 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TimePickerResult) => { + // 设置selectTime为按下确定按钮时的时间,这样当弹窗再次弹出时显示选中的为上一次确定的时间 + if (value.hour != undefined && value.minute != undefined) { + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)) + } + }, + shadow: ShadowStyle.OUTER_FLOATING_MD + }) + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow075.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow075.ets new file mode 100644 index 00000000..86c77938 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow075.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow075 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TimePickerResult) => { + // 设置selectTime为按下确定按钮时的时间,这样当弹窗再次弹出时显示选中的为上一次确定的时间 + if (value.hour != undefined && value.minute != undefined) { + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)) + } + }, + shadow: ShadowStyle.OUTER_FLOATING_SM + }) + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow076.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow076.ets new file mode 100644 index 00000000..d5192d4a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow076.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow076 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TimePickerResult) => { + // 设置selectTime为按下确定按钮时的时间,这样当弹窗再次弹出时显示选中的为上一次确定的时间 + if (value.hour != undefined && value.minute != undefined) { + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)) + } + }, + shadow: { + radius: 30, + type: ShadowType.COLOR, + color: Color.Black, + offsetX: 30, + offsetY: 30, + fill: true + } + }) + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow077.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow077.ets new file mode 100644 index 00000000..0bd89903 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow077.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow077 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TimePickerResult) => { + // 设置selectTime为按下确定按钮时的时间,这样当弹窗再次弹出时显示选中的为上一次确定的时间 + if (value.hour != undefined && value.minute != undefined) { + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)) + } + }, + shadow: { + radius: getContext().resourceManager.getNumber($r('app.integer.integer100')), + type: ShadowType.COLOR, + color: ColoringStrategy.AVERAGE, + offsetX: getContext().resourceManager.getNumber($r('app.integer.integer30')), + offsetY: getContext().resourceManager.getNumber($r('app.integer.integer30')), + fill: false + } + }) + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow078.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow078.ets new file mode 100644 index 00000000..1c1a1e5f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow078.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow078 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TimePickerResult) => { + // 设置selectTime为按下确定按钮时的时间,这样当弹窗再次弹出时显示选中的为上一次确定的时间 + if (value.hour != undefined && value.minute != undefined) { + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)) + } + }, + shadow: { + radius: getContext().resourceManager.getNumber($r('app.integer.integer100')), + type: ShadowType.COLOR, + color: ColoringStrategy.INVERT, + offsetX: getContext().resourceManager.getNumber($r('app.integer.integer100')), + offsetY: getContext().resourceManager.getNumber($r('app.integer.integer100')), + fill: false + } + }) + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow079.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow079.ets new file mode 100644 index 00000000..f9d8de68 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow079.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow079 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TimePickerResult) => { + // 设置selectTime为按下确定按钮时的时间,这样当弹窗再次弹出时显示选中的为上一次确定的时间 + if (value.hour != undefined && value.minute != undefined) { + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)) + } + }, + shadow: { + radius: getContext().resourceManager.getNumber($r('app.integer.integer100')), + type: ShadowType.COLOR, + color: ColoringStrategy.PRIMARY, + offsetX: getContext().resourceManager.getNumber($r('app.integer.integer30')), + offsetY: getContext().resourceManager.getNumber($r('app.integer.integer30')), + fill: false + } + }) + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow080.ets new file mode 100644 index 00000000..c4901d6e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow080.ets @@ -0,0 +1,56 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow080 { + showTimePickerDialog(shadowType: ShadowType): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TimePickerResult) => { + // 设置selectTime为按下确定按钮时的时间,这样当弹窗再次弹出时显示选中的为上一次确定的时间 + if (value.hour != undefined && value.minute != undefined) { + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)) + } + }, + shadow: { + radius: getContext().resourceManager.getNumber($r('app.integer.integer30')), + type: shadowType, + color: "#FF00FF", + offsetX: getContext().resourceManager.getNumber($r('app.integer.integer30')), + offsetY: getContext().resourceManager.getNumber($r('app.integer.integer30')), + fill: false + } + }) + } + + build() { + Column({ space: 20 }) { + Button('TimePickerBlurDialog') + .onClick(() => { + this.showTimePickerDialog(ShadowType.BLUR) + }) + + Button('TimePickerColorDialog') + .onClick(() => { + this.showTimePickerDialog(ShadowType.COLOR) + }) + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow081.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow081.ets new file mode 100644 index 00000000..463e0d85 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow081.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow081 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TimePickerResult) => { + // 设置selectTime为按下确定按钮时的时间,这样当弹窗再次弹出时显示选中的为上一次确定的时间 + if (value.hour != undefined && value.minute != undefined) { + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)) + } + }, + shadow: { + radius: getContext().resourceManager.getNumber($r('app.integer.integer30')), + type: ShadowType.COLOR, + color: getContext().resourceManager.getColorSync($r('app.color.color3')), + offsetX: getContext().resourceManager.getNumber($r('app.integer.integer100')), + offsetY: getContext().resourceManager.getNumber($r('app.integer.integer100')), + fill: false + } + }) + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow084.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow084.ets new file mode 100644 index 00000000..5b0e3f0f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow084.ets @@ -0,0 +1,52 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { TipsDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow084 { + dialogControllerImage: CustomDialogController = new CustomDialogController({ + builder: TipsDialog({ + imageRes: $r('sys.media.ohos_ic_public_voice'), + content: '想要卸载这个APP嘛?', + primaryButton: { + value: '取消', + action: () => { + console.info('Callback when the first button is clicked') + }, + }, + secondaryButton: { + value: '删除', + role: ButtonRole.ERROR, + action: () => { + console.info('Callback when the second button is clicked') + } + }, + onCheckedChange: () => { + console.info('Callback when the checkbox is clicked') + } + }), + shadow: undefined + }) + + build() { + Column() { + Button('TipsDialog') + .onClick(() => { + this.dialogControllerImage.open() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow087.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow087.ets new file mode 100644 index 00000000..ab9aaa83 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow087.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow087 { + private select: number | number[] = 0 + private fruits: string[] = ['apple1', 'orange2', 'peach3', 'grape4', 'banana5'] + @State pickerValue: string = ''; + + showTextPickerDialog(): void { + TextPickerDialog.show({ + range: this.fruits, + selected: this.select, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TextPickerResult) => { + // 设置select为按下确定按钮时候的选中项index,这样当弹窗再次弹出时显示选中的是上一次确定的选项 + this.select = value.index + console.log(this.select + '') + // 点击确定后,被选到的文本数据展示到页面 + this.pickerValue = value.value as string + console.info("TextPickerDialog:onAccept()" + JSON.stringify(value)) + }, + shadow: undefined + }) + } + + build() { + Column() { + Button('TextPickerDialog') + .onClick(() => { + this.showTextPickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow088.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow088.ets new file mode 100644 index 00000000..025850fc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow088.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow088 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TimePickerResult) => { + // 设置selectTime为按下确定按钮时的时间,这样当弹窗再次弹出时显示选中的为上一次确定的时间 + if (value.hour != undefined && value.minute != undefined) { + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)) + } + }, + shadow: undefined + }) + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow091.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow091.ets new file mode 100644 index 00000000..9de509e4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow091.ets @@ -0,0 +1,52 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { TipsDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow091 { + dialogControllerImage: CustomDialogController = new CustomDialogController({ + builder: TipsDialog({ + imageRes: $r('sys.media.ohos_ic_public_voice'), + content: '想要卸载这个APP嘛?', + primaryButton: { + value: '取消', + action: () => { + console.info('Callback when the first button is clicked') + }, + }, + secondaryButton: { + value: '删除', + role: ButtonRole.ERROR, + action: () => { + console.info('Callback when the second button is clicked') + } + }, + onCheckedChange: () => { + console.info('Callback when the checkbox is clicked') + } + }), + }) + + build() { + Column() { + Button('010_tipsDialog') + .id('UIComponentPopupBoxSpecificationsShadow091_001') + .onClick(() => { + this.dialogControllerImage.open() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow094.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow094.ets new file mode 100644 index 00000000..7ef2fe61 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow094.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow094 { + private select: number | number[] = 0 + private fruits: string[] = ['apple1', 'orange2', 'peach3', 'grape4', 'banana5'] + @State pickerValue: string = ''; + + showTextPickerDialog(): void { + TextPickerDialog.show({ + range: this.fruits, + selected: this.select, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TextPickerResult) => { + // 设置select为按下确定按钮时候的选中项index,这样当弹窗再次弹出时显示选中的是上一次确定的选项 + this.select = value.index + console.log(this.select + '') + // 点击确定后,被选到的文本数据展示到页面 + this.pickerValue = value.value as string + console.info("TextPickerDialog:onAccept()" + JSON.stringify(value)) + }, + }) + } + + build() { + Column() { + Button('TextPickerDialog') + .onClick(() => { + this.showTextPickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow095.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow095.ets new file mode 100644 index 00000000..28892ad5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow095.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow095 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TimePickerResult) => { + // 设置selectTime为按下确定按钮时的时间,这样当弹窗再次弹出时显示选中的为上一次确定的时间 + if (value.hour != undefined && value.minute != undefined) { + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)) + } + }, + }) + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow098.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow098.ets new file mode 100644 index 00000000..193a6a04 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow098.ets @@ -0,0 +1,53 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { TipsDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow098 { + dialogControllerImage: CustomDialogController = new CustomDialogController({ + builder: TipsDialog({ + imageRes: $r('sys.media.ohos_ic_public_voice'), + content: '想要卸载这个APP嘛?', + primaryButton: { + value: '取消', + action: () => { + console.info('Callback when the first button is clicked') + }, + }, + secondaryButton: { + value: '删除', + role: ButtonRole.ERROR, + action: () => { + console.info('Callback when the second button is clicked') + } + }, + onCheckedChange: () => { + console.info('Callback when the checkbox is clicked') + } + }), + shadow: ShadowStyle.OUTER_DEFAULT_MD + }) + + build() { + Column() { + Button('020_tipsDialog') + .id('UIComponentPopupBoxSpecificationsShadow098_001') + .onClick(() => { + this.dialogControllerImage.open() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow101.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow101.ets new file mode 100644 index 00000000..106a78c7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow101.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow101 { + private select: number | number[] = 0 + private fruits: string[] = ['apple1', 'orange2', 'peach3', 'grape4', 'banana5'] + @State pickerValue: string = ''; + + showTextPickerDialog(): void { + TextPickerDialog.show({ + range: this.fruits, + selected: this.select, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TextPickerResult) => { + // 设置select为按下确定按钮时候的选中项index,这样当弹窗再次弹出时显示选中的是上一次确定的选项 + this.select = value.index + console.log(this.select + '') + // 点击确定后,被选到的文本数据展示到页面 + this.pickerValue = value.value as string + console.info("TextPickerDialog:onAccept()" + JSON.stringify(value)) + }, + shadow: ShadowStyle.OUTER_DEFAULT_MD + }) + } + + build() { + Column() { + Button('TextPickerDialog') + .onClick(() => { + this.showTextPickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow102.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow102.ets new file mode 100644 index 00000000..ddb22576 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow102.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxSpecificationsShadow102 { + showTimePickerDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TimePickerResult) => { + // 设置selectTime为按下确定按钮时的时间,这样当弹窗再次弹出时显示选中的为上一次确定的时间 + if (value.hour != undefined && value.minute != undefined) { + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)) + } + }, + shadow: ShadowStyle.OUTER_DEFAULT_MD + }) + } + + build() { + Column() { + Button('TimePickerDialog') + .onClick(() => { + this.showTimePickerDialog() + }) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0290.ets new file mode 100644 index 00000000..a513c16c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0290.ets @@ -0,0 +1,74 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxStyleStrong0290 { + private select: number | number[] = 0 + private fruits: string[] = ['apple1', 'orange2', 'peach3', 'grape4', 'banana5'] + @State pickerValue: string = ''; + + showDefaultBlurDialog(): void { + TextPickerDialog.show({ + range: this.fruits, + selected: this.select, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TextPickerResult) => { + // 设置select为按下确定按钮时候的选中项index,这样当弹窗再次弹出时显示选中的是上一次确定的选项 + this.select = value.index + console.log(this.select + '') + // 点击确定后,被选到的文本数据展示到页面 + this.pickerValue = value.value as string + console.info("TextPickerDialog:onAccept()" + JSON.stringify(value)) + }, + }) + } + + showUltraThickDialog(): void { + TextPickerDialog.show({ + range: this.fruits, + selected: this.select, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TextPickerResult) => { + // 设置select为按下确定按钮时候的选中项index,这样当弹窗再次弹出时显示选中的是上一次确定的选项 + this.select = value.index + console.log(this.select + '') + // 点击确定后,被选到的文本数据展示到页面 + this.pickerValue = value.value as string + console.info("TextPickerDialog:onAccept()" + JSON.stringify(value)) + }, + backgroundBlurStyle: BlurStyle.COMPONENT_ULTRA_THICK + }) + } + + build() { + Column({ space: 20 }) { + Button('TextPickerDialogUltraThick') + .onClick(() => { + this.showUltraThickDialog() + }) + + Button('TextPickerDialogDefaultBlur') + .onClick(() => { + this.showDefaultBlurDialog() + }) + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0300.ets new file mode 100644 index 00000000..e5300441 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0300.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxStyleStrong0300 { + private select: number | number[] = 0 + private fruits: string[] = ['apple1', 'orange2', 'peach3', 'grape4', 'banana5'] + @State pickerValue: string = ''; + + showDefaultBlurDialog(): void { + TextPickerDialog.show({ + range: this.fruits, + selected: this.select, + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TextPickerResult) => { + // 设置select为按下确定按钮时候的选中项index,这样当弹窗再次弹出时显示选中的是上一次确定的选项 + this.select = value.index + console.log(this.select + '') + // 点击确定后,被选到的文本数据展示到页面 + this.pickerValue = value.value as string + console.info("TextPickerDialog:onAccept()" + JSON.stringify(value)) + }, + }) + } + + build() { + Column({ space: 20 }) { + + Button('TextPickerDialogDefaultBlur') + .onClick(() => { + this.showDefaultBlurDialog() + }) + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0320.ets new file mode 100644 index 00000000..bda7c300 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0320.ets @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxStyleStrong0320 { + showDefaultBlurDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TimePickerResult) => { + // 设置selectTime为按下确定按钮时的时间,这样当弹窗再次弹出时显示选中的为上一次确定的时间 + if (value.hour != undefined && value.minute != undefined) { + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)) + } + }, + }) + } + + showUltraThickDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TimePickerResult) => { + // 设置selectTime为按下确定按钮时的时间,这样当弹窗再次弹出时显示选中的为上一次确定的时间 + if (value.hour != undefined && value.minute != undefined) { + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)) + } + }, + backgroundBlurStyle: BlurStyle.COMPONENT_ULTRA_THICK + }) + } + + build() { + Column({ space: 20 }) { + Button('TimePickerDialogUltraThick') + .onClick(() => { + this.showUltraThickDialog() + }) + + Button('TimePickerDialogDefaultBlur') + .onClick(() => { + this.showDefaultBlurDialog() + }) + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0330.ets new file mode 100644 index 00000000..a7f1dbc3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0330.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupBoxStyleStrong0330 { + showDefaultBlurDialog(): void { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + disappearTextStyle: { color: Color.Red, font: { size: 15, weight: FontWeight.Lighter } }, + textStyle: { color: Color.Black, font: { size: 20, weight: FontWeight.Normal } }, + selectedTextStyle: { color: Color.Blue, font: { size: 30, weight: FontWeight.Bolder } }, + onAccept: (value: TimePickerResult) => { + // 设置selectTime为按下确定按钮时的时间,这样当弹窗再次弹出时显示选中的为上一次确定的时间 + if (value.hour != undefined && value.minute != undefined) { + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)) + } + }, + }) + } + + build() { + Column({ space: 20 }) { + Button('TimePickerDialogDefaultBlur') + .onClick(() => { + this.showDefaultBlurDialog() + }) + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0020.ets new file mode 100644 index 00000000..17113aba --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0020.ets @@ -0,0 +1,55 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxButtonstyle0020 { + build() { + Column() { + Button("TextPickerDialog") + .id("show_dialog_bt") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test 4'], + acceptButtonStyle: { + type: ButtonType.Normal, + fontSize: '16px', + fontWeight: FontWeight.Bold, + fontStyle: FontStyle.Italic, + fontFamily: 'sans-serif', + backgroundColor: Color.White, + borderRadius: 10 + }, + cancelButtonStyle: { + type: ButtonType.Circle, + style: ButtonStyleMode.NORMAL, + role: ButtonRole.ERROR, + fontSize: '16fp', + fontColor: Color.Blue, + fontWeight: 500, + fontFamily: 'sans-serif', + backgroundColor: Color.Black, + borderRadius: { + topLeft: '10px', + topRight: 10, + bottomLeft: 10, + bottomRight: 10 + } + } + }) + }) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0030.ets new file mode 100644 index 00000000..21b2acf6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0030.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxButtonstyle0030 { + build() { + Column() { + Button("TextPickerDialog") + .id("show_dialog_bt") + .onClick(() => { + TextPickerDialog.show({ + range: ['test 1', 'test 2', 'test 3', 'test 4'], + acceptButtonStyle: { + type: ButtonType.Capsule, + style: ButtonStyleMode.EMPHASIZED, + fontSize: '16fp', + fontColor: '#ffffff', + fontWeight: 400 + }, + cancelButtonStyle: { + type: ButtonType.Capsule, + style: ButtonStyleMode.EMPHASIZED, + fontSize: '16fp', + fontColor: '#ffffff', + fontWeight: 400 + } + }) + }) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0050.ets new file mode 100644 index 00000000..0724d51e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0050.ets @@ -0,0 +1,54 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxButtonstyle0050 { + build() { + Column() { + Button("TimePickerDialog") + .id("show_dialog_bt") + .onClick(() => { + TimePickerDialog.show({ + acceptButtonStyle: { + type: ButtonType.Normal, + fontSize: '16px', + fontWeight: FontWeight.Bold, + fontStyle: FontStyle.Italic, + fontFamily: 'sans-serif', + backgroundColor: Color.White, + borderRadius: 10 + }, + cancelButtonStyle: { + type: ButtonType.Circle, + style: ButtonStyleMode.NORMAL, + role: ButtonRole.ERROR, + fontSize: '16fp', + fontColor: Color.Blue, + fontWeight: 500, + fontFamily: 'sans-serif', + backgroundColor: Color.Black, + borderRadius: { + topLeft: '10px', + topRight: 10, + bottomLeft: 10, + bottomRight: 10 + } + } + }) + }) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0060.ets new file mode 100644 index 00000000..ba8ce033 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0060.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxButtonstyle0060 { + build() { + Column() { + Button("TimePickerDialog") + .id("show_dialog_bt") + .onClick(() => { + TimePickerDialog.show({ + acceptButtonStyle: { + type: ButtonType.Capsule, + style: ButtonStyleMode.EMPHASIZED, + fontSize: '16fp', + fontColor: '#ffffff', + fontWeight: 400 + }, + cancelButtonStyle: { + type: ButtonType.Capsule, + style: ButtonStyleMode.EMPHASIZED, + fontSize: '16fp', + fontColor: '#ffffff', + fontWeight: 400 + } + }) + }) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0040.ets new file mode 100644 index 00000000..3c76e8cd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0040.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxConsistencyScene0040 { + private selectedTime: Date = new Date('2022-07-22T08:00:00') + + build() { + Row() { + Column() { + Button("TimePickerDialog DatePickerDialog") + .id('UIComponentPopupboxConsistencyScene0040_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show( + { + selected: this.selectedTime, + } + ) + DatePickerDialog.show( + { + selected: this.selectedTime, + } + ) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0510.ets new file mode 100644 index 00000000..53ca4a51 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0510.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxEnter0510 { + @State text: string = ''; + + build() { + Column() { + Button('TextPickerDialog') + .id("show_dialog_bt") + .onClick(() => { + TextPickerDialog.show({ + range: ['1', '2', '3'], + offset: { + dx: '-30px', + dy: 0 + }, + acceptButtonStyle: { + primary: true + }, + onAccept: () => { + this.text = "enter to accept"; + } + }) + }) + Text(this.text).margin({ top: 30 }) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0520.ets new file mode 100644 index 00000000..feb67ac0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0520.ets @@ -0,0 +1,55 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxEnter0520 { + build() { + Column() { + Button('TextPickerDialog') + .id("show_dialog_bt") + .onClick(() => { + TextPickerDialog.show({ + range: ['1', '2', '3'], + acceptButtonStyle: { + primary: true + }, + onAccept: () => { + + } + }) + setTimeout(() => { + TextPickerDialog.show({ + range: ['4', '5', '6'], + offset: { + dx: 0, dy: 30 + }, + cancelButtonStyle: { + primary: true + }, + onCancel: () => { + console.log( 'cancel') + }, + onAccept: () => { + console.log('accept') + } + }) + }, 1000) + + }) + + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0530.ets new file mode 100644 index 00000000..82ed6646 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0530.ets @@ -0,0 +1,23 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxEnter0530 { + build() { + Column() { + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0540.ets new file mode 100644 index 00000000..ecd7cf01 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0540.ets @@ -0,0 +1,23 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxEnter0540 { + build() { + Column() { + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0550.ets new file mode 100644 index 00000000..1d5baf0e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0550.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxEnter0550 { + @State text: string = ''; + + build() { + Column() { + Button('TextPickerDialog') + .id("show_dialog_bt") + .onClick(() => { + TextPickerDialog.show({ + range: ['1', '2', '3'], + acceptButtonStyle: { + primary: true + }, + onAccept: () => { + this.text = "enter to accept"; + } + }) + }) + Text(this.text).margin({ top: 30 }) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0570.ets new file mode 100644 index 00000000..cafdbea7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0570.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxEnter0570 { + @State text: string = ''; + + build() { + Column() { + Button('TextPickerDialog') + .id("show_dialog_bt") + .onClick(() => { + TimePickerDialog.show({ + alignment: DialogAlignment.TopEnd, + acceptButtonStyle: { + primary: true + }, + onAccept: () => { + this.text = "enter to accept"; + } + }) + }) + Text(this.text).margin({ top: 30 }) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0580.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0580.ets new file mode 100644 index 00000000..7b591131 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0580.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxEnter0580 { + @State text: string = ''; + + build() { + Column() { + Button('TimePickerDialog') + .id("show_dialog_bt") + .onClick(() => { + TimePickerDialog.show({ + alignment: DialogAlignment.Top, + acceptButtonStyle: { + primary: true + }, + onAccept: () => { + this.text = "enter to accept"; + } + }) + }) + Text(this.text).margin({ top: 30 }) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0590.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0590.ets new file mode 100644 index 00000000..f856095c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0590.ets @@ -0,0 +1,43 @@ + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxEnter0590 { + @State text: string = ''; + + build() { + Column() { + Button('TimePickerDialog') + .id("show_dialog_bt") + .onClick(() => { + TimePickerDialog.show({ + offset: { + dx: '30px', + dy: 0 + }, + acceptButtonStyle: { + primary: true + }, + onAccept: () => { + this.text = "enter to accept"; + } + }) + }) + Text(this.text).margin({top: 30}) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0600.ets new file mode 100644 index 00000000..c68809a3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0600.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxEnter0600 { + @State text: string = ''; + + build() { + Column() { + Button('TimePickerDialog') + .id("show_dialog_bt") + .onClick(() => { + TimePickerDialog.show({ + offset: { + dx: '-30px', + dy: 0 + }, + acceptButtonStyle: { + primary: true + }, + onAccept: () => { + this.text = "enter to accept"; + } + }) + }) + Text(this.text).margin({ top: 30 }) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0610.ets new file mode 100644 index 00000000..5a185a03 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0610.ets @@ -0,0 +1,52 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxEnter0610 { + build() { + Column() { + Button('TimePickerDialog') + .id("show_dialog_bt") + .onClick(() => { + TimePickerDialog.show({ + selected: new Date('2020-12-25T08:30:00'), + acceptButtonStyle: { + primary: true + }, + onAccept: () => { + + } + }) + setTimeout(() => { + TimePickerDialog.show({ + selected: new Date('2023-11-22T008:10:30'), + offset: { dx: 0, dy: 30 }, + cancelButtonStyle: { + primary: true + }, + onCancel: () => { + console.log( 'cancel') + }, + onAccept: () => { + console.log('accept') + } + }) + }, 1000) + + }) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0620.ets new file mode 100644 index 00000000..9c437df9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0620.ets @@ -0,0 +1,23 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxEnter0620 { + build() { + Column() { + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0630.ets new file mode 100644 index 00000000..2c5e1333 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0630.ets @@ -0,0 +1,23 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxEnter0630 { + build() { + Column() { + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0640.ets new file mode 100644 index 00000000..b9d4de2b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0640.ets @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxEnter0640 { + @State text: string = ''; + + build() { + Column() { + Button('TimePickerDialog') + .id("show_dialog_bt") + .onClick(() => { + TimePickerDialog.show({ + acceptButtonStyle: { + primary: true + }, + onAccept: () => { + this.text = "enter to accept"; + } + }) + }) + Text(this.text).margin({ top: 30 }) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0040.ets new file mode 100644 index 00000000..dc3ef5df --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0040.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest0160 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单菜单菜单" ,endIcon:this.iconStr}) + .contentFont({size:30}) + MenuItem({ startIcon: this.iconStr, content: "菜单菜单菜单" ,endIcon:this.iconStr}) + .contentFont({size:30}) + MenuItem({ startIcon: this.iconStr, content: "菜单菜单菜单" ,endIcon:this.iconStr}) + .contentFont({size:30}) + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0080.ets new file mode 100644 index 00000000..b16f0e67 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0080.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest0080 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单" }) + .contentFont({size:10}) + MenuItem({ startIcon: this.iconStr, content: "菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单" }) + .contentFont({size:10}) + MenuItem({ startIcon: this.iconStr, content: "菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单菜单" }) + .contentFont({size:10}) + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0100.ets new file mode 100644 index 00000000..ee3543b5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0100.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest0100 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单菜单菜单菜单菜单菜单菜单" ,endIcon:this.iconStr}) + .contentFont({size:20}).height(50).width(200).border({width:1}) + MenuItem({ startIcon: this.iconStr, content: "菜单菜单菜单菜单菜单菜单菜单" ,endIcon:this.iconStr}) + .contentFont({size:20}).height(50).width(200).border({width:1}) + MenuItem({ startIcon: this.iconStr, content: "菜单菜单菜单菜单菜单菜单菜单" ,endIcon:this.iconStr}) + .contentFont({size:20}).height(50).width(200).border({width:1}) + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0110.ets new file mode 100644 index 00000000..afe9098a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0110.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest0110 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单" ,endIcon:this.iconStr}) + .contentFont({size:15}).height(50).width(200).border({width:1}) + MenuItem({ startIcon: this.iconStr, content: "菜单" ,endIcon:this.iconStr}) + .contentFont({size:15}).height(50).width(200).border({width:1}) + MenuItem({ startIcon: this.iconStr, content: "菜单" ,endIcon:this.iconStr}) + .contentFont({size:15}).height(50).width(200).border({width:1}) + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0160.ets new file mode 100644 index 00000000..91bc3a21 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0160.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest0160 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单" ,endIcon:this.iconStr}) + .contentFont({size:15}).height('23%').width('23%') + MenuItem({ startIcon: this.iconStr, content: "菜单" ,endIcon:this.iconStr}) + .contentFont({size:15}).height('23%').width('23%') + MenuItem({ startIcon: this.iconStr, content: "菜单" ,endIcon:this.iconStr}) + .contentFont({size:15}).height('23%').width('23%') + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0190.ets new file mode 100644 index 00000000..7f6c8083 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0190.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest0190 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单" ,endIcon:this.iconStr}) + .contentFont({size:20}).width('20%') + MenuItem({ startIcon: this.iconStr, content: "菜单" ,endIcon:this.iconStr}) + .contentFont({size:20}).width('20%') + MenuItem({ startIcon: this.iconStr, content: "菜单" ,endIcon:this.iconStr}) + .contentFont({size:20}).width('20%') + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0320.ets new file mode 100644 index 00000000..38075987 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0320.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest0320 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItemGroup(){ + MenuItem({ startIcon: this.iconStr, content: "菜单菜单菜单菜单菜单菜单" ,endIcon:this.iconStr}) + .contentFont({size:20}).height(30).width(150) + MenuItem({ startIcon: this.iconStr, content: "菜单菜单菜单菜单菜单菜单" ,endIcon:this.iconStr}) + .contentFont({size:20}).height(30).width(150) + MenuItem({ startIcon: this.iconStr, content: "菜单菜单菜单菜单菜单菜单" ,endIcon:this.iconStr}) + .contentFont({size:20}).height(30).width(150) + } + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0470.ets new file mode 100644 index 00000000..14e217fe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0470.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest0470 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单项1" ,endIcon:`$r('app.media.icon)`}) + MenuItem({ startIcon: this.iconStr, content: "菜单项2" ,endIcon:`$r('app.media.icon)`}) + MenuItem({ startIcon: this.iconStr, content: "菜单项3" ,endIcon:`$r('app.media.icon)`}) + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0540.ets new file mode 100644 index 00000000..f0fa3d89 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0540.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest0540 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单项1" ,labelInfo:null}) + MenuItem({ startIcon: this.iconStr, content: "菜单项2" ,labelInfo:null}) + MenuItem({ startIcon: this.iconStr, content: "菜单项3" ,labelInfo:null}) + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0670.ets new file mode 100644 index 00000000..5e67c8b1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0670.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest0670 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单1" ,endIcon:this.iconStr}) + .selectIcon('').selected(true) + MenuItem({ startIcon: this.iconStr, content: "菜单2" ,endIcon:this.iconStr}) + MenuItem({ startIcon: this.iconStr, content: "菜单3" ,endIcon:this.iconStr}) + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0830.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0830.ets new file mode 100644 index 00000000..7c2095b6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0830.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest0830 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项1" }) + .contentFont({weight:FontWeight.Medium}) + MenuItem({ startIcon: this.iconStr, content: "菜单选项2" }) + .contentFont({weight:FontWeight.Medium}) + MenuItem({ startIcon: this.iconStr, content: "菜单选项3" }) + .contentFont({weight:FontWeight.Medium}) + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1060.ets new file mode 100644 index 00000000..aceba313 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1060.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest1060 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单项1" }) + .labelFont({weight:100}) + MenuItem({ startIcon: this.iconStr, content: "菜单项2" }) + .labelFont({weight:100}) + MenuItem({ startIcon: this.iconStr, content: "菜单项3" }) + .labelFont({weight:100}) + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1090.ets new file mode 100644 index 00000000..6e57ba8c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1090.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest1090 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单项1" }) + .labelFont({weight:800}) + MenuItem({ startIcon: this.iconStr, content: "菜单项2" }) + .labelFont({weight:800}) + MenuItem({ startIcon: this.iconStr, content: "菜单项3" }) + .labelFont({weight:800}) + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1100.ets new file mode 100644 index 00000000..6967cc55 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1100.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest1100 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单项1" }) + .labelFont({weight:''}) + MenuItem({ startIcon: this.iconStr, content: "菜单项2" }) + .labelFont({weight:''}) + MenuItem({ startIcon: this.iconStr, content: "菜单项3" }) + .labelFont({weight:''}) + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1190.ets new file mode 100644 index 00000000..0126ca72 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1190.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest1190 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单项1" }) + .labelFont({weight:'sans-serif'}) + MenuItem({ startIcon: this.iconStr, content: "菜单项2" }) + .labelFont({weight:'sans-serif'}) + MenuItem({ startIcon: this.iconStr, content: "菜单项3" }) + .labelFont({weight:'sans-serif'}) + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1200.ets new file mode 100644 index 00000000..ac483c76 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1200.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest1190 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单项1" }) + .labelFont({weight:`$r('app.float.integer_1)`}) + MenuItem({ startIcon: this.iconStr, content: "菜单项2" }) + .labelFont({weight:`$r('app.float.integer_1)`}) + MenuItem({ startIcon: this.iconStr, content: "菜单项3" }) + .labelFont({weight:`$r('app.float.integer_1)`}) + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1310.ets new file mode 100644 index 00000000..93ddc6aa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1310.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest1310 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem(); + MenuItem(); + MenuItem(); + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1380.ets new file mode 100644 index 00000000..00ca177e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1380.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest1380 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItemGroup({footer:'footer'}){ + MenuItem({content:'item1'}); + MenuItem({content:'item2'}); + MenuItem({content:'item3'}); + } + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1390.ets new file mode 100644 index 00000000..bbee291b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1390.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest1390 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItemGroup({footer:`$r('app.string.apple')`}){ + MenuItem({ startIcon: this.iconStr, content: "菜单项1" }) + MenuItem({ startIcon: this.iconStr, content: "菜单项2" }) + MenuItem({ startIcon: this.iconStr, content: "菜单项3" }) + } + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1480.ets new file mode 100644 index 00000000..5399f94f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1480.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest1480 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单项1" }) + .labelFont({size:''}) + MenuItem({ startIcon: this.iconStr, content: "菜单项2" }) + .labelFont({size:''}) + MenuItem({ startIcon: this.iconStr, content: "菜单项3" }) + .labelFont({size:''}) + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1490.ets new file mode 100644 index 00000000..0b74e207 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1490.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest1510 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单项1" }) + .labelFont({weight:100}) + MenuItem({ startIcon: this.iconStr, content: "菜单项2" }) + .labelFont({weight:100}) + MenuItem({ startIcon: this.iconStr, content: "菜单项3" }) + .labelFont({weight:100}) + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1510.ets new file mode 100644 index 00000000..518d3f5f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1510.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest1510 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单项1" }) + .labelFont({weight:101}) + MenuItem({ startIcon: this.iconStr, content: "菜单项2" }) + .labelFont({weight:101}) + MenuItem({ startIcon: this.iconStr, content: "菜单项3" }) + .labelFont({weight:101}) + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1630.ets new file mode 100644 index 00000000..d28fea28 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1630.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font, promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest1630 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单项1" }) + .labelFont({family:''}) + MenuItem({ startIcon: this.iconStr, content: "菜单项2" }) + .labelFont({family:''}) + MenuItem({ startIcon: this.iconStr, content: "菜单项3" }) + .labelFont({family:''}) + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1970.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1970.ets new file mode 100644 index 00000000..62b0abd8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1970.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest1970 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项1" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项2" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项3" }) + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + offset:({x:0,y:0}) + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1980.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1980.ets new file mode 100644 index 00000000..a6fd2bfa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1980.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxMenuMenuTest1980 { + private iconStr: string = 'icon.png'; + @State isShown: boolean = false; + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项1" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项2" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项3" }) + } + } + build() { + Column() { + Text('click for Menu').id('text').onClick(()=>{ + this.isShown = true; + }) + .bindContextMenu(this.isShown,this.MyMenu(),{ + offset:({x:10,y:10}) + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxPickerold/UIComponentPopupboxPickerold1250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxPickerold/UIComponentPopupboxPickerold1250.ets new file mode 100644 index 00000000..22153121 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxPickerold/UIComponentPopupboxPickerold1250.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxPickerold1250 { + private selectedTime: Date = new Date('2022-07-22T08:00:00') + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + }) + .height('180vp') + .width('250vp') + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxPickerold/UIComponentPopupboxPickerold1260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxPickerold/UIComponentPopupboxPickerold1260.ets new file mode 100644 index 00000000..aa0ffb29 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxPickerold/UIComponentPopupboxPickerold1260.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxPickerold1260 { + private selectedTime: Date = new Date('2022-07-22T08:00:00') + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + }) + .height('400vp') + .width('400vp') + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxPickerold/UIComponentPopupboxPickerold1270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxPickerold/UIComponentPopupboxPickerold1270.ets new file mode 100644 index 00000000..d3903b61 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxPickerold/UIComponentPopupboxPickerold1270.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxPickerold1270 { + private selectedTime: Date = new Date('2022-07-22T08:00:00') + + build() { + Row() { + Column() { + TimePicker({ + selected: this.selectedTime, + }) + .height(undefined) + .width(undefined) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxPopupFollowtransformoftarget/UIComponentPopupboxPopupFollowtransformoftarget0450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxPopupFollowtransformoftarget/UIComponentPopupboxPopupFollowtransformoftarget0450.ets new file mode 100644 index 00000000..4e193555 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxPopupFollowtransformoftarget/UIComponentPopupboxPopupFollowtransformoftarget0450.ets @@ -0,0 +1,59 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { promptAction } from '@kit.ArkUI' +import { BusinessError } from '@kit.BasicServicesKit' + +@Entry +@Component +struct UIComponentPopupboxPopupFollowtransformoftarget0450 { + @State customPopup: boolean = false; + @State rotat:number = 0; + @Builder popupBuilder() { + Row({ space: 2 }) { + Image($r("app.media.icon")).width(24).height(24).margin({ left: 5 }) + Text('This is Custom Popup').fontSize(15) + }.width(200).height(50).padding(5) + } + build() { + Column() { + Column({space:150}){ + Button('rotate') + .id('btn') + .rotate({angle:this.rotat}) + .onClick(()=>{ + this.customPopup = !this.customPopup; + }) + .margin({top:200}) + .bindPopup(this.customPopup, { + builder: this.popupBuilder, // 气泡的内容 + placement:Placement.Bottom, // 气泡的弹出位置 + popupColor:Color.Pink, // 气泡的背景色 + autoCancel:true + }) + Button('旋转').onClick(()=>{ + animateTo({ + duration: 1000, + curve: Curve.Linear, + delay: 500, + iterations: 1, + playMode: PlayMode.Alternate + }, () => { + this.rotat = 90; + }) + }).id('rotate') + }.width('60%').height('60%').backgroundColor(Color.Pink).rotate({angle:this.rotat}) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInteraction/UIComponentPopupboxTextPickerDialogInteraction0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInteraction/UIComponentPopupboxTextPickerDialogInteraction0010.ets new file mode 100644 index 00000000..a213286e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInteraction/UIComponentPopupboxTextPickerDialogInteraction0010.ets @@ -0,0 +1,91 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentFunctionSpecialComponentsDialogTextPickerDialog0190 { + @State range: TextCascadePickerRangeContent[] = [ + { + text: 'a1', + children: [ + { + text: 'a2_1', + children: [ + { text: 'a3_1' }, + { text: 'a3_2' } + ] + }, + { + text: 'a2_2', + children: [ + { text: 'a3_3' }, + { text: 'a3_4' } + ] + } + ] + }, + { + text: 'b1', + children: [ + { + text: 'b2_1', + children: [ + { text: 'b3_1' }, + { text: 'b3_2' } + ] + }, + { + text: 'b2_2', + children: [ + { text: 'b3_3' }, + { text: 'b3_4' } + ] + } + ] + }, + { + text: 'c1', + children: [ + { + text: 'c2_1', + children: [ + { text: 'c3_1' }, + { text: 'c3_2' } + ] + }, + { + text: 'c2_2', + children: [ + { text: 'c3_3' }, + { text: 'c3_4' } + ] + } + ] + } + ]; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInteraction/UIComponentPopupboxTextPickerDialogInteraction0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInteraction/UIComponentPopupboxTextPickerDialogInteraction0020.ets new file mode 100644 index 00000000..8d494e2d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInteraction/UIComponentPopupboxTextPickerDialogInteraction0020.ets @@ -0,0 +1,91 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInteraction0020 { + @State range: TextCascadePickerRangeContent[] = [ + { + text: 'a1', + children: [ + { + text: 'a2_1', + children: [ + { text: 'a3_1' }, + { text: 'a3_2' } + ] + }, + { + text: 'a2_2', + children: [ + { text: 'a3_3' }, + { text: 'a3_4' } + ] + } + ] + }, + { + text: 'b1', + children: [ + { + text: 'b2_1', + children: [ + { text: 'b3_1' }, + { text: 'b3_2' } + ] + }, + { + text: 'b2_2', + children: [ + { text: 'b3_3' }, + { text: 'b3_4' } + ] + } + ] + }, + { + text: 'c1', + children: [ + { + text: 'c2_1', + children: [ + { text: 'c3_1' }, + { text: 'c3_2' } + ] + }, + { + text: 'c2_2', + children: [ + { text: 'c3_3' }, + { text: 'c3_4' } + ] + } + ] + } + ]; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInteraction/UIComponentPopupboxTextPickerDialogInteraction0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInteraction/UIComponentPopupboxTextPickerDialogInteraction0030.ets new file mode 100644 index 00000000..5f1d0717 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInteraction/UIComponentPopupboxTextPickerDialogInteraction0030.ets @@ -0,0 +1,91 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInteraction0030 { + @State range: TextCascadePickerRangeContent[] = [ + { + text: 'a1', + children: [ + { + text: 'a2_1', + children: [ + { text: 'a3_1' }, + { text: 'a3_2' } + ] + }, + { + text: 'a2_2', + children: [ + { text: 'a3_3' }, + { text: 'a3_4' } + ] + } + ] + }, + { + text: 'b1', + children: [ + { + text: 'b2_1', + children: [ + { text: 'b3_1' }, + { text: 'b3_2' } + ] + }, + { + text: 'b2_2', + children: [ + { text: 'b3_3' }, + { text: 'b3_4' } + ] + } + ] + }, + { + text: 'c1', + children: [ + { + text: 'c2_1', + children: [ + { text: 'c3_1' }, + { text: 'c3_2' } + ] + }, + { + text: 'c2_2', + children: [ + { text: 'c3_3' }, + { text: 'c3_4' } + ] + } + ] + } + ]; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + TextPickerDialog.show({ + range: this.range, + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1000.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1000.ets new file mode 100644 index 00000000..9e168d30 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1000.ets @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1000 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1010.ets new file mode 100644 index 00000000..ba431494 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1010.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1010 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + canLoop: false, + range: this.range, + selected: 0 + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1020.ets new file mode 100644 index 00000000..802f8d0d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1020.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1020 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + canLoop: false, + range: this.range, + selected: 10 + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1030.ets new file mode 100644 index 00000000..8152019c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1030.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1030 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + canLoop: false, + range: this.range, + selected: 1, + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1040.ets new file mode 100644 index 00000000..b62436a6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1040.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1040 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + canLoop: false, + range: this.range, + value: '' + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1050.ets new file mode 100644 index 00000000..6aedc94e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1050.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1050 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + canLoop: false, + range: this.range, + value: null + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1060.ets new file mode 100644 index 00000000..4917c53a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1060.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1060 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + canLoop: false, + range: this.range, + value: undefined + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1070.ets new file mode 100644 index 00000000..02cd0dfa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1070.ets @@ -0,0 +1,46 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1070 { + @State range: TextPickerRangeContent[] = []; + @State log: string = ''; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + value: '2', + onAccept: (value: TextPickerResult) => { + console.info("TextPickerDialog:onAccept()" + JSON.stringify(value)); + this.log = "TextPickerDialog:onAccept()" + JSON.stringify(value); + } + }) + }) + } + + Text(this.log) + .margin({ top: 20 }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1080.ets new file mode 100644 index 00000000..6e12ab5e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1080.ets @@ -0,0 +1,46 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1080 { + @State range: TextPickerRangeContent[] = []; + @State log: string = ''; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + value: '2', + onCancel: () => { + console.info("TextPickerDialog:onCancel()"); + this.log = "TextPickerDialog:onCancel()"; + } + }) + }) + } + + Text(this.log) + .margin({ top: 20 }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1090.ets new file mode 100644 index 00000000..8231551e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1090.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1090 { + @State range: TextPickerRangeContent[] = []; + @State log: string = ''; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + { icon: '/testability/pages/images/img.png', text: 'a' }, + { icon: '/testability/pages/images/img.png', text: 'b' }, + ]; + TextPickerDialog.show({ + range: this.range, + value: '2', + onChange: (value: TextPickerResult) => { + console.info("TextPickerDialog:onChange()" + JSON.stringify(value)); + this.log = "TextPickerDialog:onChange()" + JSON.stringify(value); + } + }) + }) + } + + Text(this.log) + .margin({ top: 20 }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1100.ets new file mode 100644 index 00000000..4c0dfaa1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1100.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1100 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + disappearTextStyle: { color: Color.Blue, font: { style: FontStyle.Italic } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1110.ets new file mode 100644 index 00000000..1f4e51d8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1110.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1110 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + disappearTextStyle: { color: Color.Blue, font: { style: FontStyle.Normal } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1120.ets new file mode 100644 index 00000000..a1b187a1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1120.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1120 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + disappearTextStyle: { color: Color.Blue, font: { weight: 100 } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1130.ets new file mode 100644 index 00000000..8692d1ee --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1130.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1130 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + disappearTextStyle: { color: Color.Blue, font: { weight: 400 } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1140.ets new file mode 100644 index 00000000..d3ae9577 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1140.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1140 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + disappearTextStyle: { color: Color.Blue, font: { weight: 900 } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1150.ets new file mode 100644 index 00000000..11021d2c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1150.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1150 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + disappearTextStyle: { color: Color.Blue, font: { weight: FontWeight.Bolder } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1160.ets new file mode 100644 index 00000000..4b6f4b5b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1160.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1160 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + disappearTextStyle: { color: Color.Blue, font: { weight: FontWeight.Bold } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1170.ets new file mode 100644 index 00000000..5f143aef --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1170.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1170 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + disappearTextStyle: { color: Color.Blue, font: { weight: FontWeight.Lighter } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1180.ets new file mode 100644 index 00000000..c63c30cb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1180.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1180 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + disappearTextStyle: { color: Color.Blue, font: { weight: FontWeight.Medium } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1190.ets new file mode 100644 index 00000000..a027699a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1190.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1190 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + disappearTextStyle: { color: Color.Blue, font: { weight: FontWeight.Normal } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1200.ets new file mode 100644 index 00000000..3cb895c3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1200.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1200 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + disappearTextStyle: { color: Color.Blue, font: { weight: FontWeight.Regular } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1210.ets new file mode 100644 index 00000000..7861f66d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1210.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1210 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + textStyle: { color: Color.Blue, font: { style: FontStyle.Italic } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1220.ets new file mode 100644 index 00000000..c9a3efa5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1220.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1220 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + textStyle: { color: Color.Blue, font: { weight: FontWeight.Normal } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1230.ets new file mode 100644 index 00000000..363df045 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1230.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1230 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + textStyle: { color: Color.Blue, font: { weight: 100 } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1240.ets new file mode 100644 index 00000000..138e25b9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1240.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1240 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + textStyle: { color: Color.Blue, font: { weight: 400 } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1250.ets new file mode 100644 index 00000000..8da45d6e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1250.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1250 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + textStyle: { color: Color.Blue, font: { weight: 900 } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1260.ets new file mode 100644 index 00000000..da5a98bb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1260.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1260 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + textStyle: { color: Color.Blue, font: { weight: FontWeight.Bold } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1270.ets new file mode 100644 index 00000000..086ebc83 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1270.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1270 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + textStyle: { color: Color.Blue, font: { weight: FontWeight.Regular } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1280.ets new file mode 100644 index 00000000..e56e6cf4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1280.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1280 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + textStyle: { color: Color.Blue, font: { weight: FontWeight.Lighter } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1290.ets new file mode 100644 index 00000000..7e1bfef3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1290.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1290 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + textStyle: { color: Color.Blue, font: { weight: FontWeight.Medium } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1300.ets new file mode 100644 index 00000000..d9d66e60 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1300.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1300 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + textStyle: { color: Color.Blue, font: { weight: FontWeight.Normal } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1310.ets new file mode 100644 index 00000000..1d0697cf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1310.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1310 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + textStyle: { color: Color.Blue, font: { weight: FontWeight.Bold } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1320.ets new file mode 100644 index 00000000..95c01d63 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1320.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1320 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + selectedTextStyle: { color: Color.Blue, font: { style: FontStyle.Italic } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1330.ets new file mode 100644 index 00000000..76b5fd5a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1330.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1330 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + selectedTextStyle: { color: Color.Blue, font: { style: FontStyle.Normal } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1340.ets new file mode 100644 index 00000000..3d400cd7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1340.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1340 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + selectedTextStyle: { color: Color.Blue, font: { weight: 100 } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1350.ets new file mode 100644 index 00000000..8fd8e2d8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1350.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1350 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + selectedTextStyle: { color: Color.Blue, font: { weight: 400 } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1360.ets new file mode 100644 index 00000000..31ddf6a1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1360.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1360 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + selectedTextStyle: { color: Color.Blue, font: { weight: 900 } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1370.ets new file mode 100644 index 00000000..4fc7b3c5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1370.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1370 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + selectedTextStyle: { color: Color.Blue, font: { weight: FontWeight.Bolder } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1380.ets new file mode 100644 index 00000000..4c7c415c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1380.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1380 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + selectedTextStyle: { color: Color.Blue, font: { weight: FontWeight.Bold } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1390.ets new file mode 100644 index 00000000..e680251e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1390.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1390 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + selectedTextStyle: { color: Color.Blue, font: { weight: FontWeight.Lighter } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1400.ets new file mode 100644 index 00000000..a27e6601 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1400.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1400 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + selectedTextStyle: { color: Color.Blue, font: { weight: FontWeight.Medium } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1410.ets new file mode 100644 index 00000000..b777f745 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1410.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1410 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + selectedTextStyle: { color: Color.Blue, font: { weight: FontWeight.Normal } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1420.ets new file mode 100644 index 00000000..cbb0e2c1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1420.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1420 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + selectedTextStyle: { color: Color.Blue, font: { weight: FontWeight.Regular } } + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1430.ets new file mode 100644 index 00000000..a589ad98 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1430.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1430 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + defaultPickerItemHeight: 10 + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1440.ets new file mode 100644 index 00000000..8b7ea87d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1440.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1440 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + selected: 2, + defaultPickerItemHeight: '10px' + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1450.ets new file mode 100644 index 00000000..e365862e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1450.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1450 { + @State range: string[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = ['apple', 'orange', 'banana']; + TextPickerDialog.show({ + range: this.range + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1460.ets new file mode 100644 index 00000000..f6de320e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1460.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1460 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = []; + TextPickerDialog.show({ + range: this.range, + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1470.ets new file mode 100644 index 00000000..0f27c8fe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1470.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTextPickerDialogInterface1470 { + @State range: TextPickerRangeContent[] = []; + + build() { + Column() { + Row() { + Button("Click").id('ShowTextPicker').margin({ top: 20 }).onClick(() => { + this.range = [ + { icon: '/testability/pages/images/img.png', text: 'apple' }, + { icon: '/testability/pages/images/img.png', text: 'orange' }, + ]; + TextPickerDialog.show({ + range: this.range, + }) + }) + } + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0700.ets new file mode 100644 index 00000000..27ca156b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0700.ets @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0700 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog") + .id('UIComponentPopupboxTimepickerdialogInterface0700_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + disappearTextStyle: { + color: 'rgb(255, 0, 0)', + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0710.ets new file mode 100644 index 00000000..51e9907c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0710.ets @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0710 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0710_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + disappearTextStyle: { + color: $r('app.color.blue') + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0720.ets new file mode 100644 index 00000000..da1b8a0d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0720.ets @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0720 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0720_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + disappearTextStyle: { + color: 0x0000ff + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0730.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0730.ets new file mode 100644 index 00000000..ffab88b8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0730.ets @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0730 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0730_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + disappearTextStyle: { + color: Color.Blue + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0740.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0740.ets new file mode 100644 index 00000000..19e88d9b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0740.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0740 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0740_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + disappearTextStyle: { + font: { + family: 'Arial,HarmonyOS Sans' + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0750.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0750.ets new file mode 100644 index 00000000..67ec32b5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0750.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0750 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0750_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + disappearTextStyle: { + font: { + family: 'Arial,HarmonyOS Sans' + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0760.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0760.ets new file mode 100644 index 00000000..8ed37a33 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0760.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0760 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog") + .id('UIComponentPopupboxTimepickerdialogInterface0760_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + disappearTextStyle: { + font: { + size: '10px' + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0770.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0770.ets new file mode 100644 index 00000000..7c308f91 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0770.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0770 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0770_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + disappearTextStyle: { + font: { + size: 10 + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0780.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0780.ets new file mode 100644 index 00000000..0617306d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0780.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0780 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0780_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + disappearTextStyle: { + font: { + size: $r('app.string.time_picker_10fp') + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0790.ets new file mode 100644 index 00000000..b8d3408f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0790.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0790 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0790_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + disappearTextStyle: { + font: { + style: FontStyle.Italic + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0800.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0800.ets new file mode 100644 index 00000000..3bdff12e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0800.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0800 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0800_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + disappearTextStyle: { + font: { + style: FontStyle.Normal + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0810.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0810.ets new file mode 100644 index 00000000..90e9c373 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0810.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0810 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0810_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + disappearTextStyle: { + font: { + weight: FontWeight.Bold + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0820.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0820.ets new file mode 100644 index 00000000..689c77b6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0820.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0820 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0820_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + disappearTextStyle: { + font: { + weight: FontWeight.Bolder + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0830.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0830.ets new file mode 100644 index 00000000..845f3b66 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0830.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0830 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0830_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + disappearTextStyle: { + font: { + weight: FontWeight.Medium + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0840.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0840.ets new file mode 100644 index 00000000..236908de --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0840.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0840 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0840_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + disappearTextStyle: { + font: { + weight: FontWeight.Normal + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0850.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0850.ets new file mode 100644 index 00000000..bc915dd5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0850.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0850 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0850_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + disappearTextStyle: { + font: { + weight: FontWeight.Regular + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0860.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0860.ets new file mode 100644 index 00000000..29609e92 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0860.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0860 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog") + .id('UIComponentPopupboxTimepickerdialogInterface0860_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + disappearTextStyle: { + font: { + weight: 400 + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0870.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0870.ets new file mode 100644 index 00000000..92d0caa2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0870.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0870 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog") + .id('UIComponentPopupboxTimepickerdialogInterface0870_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + disappearTextStyle: { + font: { + weight: 500 + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0880.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0880.ets new file mode 100644 index 00000000..993f5c23 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0880.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0880 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0880_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + disappearTextStyle: { + font: { + weight: '500' + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0890.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0890.ets new file mode 100644 index 00000000..4b87f1a1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0890.ets @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0890 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + @State timeText: string = ''; + + build() { + Row() { + Column() { + Text('时间:' + this.timeText) + .fontSize(50) + Button("TimePickerDialog") + .id('UIComponentPopupboxTimepickerdialogInterface0890_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.timeText = value.hour + '小时' + value.minute + '分钟'; + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0900.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0900.ets new file mode 100644 index 00000000..8321b6ff --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0900.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import promptAction from '@ohos.promptAction' + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0900 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0900_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + promptAction.showToast({ + message: '取消弹窗', + duration: 4000, + }); + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0910.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0910.ets new file mode 100644 index 00000000..5fec0e83 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0910.ets @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0910 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + @State timeText: string = '8小时30分钟'; + + build() { + Row() { + Column() { + Text(this.timeText) + .fontSize(50) + Button("TimePickerDialog") + .id('UIComponentPopupboxTimepickerdialogInterface0910_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + this.timeText = value.hour + '小时' + value.minute + '分钟'; + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0920.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0920.ets new file mode 100644 index 00000000..1f00b2b1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0920.ets @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0920 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0920_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0930.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0930.ets new file mode 100644 index 00000000..84284b36 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0930.ets @@ -0,0 +1,58 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0930 { + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0930_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0940.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0940.ets new file mode 100644 index 00000000..e750f062 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0940.ets @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0940 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0940_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + selectedTextStyle: { + color: 'rgb(255, 0, 0)' + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0950.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0950.ets new file mode 100644 index 00000000..1448989f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0950.ets @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0950 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0950_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + selectedTextStyle: { + color: $r('app.color.blue') + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0960.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0960.ets new file mode 100644 index 00000000..c734343f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0960.ets @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0960 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0960_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + selectedTextStyle: { + color: 0x0000ff + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0970.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0970.ets new file mode 100644 index 00000000..a538f8ba --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0970.ets @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0970 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0970_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + selectedTextStyle: { + color: Color.Blue + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0980.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0980.ets new file mode 100644 index 00000000..21821ed0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0980.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0980 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface0980_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + selectedTextStyle: { + font: { + family: $r('app.string.popup_font_time_picker') + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0990.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0990.ets new file mode 100644 index 00000000..f112e689 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0990.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface0990 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog") + .id('UIComponentPopupboxTimepickerdialogInterface0990_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + selectedTextStyle: { + font: { + family: 'Arial,HarmonyOS Sans' + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1000.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1000.ets new file mode 100644 index 00000000..cb9b7b6c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1000.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1000 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1000_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + selectedTextStyle: { + font: { + size: '10px' + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1010.ets new file mode 100644 index 00000000..ab37c036 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1010.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1010 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1010_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + selectedTextStyle: { + font: { + size: 10 + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1020.ets new file mode 100644 index 00000000..56b29712 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1020.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1020 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1020_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + selectedTextStyle: { + font: { + size: $r('app.string.time_picker_10vp') + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1030.ets new file mode 100644 index 00000000..a767f84e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1030.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1030 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1030_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + selectedTextStyle: { + font: { + style: FontStyle.Italic + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1040.ets new file mode 100644 index 00000000..3d80fa01 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1040.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1040 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1040_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + selectedTextStyle: { + font: { + style: FontStyle.Normal + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1050.ets new file mode 100644 index 00000000..7280928f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1050.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1050 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1050_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + selectedTextStyle: { + font: { + weight: FontWeight.Bold + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1060.ets new file mode 100644 index 00000000..f6faa874 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1060.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1060 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1060_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + selectedTextStyle: { + font: { + weight: FontWeight.Bolder + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1070.ets new file mode 100644 index 00000000..e3f0bc06 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1070.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1070 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1070_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + selectedTextStyle: { + font: { + weight: FontWeight.Lighter + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1080.ets new file mode 100644 index 00000000..835d11e4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1080.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1080 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1080_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + selectedTextStyle: { + font: { + weight: FontWeight.Medium + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1090.ets new file mode 100644 index 00000000..7062713e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1090.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1090 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1090_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + selectedTextStyle: { + font: { + weight: FontWeight.Normal + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1100.ets new file mode 100644 index 00000000..d2f65277 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1100.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1100 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1100_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + selectedTextStyle: { + font: { + weight: FontWeight.Regular + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1110.ets new file mode 100644 index 00000000..1bf4deea --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1110.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1110 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1110_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + selectedTextStyle: { + font: { + weight: 400 + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1120.ets new file mode 100644 index 00000000..47b57484 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1120.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1120 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1120_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + selectedTextStyle: { + font: { + weight: 500 + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1130.ets new file mode 100644 index 00000000..7eb3b077 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1130.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1130 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1130_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + selectedTextStyle: { + font: { + weight: '500' + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1140.ets new file mode 100644 index 00000000..8c9384d6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1140.ets @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1140 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1140_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + textStyle: { + color: 'rgb(255, 0, 0)', + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1150.ets new file mode 100644 index 00000000..3c87db8a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1150.ets @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1150 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1150_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + textStyle: { + color: $r('app.color.blue') + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1160.ets new file mode 100644 index 00000000..8054bf6d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1160.ets @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1160 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1160_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + textStyle: { + color: 0x0000ff + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1170.ets new file mode 100644 index 00000000..4817c9de --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1170.ets @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1170 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1170_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + textStyle: { + color: Color.Black + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1180.ets new file mode 100644 index 00000000..aac4e671 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1180.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1180 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1180_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + textStyle: { + font: { + family: $r('app.string.popup_font_time_picker') + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1190.ets new file mode 100644 index 00000000..33039cbd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1190.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1190 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1190_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + textStyle: { + font: { + family: 'Arial,HarmonyOS Sans' + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1200.ets new file mode 100644 index 00000000..d56bc694 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1200.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1200 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1200_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + textStyle: { + font: { + size: '10px' + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1210.ets new file mode 100644 index 00000000..0fa6245c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1210.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1210 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1210_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + textStyle: { + font: { + size: 10 + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1220.ets new file mode 100644 index 00000000..8ac51f27 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1220.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1220 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1220_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + textStyle: { + font: { + size: $r('app.string.time_picker_10fp') + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1230.ets new file mode 100644 index 00000000..17d06c20 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1230.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1230 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1230_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + textStyle: { + font: { + style: FontStyle.Italic + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1240.ets new file mode 100644 index 00000000..9ca3d1d5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1240.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1240 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1240_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + textStyle: { + font: { + style: FontStyle.Normal + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1250.ets new file mode 100644 index 00000000..83f363cb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1250.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1250 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1250_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + textStyle: { + font: { + weight: FontWeight.Bold + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1260.ets new file mode 100644 index 00000000..a3bcf1d8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1260.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1260 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1260_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + textStyle: { + font: { + weight: FontWeight.Bolder + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1270.ets new file mode 100644 index 00000000..be574604 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1270.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1270 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1270_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + textStyle: { + font: { + weight: FontWeight.Lighter + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1280.ets new file mode 100644 index 00000000..067ee770 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1280.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1280 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1280_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + textStyle: { + font: { + weight: FontWeight.Medium + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1290.ets new file mode 100644 index 00000000..d7df0a4b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1290.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1290 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1290_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + textStyle: { + font: { + weight: FontWeight.Normal + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1300.ets new file mode 100644 index 00000000..9aa6f977 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1300.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1300 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1300_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + textStyle: { + font: { + weight: FontWeight.Regular + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1310.ets new file mode 100644 index 00000000..2fb52e9a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1310.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1310 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1310_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + textStyle: { + font: { + weight: 400 + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1320.ets new file mode 100644 index 00000000..35b5a6ac --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1320.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1320 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1320_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + textStyle: { + font: { + weight: 500 + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1330.ets new file mode 100644 index 00000000..f06a8671 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1330.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1330 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1330_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + textStyle: { + font: { + weight: '500' + } + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1340.ets new file mode 100644 index 00000000..7e12ac39 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1340.ets @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1340 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog") + .id('UIComponentPopupboxTimepickerdialogInterface1340_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: false, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1350.ets new file mode 100644 index 00000000..bf7b4e1f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1350.ets @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1350 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1350_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1360.ets new file mode 100644 index 00000000..1444d98d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1360.ets @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface1360 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface1360_001') + .margin(20) + .onClick(() => { + this.getUIContext().showTimePickerDialog({ + selected: this.selectTime, + useMilitaryTime: true, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + + this.getUIContext().showTimePickerDialog({ + offset: { + dx: 50, + dy: 50, + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20010.ets new file mode 100644 index 00000000..6d3a8fb0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20010.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20010 { + build() { + Row() { + Column() { + Button("TimePickerDialog") + .id('button1') + .margin(20) + .onClick(() => { + TimePickerDialog.show(); + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20020.ets new file mode 100644 index 00000000..79e0e68e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20020.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20020 { + build() { + Row() { + Column() { + Button("TimePickerDialog") + .id('UIComponentPopupboxTimepickerdialogInterface20020_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({}); + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20030.ets new file mode 100644 index 00000000..3787e66c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20030.ets @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20030 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20030_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + alignment: DialogAlignment.Top, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20040.ets new file mode 100644 index 00000000..912c14e5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20040.ets @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20040 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20040_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + alignment: DialogAlignment.Center, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20050.ets new file mode 100644 index 00000000..f1535750 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20050.ets @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20050 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20050_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + alignment: DialogAlignment.Bottom, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20060.ets new file mode 100644 index 00000000..e68d67ad --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20060.ets @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20060 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20060_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + alignment: DialogAlignment.Default, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20070.ets new file mode 100644 index 00000000..c5fd16a8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20070.ets @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20070 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20070_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + alignment: DialogAlignment.TopStart, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20080.ets new file mode 100644 index 00000000..e1bb1340 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20080.ets @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20080 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20080_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + alignment: DialogAlignment.TopEnd, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20090.ets new file mode 100644 index 00000000..2fbbd9e1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20090.ets @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20090 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20090_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + alignment: DialogAlignment.CenterStart, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20100.ets new file mode 100644 index 00000000..a09f9714 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20100.ets @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20100 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20100_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + alignment: DialogAlignment.CenterEnd, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20110.ets new file mode 100644 index 00000000..5a877689 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20110.ets @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20110 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20110_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + alignment: DialogAlignment.BottomStart, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20120.ets new file mode 100644 index 00000000..df9ae77c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20120.ets @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20120 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20120_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + alignment: DialogAlignment.BottomEnd, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20130.ets new file mode 100644 index 00000000..d080784d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20130.ets @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20130 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20130_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20140.ets new file mode 100644 index 00000000..8c0597a3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20140.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20140 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20140_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + offset: { + dx: 0, + dy: 0, + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20150.ets new file mode 100644 index 00000000..4c79cb9e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20150.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20150 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20150_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + offset: { + dx: -20, + dy: 20, + }, + // alignment: DialogAlignment.BottomEnd, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20160.ets new file mode 100644 index 00000000..47483c53 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20160.ets @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20160 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20160_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20170.ets new file mode 100644 index 00000000..62526a37 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20170.ets @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20170 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20170_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + maskRect: { + x: 50, + y: 50, + width: '50%', + height: '50%', + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20180.ets new file mode 100644 index 00000000..4e59abb5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20180.ets @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20180 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20180_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20190.ets new file mode 100644 index 00000000..b3e76f4c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20190.ets @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20190 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20190_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + backgroundBlurStyle: BlurStyle.NONE, + backgroundColor: Color.Pink, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20200.ets new file mode 100644 index 00000000..8238c09a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20200.ets @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20200 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20200_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + backgroundBlurStyle: BlurStyle.NONE, + backgroundColor: 0x008000, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20210.ets new file mode 100644 index 00000000..eea8cde8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20210.ets @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20210 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20210_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + backgroundColor: '#9effffff', + backgroundBlurStyle: BlurStyle.NONE, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20220.ets new file mode 100644 index 00000000..ffc13ddc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20220.ets @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20220 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20220_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + backgroundColor: $r('app.color.Pink'), + backgroundBlurStyle: BlurStyle.NONE, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20230.ets new file mode 100644 index 00000000..d60ea7db --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20230.ets @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20230 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20230_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + backgroundColor: $r('app.color.color_gray'), + backgroundBlurStyle: BlurStyle.NONE, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20240.ets new file mode 100644 index 00000000..aee87918 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20240.ets @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20240 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20240_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + backgroundBlurStyle: BlurStyle.NONE, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20250.ets new file mode 100644 index 00000000..541d21c0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20250.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20250 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + @State m: number = 0 + @State bgColors: Color[] = [Color.Red, Color.Pink, Color.Orange, Color.Green, Color.Gray, Color.Blue] + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20250_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + backgroundColor: this.bgColors[this.m], + backgroundBlurStyle: BlurStyle.NONE, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + this.m += 1; + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20260.ets new file mode 100644 index 00000000..f2d6159f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20260.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20260 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20260_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + backgroundBlurStyle: BlurStyle.Thin, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + Column() + .width('100%') + .height('50%') + .backgroundColor('red') + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20270.ets new file mode 100644 index 00000000..d6404c56 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20270.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20270 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20270_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + backgroundBlurStyle: BlurStyle.Regular, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + Column() + .width('100%') + .height('50%') + .backgroundColor('red') + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20280.ets new file mode 100644 index 00000000..4a77c5b8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20280.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20280 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20280_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + backgroundBlurStyle: BlurStyle.Thick, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + Column() + .width('100%') + .height('50%') + .backgroundColor('red') + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20290.ets new file mode 100644 index 00000000..69d6515d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20290.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20290 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20290_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + backgroundBlurStyle: BlurStyle.BACKGROUND_THIN, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + Column() + .width('100%') + .height('50%') + .backgroundColor('red') + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20300.ets new file mode 100644 index 00000000..0b7efa47 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20300.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20300 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20300_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + backgroundBlurStyle: BlurStyle.BACKGROUND_REGULAR, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + Column() + .width('100%') + .height('50%') + .backgroundColor('red') + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20310.ets new file mode 100644 index 00000000..ab23f415 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20310.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20310 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20310_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + backgroundBlurStyle: BlurStyle.BACKGROUND_THICK, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + Column() + .width('100%') + .height('50%') + .backgroundColor('red') + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20320.ets new file mode 100644 index 00000000..e0150a4f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20320.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20320 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20320_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + backgroundBlurStyle: BlurStyle.BACKGROUND_ULTRA_THICK, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + Column() + .width('100%') + .height('50%') + .backgroundColor('red') + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20330.ets new file mode 100644 index 00000000..29a4ce00 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20330.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20330 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20330_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + backgroundBlurStyle: BlurStyle.NONE, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + Column() + .width('100%') + .height('50%') + .backgroundColor('red') + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20340.ets new file mode 100644 index 00000000..8d1d7cc9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20340.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20340 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20340_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + backgroundBlurStyle: BlurStyle.COMPONENT_ULTRA_THIN, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + Column() + .width('100%') + .height('50%') + .backgroundColor('red') + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20350.ets new file mode 100644 index 00000000..47b796fc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20350.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20350 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20350_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + backgroundBlurStyle: BlurStyle.COMPONENT_THIN, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + Column() + .width('100%') + .height('50%') + .backgroundColor('red') + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20360.ets new file mode 100644 index 00000000..25a033d9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20360.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20360 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20360_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + backgroundBlurStyle: BlurStyle.COMPONENT_REGULAR, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + Column() + .width('100%') + .height('50%') + .backgroundColor('red') + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20370.ets new file mode 100644 index 00000000..e12b87bc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20370.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20370 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20370_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + backgroundBlurStyle: BlurStyle.COMPONENT_THICK, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + Column() + .width('100%') + .height('50%') + .backgroundColor('red') + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20380.ets new file mode 100644 index 00000000..383830a2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20380.ets @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20380 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20380_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + backgroundBlurStyle: BlurStyle.COMPONENT_ULTRA_THICK, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + Column() + .width('100%') + .height('50%') + .backgroundColor('red') + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20390.ets new file mode 100644 index 00000000..daea09d3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20390.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20390 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20390_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + Column() + .width('100%') + .height('50%') + .backgroundColor('red') + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20400.ets new file mode 100644 index 00000000..3dd7e4b8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20400.ets @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogInterface20400 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogInterface20400_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + alignment: DialogAlignment.Default, + offset: { + dx: 0, + dy: 0, + }, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + // Column() + // .width('100%') + // .height('50%') + // .backgroundColor('red') + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0010.ets new file mode 100644 index 00000000..4852206e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0010.ets @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import Window from '@ohos.window' +import common from '@ohos.app.ability.common'; + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogScenarios0010 { + private portrait: boolean = true + + build() { + Row() { + Column() { + Button("DatePickerDialog") + .id('UIComponentPopupboxTimepickerdialogScenarios0010_001') + .margin(20) + .onClick(() => { + this.changeOrientation(); + this.getUIContext().showDatePickerDialog({}) + DatePickerDialog.show({}) + setTimeout(() => { + this.changeOrientation(); + }, 3000) + }) + } + .width('100%') + .height('100%') + } + } + + private changeOrientation() { + let context = getContext(this) as common.UIAbilityContext; + let promise = Window.getLastWindow(context); + promise.then((data) => { + const windowClass = data; + if (this.portrait) { + let orientation = Window.Orientation.LANDSCAPE; + windowClass.setPreferredOrientation(orientation, (err) => { + }); + this.portrait = !this.portrait + console.info('Succeeded in obtaining the top window. Data: ' + JSON.stringify(data)); + } else { + let orientation = Window.Orientation.PORTRAIT; + windowClass.setPreferredOrientation(orientation, (err) => { + }); + this.portrait = !this.portrait + console.info('Succeeded in obtaining the top window. Data: ' + JSON.stringify(data)); + } + }) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0020.ets new file mode 100644 index 00000000..535bd65e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0020.ets @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import Window from '@ohos.window' +import common from '@ohos.app.ability.common'; + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogScenarios0020 { + private portrait: boolean = true + + build() { + Row() { + Column() { + Button("DatePickerDialog") + .id('UIComponentPopupboxTimepickerdialogScenarios0020_001') + .margin(20) + .onClick(() => { + this.changeOrientation(); + DatePickerDialog.show({}) + this.getUIContext().showDatePickerDialog({}) + setTimeout(() => { + this.changeOrientation(); + }, 3000) + }) + } + .width('100%') + .height('100%') + } + } + + private changeOrientation() { + let context = getContext(this) as common.UIAbilityContext; + let promise = Window.getLastWindow(context); + promise.then((data) => { + const windowClass = data; + if (this.portrait) { + let orientation = Window.Orientation.LANDSCAPE; + windowClass.setPreferredOrientation(orientation, (err) => { + }); + this.portrait = !this.portrait + console.info('Succeeded in obtaining the top window. Data: ' + JSON.stringify(data)); + } else { + let orientation = Window.Orientation.PORTRAIT; + windowClass.setPreferredOrientation(orientation, (err) => { + }); + this.portrait = !this.portrait + console.info('Succeeded in obtaining the top window. Data: ' + JSON.stringify(data)); + } + }) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0030.ets new file mode 100644 index 00000000..29daf2a4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0030.ets @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogScenarios0030 { + private selectTime: Date = new Date('2020-12-25T08:30:00') + @State quantity: number = 0; + + build() { + Row() { + Column() { + Text("打开次数:" + this.quantity) + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogScenarios0030_001') + .margin(20) + .onClick(() => { + this.quantity++; + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute) + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)) + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()") + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)) + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()") + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()") + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()") + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()") + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0090.ets new file mode 100644 index 00000000..68a9722e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0090.ets @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentPopupboxTimepickerdialogScenarios0090 { + private selectTime: Date = new Date('2020-12-25T08:30:00'); + + build() { + Row() { + Column() { + Button("TimePickerDialog 24小时制") + .id('UIComponentPopupboxTimepickerdialogScenarios0090_001') + .margin(20) + .onClick(() => { + TimePickerDialog.show({ + selected: this.selectTime, + useMilitaryTime: true, + onAccept: (value: TimePickerResult) => { + if (value.hour != undefined && value.minute != undefined) { + this.selectTime.setHours(value.hour, value.minute); + console.info("TimePickerDialog:onAccept()" + JSON.stringify(value)); + } + }, + onCancel: () => { + console.info("TimePickerDialog:onCancel()"); + }, + onChange: (value: TimePickerResult) => { + console.info("TimePickerDialog:onChange()" + JSON.stringify(value)); + }, + onDidAppear: () => { + console.info("TimePickerDialog:onDidAppear()"); + }, + onDidDisappear: () => { + console.info("TimePickerDialog:onDidDisappear()"); + }, + onWillAppear: () => { + console.info("TimePickerDialog:onWillAppear()"); + }, + onWillDisappear: () => { + console.info("TimePickerDialog:onWillDisappear()"); + } + }) + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollPickerPickerrefactor/UIComponentScrollPickerPickerrefactor0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollPickerPickerrefactor/UIComponentScrollPickerPickerrefactor0190.ets new file mode 100644 index 00000000..f40ed19c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollPickerPickerrefactor/UIComponentScrollPickerPickerrefactor0190.ets @@ -0,0 +1,46 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentScrollPickerPickerrefactor0190 { + @State isMilitaryTime: boolean = false + private selectedTime: Date = new Date('2022-07-22T08:00:00') + + build() { + Row() { + Column() { + Button('切换12小时制/24小时制') + .id('UIComponentScrollPickerPickerrefactor0190_001') + .margin(30) + .onClick(() => { + this.isMilitaryTime = !this.isMilitaryTime; + }) + TimePicker({ + selected: this.selectedTime, + }) + .useMilitaryTime(this.isMilitaryTime) + .onChange((value: TimePickerResult) => { + if (value.hour >= 0) { + this.selectedTime.setHours(value.hour, value.minute); + console.info('select current date is: ' + JSON.stringify(value)); + } + }) + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0110.ets new file mode 100644 index 00000000..85d7309d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0110.ets @@ -0,0 +1,125 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentSoftKeyBoardOptimize0110 { + controllerA: TextInputController = new TextInputController(); + @State inputValueA: string = ''; + controllerB: TextInputController = new TextInputController(); + @State inputValueB: string = ''; + controllerC: TextInputController = new TextInputController(); + @State inputValueC: string = ''; + controllerD: TextInputController = new TextInputController(); + @State inputValueD: string = ''; + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + this.input({ inputValue: this.inputValueA, controller: this.controllerA, index: 0 }); + Divider().height(10).color(Color.Transparent) + this.input({ inputValue: this.inputValueB, controller: this.controllerB, index: 1 }); + Divider().height(10).color(Color.Transparent) + this.input({ inputValue: this.inputValueC, controller: this.controllerC, index: 2 }); + Divider().height(10).color(Color.Transparent) + this.input({ inputValue: this.inputValueD, controller: this.controllerD, index: 3 }); + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } + + @Builder + input(tmp: Tmp) { + if (tmp.index === 0) { + TextInput({ controller: tmp.controller, text: tmp.inputValue, placeholder: '组件A' }) + .margin(10) + .border({ width: 1 }) + .height('48vp').id('TextInputA') + } else if (tmp.index === 1) { + TextInput({ controller: tmp.controller, text: tmp.inputValue, placeholder: '组件B' }) + .customKeyboard(this.keyboardB()) + .margin(10) + .border({ width: 1 }) + .height('48vp') + .id('TextInputB') + } else if (tmp.index === 2) { + TextInput({ controller: tmp.controller, text: tmp.inputValue, placeholder: '组件C' }) + .customKeyboard(this.keyboardC()) + .margin(10) + .border({ width: 1 }) + .height('48vp') + .id('TextInputC') + } else { + TextInput({ controller: tmp.controller, text: tmp.inputValue, placeholder: '组件D' }) + .margin(10) + .border({ width: 1 }) + .height('48vp').id('TextInputD') + } + } + + @Builder + keyboardB() { + CustomKeyboardBuilder({ inputValue: this.inputValueB, controller: this.controllerB, index: 0 }); + } + + @Builder + keyboardC() { + CustomKeyboardBuilder({ inputValue: this.inputValueC, controller: this.controllerC, index: 1 }); + } +} + +class Tmp { + inputValue?: string; + controller?: TextInputController; + index?: number; +} + +// 自定义键盘组件 +@Component +export struct CustomKeyboardBuilder { + controller?: TextInputController = new TextInputController(); + index: number = 0; + @Link inputValue: string + + build() { + Column() { + Button('x').onClick(() => { + // 关闭自定义键盘 + this.controller?.stopEditing(); + }) + Grid() { + ForEach([1, 2, 3, 4, 5, 6, 7, 8, 9, '*', 0, '#'], (item: number | string) => { + GridItem() { + Button(item + '') + .backgroundColor(this.index === 0 ? Color.Blue : + (this.index === 1 ? Color.Green : Color.Red)) + .width(110) + .onClick(() => { + this.inputValue += item; + }) + } + }) + } + .maxCount(3) + .columnsGap(10) + .rowsGap(10) + .padding(5) + } + .backgroundColor(Color.Gray) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0120.ets new file mode 100644 index 00000000..3b1e4800 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0120.ets @@ -0,0 +1,125 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentSoftKeyBoardOptimize0120 { + controllerA: TextInputController = new TextInputController(); + @State inputValueA: string = ''; + controllerB: TextInputController = new TextInputController(); + @State inputValueB: string = ''; + controllerC: TextInputController = new TextInputController(); + @State inputValueC: string = ''; + controllerD: TextInputController = new TextInputController(); + @State inputValueD: string = ''; + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + this.input({ inputValue: this.inputValueA, controller: this.controllerA, index: 0 }); + Divider().height(10).color(Color.Transparent) + this.input({ inputValue: this.inputValueB, controller: this.controllerB, index: 1 }); + Divider().height(10).color(Color.Transparent) + this.input({ inputValue: this.inputValueC, controller: this.controllerC, index: 2 }); + Divider().height(10).color(Color.Transparent) + this.input({ inputValue: this.inputValueD, controller: this.controllerD, index: 3 }); + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } + + @Builder + input(tmp: Tmp) { + if (tmp.index === 0) { + TextInput({ controller: tmp.controller, text: tmp.inputValue, placeholder: '组件A' }) + .margin(10) + .border({ width: 1 }) + .height('48vp').id('TextInputA') + } else if (tmp.index === 1) { + TextInput({ controller: tmp.controller, text: tmp.inputValue, placeholder: '组件B' }) + .customKeyboard(this.keyboardB()) + .margin(10) + .border({ width: 1 }) + .height('48vp') + .id('TextInputB') + } else if (tmp.index === 2) { + TextInput({ controller: tmp.controller, text: tmp.inputValue, placeholder: '组件C' }) + .customKeyboard(this.keyboardC()) + .margin(10) + .border({ width: 1 }) + .height('48vp') + .id('TextInputC') + } else { + TextInput({ controller: tmp.controller, text: tmp.inputValue, placeholder: '组件D' }) + .margin(10) + .border({ width: 1 }) + .height('48vp').id('TextInputD') + } + } + + @Builder + keyboardB() { + CustomKeyboardBuilder({ inputValue: this.inputValueB, controller: this.controllerB, index: 0 }); + } + + @Builder + keyboardC() { + CustomKeyboardBuilder({ inputValue: this.inputValueC, controller: this.controllerC, index: 1 }); + } +} + +class Tmp { + inputValue?: string; + controller?: TextInputController; + index?: number; +} + +// 自定义键盘组件 +@Component +export struct CustomKeyboardBuilder { + controller?: TextInputController = new TextInputController(); + index: number = 0; + @Link inputValue: string + + build() { + Column() { + Button('x').onClick(() => { + // 关闭自定义键盘 + this.controller?.stopEditing(); + }) + Grid() { + ForEach([1, 2, 3, 4, 5, 6, 7, 8, 9, '*', 0, '#'], (item: number | string) => { + GridItem() { + Button(item + '') + .backgroundColor(this.index === 0 ? Color.Blue : + (this.index === 1 ? Color.Green : Color.Red)) + .width(110) + .onClick(() => { + this.inputValue += item; + }) + } + }) + } + .maxCount(3) + .columnsGap(10) + .rowsGap(10) + .padding(5) + } + .backgroundColor(Color.Gray) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0220.ets new file mode 100644 index 00000000..cb7be35a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0220.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentSoftKeyBoardOptimize0220 { + controller: TextInputController = new TextInputController(); + @State inputValue: string = ''; + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TextInput({ controller: this.controller, text: this.inputValue, placeholder: '应用A' }) + .margin(10) + .border({ width: 1 }) + .height('48vp').id('TextInputA') + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0230.ets new file mode 100644 index 00000000..63419077 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0230.ets @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentSoftKeyBoardOptimize0230 { + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + Button('应用E') + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0250.ets new file mode 100644 index 00000000..1c007b77 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0250.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentSoftKeyBoardOptimize0250 { + controller: TextInputController = new TextInputController(); + @State inputValue: string = ''; + + build() { + Row() { + Column() { + Divider().height(10).color(Color.Transparent) + TextInput({ controller: this.controller, text: this.inputValue, placeholder: '应用A' }) + .margin(10) + .border({ width: 1 }) + .height('48vp').id('TextInputA') + Divider().height(10).color(Color.Transparent) + } + .width('100%') + } + .height('100%').alignItems(VerticalAlign.Top) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpanBaselineoffset/UIComponentSpanBaselineoffset0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpanBaselineoffset/UIComponentSpanBaselineoffset0060.ets new file mode 100644 index 00000000..0e4ba9de --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpanBaselineoffset/UIComponentSpanBaselineoffset0060.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UiComponentSpanBaselineoffset0060 { + @State val: LengthMetrics | null | undefined = undefined; + @State msg: String = ""; + + aboutToAppear(): void { + try { + let s: ESObject = "10"; + this.val = new LengthMetrics(s); + } catch (e) { + this.msg = `${e}`; + } + } + + build() { + Column() { + Text() { + Span("LengthMetrics:") + ImageSpan(`${this.msg}`).baselineOffset(this.val) + } + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInterface/UIComponentTextInterface008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInterface/UIComponentTextInterface008.ets new file mode 100644 index 00000000..afdbfdda --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInterface/UIComponentTextInterface008.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Window from '@ohos.window' +import common from '@ohos.app.ability.common'; +import { BusinessError } from '@ohos.base'; + +@Entry +@Component +struct UIComponentTextInterface008 { + @State message: string = 'This is a text, 测试文本?;:' + @State message_ug: string = ' بۇ سىناق نۇسخىسى :؟' + @State directionValue: number = Direction.Auto + @State clickFlags: number = 0 + private portrait: boolean = true + + build() { + Row() { + Column() { + Text(this.message_ug) + .direction(this.directionValue) + .fontSize(20) + .textShadow({ + radius: 10, + color: Color.Black, + offsetX: 10, + offsetY: 10 + }) + .border({ width: 1 }) + .margin({ top: 10 }) + .padding(10) + .width('100%') + .onClick(() => { + this.message_ug = this.message + }) + .key('UIComponentTextInterface008_001') + Button('Switch Direction') + .margin({ top: 10 }) + .onClick(() => { + this.clickFlags = this.clickFlags + 1 + if (this.clickFlags == 1) { + this.directionValue = Direction.Ltr + } else if (this.clickFlags == 2) { + this.directionValue = Direction.Rtl + } else if (this.clickFlags == 3) { + this.clickFlags = 0 + this.directionValue = Direction.Auto + } + }).key('UIComponentTextInterface008_button_001') + } + .width('100%') + .height('100%') + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextSelectionInterface/UIComponentTextSelectionInterface_menu.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextSelectionInterface/UIComponentTextSelectionInterface_menu.ets new file mode 100644 index 00000000..50694e4e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextSelectionInterface/UIComponentTextSelectionInterface_menu.ets @@ -0,0 +1,88 @@ +/* + * Copyright (c) 2024 Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import font from '@ohos.font'; + +@Entry +@Component +struct UIComponentTextSelectionInterface_menu { + private iconStr: ResourceStr = $r("app.media.icon") + + aboutToAppear() { + font.registerFont({ + familyName: 'ownfonttwo', + familySrc: $rawfile('font/own1.ttf') + }); + } + + @Builder + SubMenu() { + Menu() { + MenuItem({ content: "复制", labelInfo: "Ctrl+C" }) + MenuItem({ content: "粘贴", labelInfo: "Ctrl+V" }) + MenuItem({ content: "全选", labelInfo: "Ctrl+A" }) + } + } + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: $r("app.media.icon"), content: "菜单选项" }) + MenuItem({ startIcon: $r("app.media.icon"), content: "菜单选项" }) + MenuItem({ startIcon: $r("app.media.icon"), content: "菜单选项" }) + .enabled(false) + MenuItem({ + startIcon: this.iconStr, + content: "菜单选项", + builder: (): void => this.SubMenu() + }) + MenuItemGroup({ header: '小标题' }) { + MenuItem({ + startIcon: this.iconStr, + content: "菜单选项", + builder: (): void => this.SubMenu() + }) + MenuItem({ + startIcon: $r("app.media.app_icon"), + content: "菜单选项", + builder: (): void => this.SubMenu() + }) + MenuItem({ + startIcon: $r("app.media.app_icon"), + content: "菜单选项", + builder: (): void => this.SubMenu() + }) + } + + MenuItem({ + startIcon: this.iconStr, + content: "菜单选项", + }) + } + .font({ family: 'ownfonttwo' }) + } + + build() { + Row() { + Column() { + TextInput({ placeholder: 'click to show menu' }) + .fontSize(50) + .fontWeight(FontWeight.Bold).bindMenu(this.MyMenu) + } + //.bindMenu(this.MyMenu) + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0040.ets new file mode 100644 index 00000000..2097fcc6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0040.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { SelectionMenu, EditorMenuOptions, ExpandedMenuOptions, EditorEventInfo, SelectionMenuOptions } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit'; +import { BusinessError } from '@kit.BasicServicesKit'; +import Utils from '../../../test/model/Utils'; + +@Entry +@Component +struct UIComponentTextTextAbility0040 { + @State text: string = 'Text:Test for focusable' + @State res: string = 'After Select: ' + @State start: number = 5 + @State end: number = 8 + controller: TextInputController = new TextInputController() + + build() { + Column() { + Column() { + Text(this.text) + .width('80%') + .height('50') + .margin(20) + .focusable(true) + .selection(3, 8) + .textSelectable(TextSelectableMode.SELECTABLE_FOCUSABLE) + .fontSize(16) + .copyOption(CopyOptions.InApp) + .id('text_textAbility0040') //.selection(this.start,this.end) + + + /*Button('Set text selection').margin(20).id('btn_textAbility0150').onClick(()=>{ + this.start = 3 + this.end = this.text.length + })*/ + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0050.ets new file mode 100644 index 00000000..edcdfd30 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0050.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { drawing } from '@kit.ArkGraphics2D' +import { text } from "@kit.ArkGraphics2D" +import { image } from '@kit.ImageKit'; + +function textFunc() { + let myParagraphStyle: text.ParagraphStyle = { + align: text.TextAlign.END, + }; + let fontCollection = new text.FontCollection(); + let ParagraphGraphBuilder = new text.ParagraphBuilder(myParagraphStyle, fontCollection); + let paragraph = ParagraphGraphBuilder.build(); + + const color: ArrayBuffer = new ArrayBuffer(160000); + let opts: image.InitializationOptions = { editable: true, pixelFormat: 3, size: { height: 200, width: 200 } } + let pixelMap: image.PixelMap = image.createPixelMapSync(color, opts); + let canvas = new drawing.Canvas(pixelMap); + + paragraph.paint(canvas, 0, 0); +} + +@Entry +@Component +struct UIComponentTextTextAbility0050 { + @State text: string = 'Text:Test for Paragraph Paint' + @State res: string = 'After Copy:' + controller: TextInputController = new TextInputController() + + build() { + Column() { + Column() { + Text(this.text) + .width('80%') + .height('50') + .margin(20) + .fontSize(16) + .copyOption(CopyOptions.InApp) + .id('textAbility0050_text') + .selection(5, 20) + .onCopy((value: string) => { + console.log(`onCopy:${value}`); + this.res = 'after onCopy: ' + value; + }) + Column() { + Button('click').id('textAbility0050_btn').onClick(() => { + textFunc() + }) + } + .width('100%') + + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0060.ets new file mode 100644 index 00000000..4e309833 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0060.ets @@ -0,0 +1,74 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import inspector from '@ohos.arkui.inspector' + +@Entry +@Component +struct UIComponentTextTextAbility0060 { + @State text: string = 'Text:Test for inspector' + @State res: string = 'After Copy:' + @State start: number = 0 + @State end: number = 0 + @State vis: number = Visibility.Hidden + controller: TextInputController = new TextInputController() + listener: inspector.ComponentObserver = inspector.createComponentObserver('textAbility0060_text') + + aboutToAppear() { + let onLayoutComplete: () => void = (): void => { + console.log(`onLayoutComplete>>>`); + // do something here + this.vis = Visibility.Visible + } + let onDrawComplete: () => void = (): void => { + console.log(`onDrawComplete>>>`); + this.start = 5 + this.end = 20 + // do something here + } + let offLayoutComplete: () => void = (): void => { + // do something here + } + let offDrawComplete: () => void = (): void => { + // do something here + } + let FuncLayout = onLayoutComplete // bind current js instance + let FuncDraw = onDrawComplete // bind current js instance + let OffFuncLayout = offLayoutComplete // bind current js instance + let OffFuncDraw = offDrawComplete // bind current js instance + + this.listener.on('layout', FuncLayout) + this.listener.on('draw', FuncDraw) + + // 通过句柄向对应的查询条件取消注册回调,由开发者自行决定在何时调用。 + // this.listener.off('layout', OffFuncLayout) + // this.listener.off('draw', OffFuncDraw) + } + + build() { + Column() { + Column() { + Text(this.text) + .width('80%') + .height('50') + .margin(20) + .fontSize(16) + .copyOption(CopyOptions.InApp) + .key('textAbility0060_text') + .selection(this.start, this.end) + .visibility(this.vis) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0080.ets new file mode 100644 index 00000000..91b2fb79 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0080.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import inspector from '@ohos.arkui.inspector' +import common from '@ohos.app.ability.common' + +const context = getContext(this) +const uiAbilityContext = context as common.UIAbilityContext + +@Entry +@Component +struct UIComponentTextTextAbility0080 { + build() { + Column() { + Button("跳转到设置") + .id('textAbility0080_btn') + .onClick(() => { + let context = getContext(this) as common.UIAbilityContext; + uiAbilityContext.startAbility({ + bundleName: 'com.ohos.settings', + abilityName: 'com.ohos.settings.MainAbility', + //uri: 'application_settings', //application_settings application_info_entry + /*parameters: { + pushParams: uiAbilityContext.abilityInfo.bundleName + // 应用包名com.ohos.settings + }*/ + }); + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0100.ets new file mode 100644 index 00000000..68230384 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0100.ets @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentTextTextAbility0100 { + @State text: string = 'Text:Test for MARQUEE' + @State overflow: number = TextOverflow.None + @State color: number = Color.Yellow + + build() { + Column() { + Text(this.text) + .width('80%') + .height('100') + .margin(20) + .fontSize(16) + .copyOption(CopyOptions.InApp) + .id('textAbility0100_text') + .textOverflow({ overflow: this.overflow }) + .width(200) + .borderWidth(1) + .borderColor(Color.Orange) + .backgroundColor(this.color) + .onClick(() => { + console.log(`onClick>>`); + }) + + Button('start MARQUEE').id('textAbility0100_btn').onClick(() => { + console.log(`onClick>>`); + this.text += this.text + this.overflow = TextOverflow.MARQUEE + this.color = Color.Green + + /*for (let index = 0; index <= 30; index++) { + let res = index%5 + switch (res){ + case 1: + case 3: + case 5: + this.color = Color.Blue + break; + case 2: + case 4: + this.color = Color.Green + break; + } + }*/ + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0110.ets new file mode 100644 index 00000000..9f9200dc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0110.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentTextTextAbility0110 { + @State text: string = 'Text:textShadow' + @State overflow: number = TextOverflow.None + @State color: number = Color.Yellow + + build() { + Column() { + Text(this.text) { + Span(this.text).fontColor(Color.Gray) + } + .width('100%') + .height('100') + .margin(20) + .textShadow({ + radius: 5, + color: Color.Black, + offsetX: 0, + offsetY: 0 + }) + .fontSize(26) + .copyOption(CopyOptions.InApp) + .id('textAbility0110_text') + .textOverflow({ overflow: this.overflow }) + .borderWidth(1) + .borderColor(Color.Orange) + .onClick(() => { + console.log(`onClick>>`); + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0180.ets new file mode 100644 index 00000000..44ebe6aa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0180.ets @@ -0,0 +1,86 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { photoAccessHelper } from '@kit.MediaLibraryKit'; +import { fileIo } from '@kit.CoreFileKit'; + +@Entry +@Component +struct UIComponentTextTextAbility0180 { + @State text: string = '' + + build() { + Column() { + Text(this.text) + .width('100%') + .height('100') + .margin(20) + .fontSize(26) + .copyOption(CopyOptions.InApp) + .id('textAbility0180_text') + + // 默认参数下,图标、文字、背景都存在 + + SaveButton({ icon: SaveIconStyle.PICTURE, text: SaveDescription.SAVE_IMAGE }) + .key('TextAbility0180_btn1') + .onClick((async (event: ClickEvent, result: SaveButtonOnClickResult) => { + if (result == SaveButtonOnClickResult.SUCCESS) { + console.log(`SAVE_IMAGE onClick>>`); + this.text = '保存图片成功' + } + })) + + SaveButton({ icon: SaveIconStyle.LINES, text: SaveDescription.SAVE_FILE }) + .key('TextAbility0180_btn2') + .onClick((async (event: ClickEvent, result: SaveButtonOnClickResult) => { + if (result == SaveButtonOnClickResult.SUCCESS) { + console.log(`SAVE_FILE onClick>>`); + this.text = '保存文件成功' + } + })) + + SaveButton({ icon: SaveIconStyle.FULL_FILLED, text: SaveDescription.DOWNLOAD }) + .key('TextAbility0180_btn3') + .onClick((async (event: ClickEvent, result: SaveButtonOnClickResult) => { + if (result == SaveButtonOnClickResult.SUCCESS) { + console.log(`DOWNLOAD onClick>>`); + this.text = '保存视频成功' + } + })) + /*SaveButton({icon:SaveIconStyle.FULL_FILLED,text:SaveDescription.DOWNLOAD}) + .onClick(async (event:ClickEvent, result:SaveButtonOnClickResult) => { + if (result == SaveButtonOnClickResult.SUCCESS) { + console.log(`DOWNLOAD onClick>>`); + this.text = '保存视频成功' + */ + /*try { + const context = getContext(this); + let helper = photoAccessHelper.getPhotoAccessHelper(context); + // onClick触发后10秒内通过createAsset接口创建图片文件,10秒后createAsset权限收回。 + let uri = await helper.createAsset(photoAccessHelper.PhotoType.IMAGE, 'png'); + // 使用uri打开文件,可以持续写入内容,写入过程不受时间限制 + let file = await fileIo.open(uri, fileIo.OpenMode.READ_WRITE | fileIo.OpenMode.CREATE); + // 写入文件 + await fileIo.write(file.fd, "context"); + // 关闭文件 + await fileIo.close(file.fd); + } catch (error) { + console.error("error is "+ JSON.stringify(error)); + }*/ + /* + } + })*/ + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable026.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable026.ets new file mode 100644 index 00000000..9a25b0ba --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable026.ets @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentTextTextEditable026 { + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + + build() { + Row() { + Column() { + Button("update span style") + .id('updateButton') + .onClick(() => { + this.controller.updateSpanStyle({ + start: 0, + end: 1, + imageStyle: + { + size: ["100px", "100px"] + } + }) + this.controller.updateSpanStyle({ + start: 3, + end: 5, + textStyle: { + fontWeight: FontWeight.Bolder + } + }) + }) + + RichEditor(this.options) + .onReady(() => { + this.controller.addImageSpan('cat.jpg', + { + imageStyle: + { + size: ["60px", "60px"], + verticalAlign: ImageSpanAlignment.BOTTOM, + } + }) + this.controller.addTextSpan("0123456", + { + style: + { + fontColor: Color.Orange, + fontSize: 30 + } + }) + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextInputCursor/UIComponentTextTextInputCursor1720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextInputCursor/UIComponentTextTextInputCursor1720.ets new file mode 100644 index 00000000..91da65ba --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextInputCursor/UIComponentTextTextInputCursor1720.ets @@ -0,0 +1,127 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import Settings from '../../../test/model/Settings' + +import Window from '@ohos.window' +import common from '@ohos.app.ability.common'; +import { BusinessError } from '@kit.BasicServicesKit'; + +@Entry +@Component +struct UIComponentTextTextInputCursor1720 { + @State msg: string = + "OpenHarmony是由开放原子开源基金会(OpenAtom Foundation)孵化及运营的开源项目, 目标是面向全场景、全连" + + "接、全智能时代、基于开源的方式,搭建一个智能终端设备操作系统的框架和平台" + @State txt: string = 'TextArea/TextInput/Search,' + this.msg + @State taTxt: string = 'TextArea:' + this.msg + @State tiTxt: string = 'TextInput:' + this.msg + @State changeValue: string = 'search:' + this.msg + @State taSelectRes: string = '' + @State taScrollRes: string = '' + @State tiSelectRes: string = '' + @State tiScrollRes: string = '' + @State seSelectRes: string = '' + @State seScrollRes: string = '' + @State submitValue: string = '' + searchController: SearchController = new SearchController(); + textAreaController: TextAreaController = new TextAreaController() + textInputController: TextInputController = new TextInputController() + + build() { + Column() { + TextArea({ + text: this.taTxt, + placeholder: 'The text area can hold an unlimited amount of text. input your word...', + controller: this.textAreaController + }) + .id('textInputCursor1720_txArea') + .width('100%') + .margin(20) + .height(50) + .fontSize(16) + .fontColor('#182431') + .backgroundColor('#FFFFFF') + .onContentScroll((totalOffsetX: number, totalOffsetY: number) => { + console.log(`onContentScroll>>>`); + this.taScrollRes = `TextArea{scrolling:[${totalOffsetX},${totalOffsetY}]}`; + }) + .onTextSelectionChange((selectionStart: number, selectionEnd: number) => { + console.log(`onTextSelectionChange>>>`); + if (selectionStart == selectionEnd) { + this.taSelectRes = `TextArea{point:[${selectionStart},${selectionEnd}]}`; + } else { + let length = this.taTxt.length; + if (selectionEnd < length) { + this.textAreaController.setTextSelection(selectionStart, length); + } + this.taSelectRes = `TextArea{select:[${selectionStart},${selectionEnd}]}`; + } + }) + Text(this.taScrollRes + '\n' + this.taSelectRes) + .fontColor(Color.Green) + .fontSize(20) + .margin({ top: 20, bottom: 10 }) + .width('95%') + + Search({ + value: this.changeValue, + placeholder: 'Type to search...', + controller: this.searchController + }) + .id('textInputCursor1720_search') + .searchButton('SEARCH') + .width('100%') + .height(50) + .backgroundColor('#F5F5F5') + .placeholderColor(Color.Grey) + .placeholderFont({ size: 14, weight: 400 }) + .textFont({ size: 14, weight: 400 }) + .margin(20) + .onContentScroll((totalOffsetX: number, totalOffsetY: number) => { + console.log(`onContentScroll>>>`); + this.seScrollRes = `Search{scrolling:[${totalOffsetX},${totalOffsetY}]}`; + }) + .onTextSelectionChange((selectionStart: number, selectionEnd: number) => { + console.log('onTextSelectionChange>>'); + // this.searchController.stopEditing(); + if (selectionStart == selectionEnd) { + this.seSelectRes = `Search{point:[${selectionStart},${selectionEnd}]}`; + } else { + let length = this.changeValue.length; + if (selectionEnd < length) { + this.searchController.setTextSelection(selectionStart, length); + } + this.seSelectRes = `Search{select:[${selectionStart},${selectionEnd}]}`; + } + }) + Text(this.seScrollRes + '\n' + this.seSelectRes) + .fontColor(Color.Brown) + .fontSize(20) + .margin({ top: 20, bottom: 10 }) + .width('95%') + + + Button('TODO requestFocus') + .id('textInputCursor1720_btn') + .fontColor(Color.Brown) + .onClick(() => { + console.log('onClick, requestFocus'); + focusControl.requestFocus('textInputCursor1720_search'); + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextInputKeepEditableState/UIComponentTextTextInputKeepEditableState0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextInputKeepEditableState/UIComponentTextTextInputKeepEditableState0100.ets new file mode 100644 index 00000000..1ba97145 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextInputKeepEditableState/UIComponentTextTextInputKeepEditableState0100.ets @@ -0,0 +1,56 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UIComponentTextTextInputKeepEditableState0100 { + @State msg: string = + "OpenHarmony是由开放原子开源基金会(OpenAtom Foundation)孵化及运营的开源项目, 目标是面向全场景、全连" + + "接、全智能时代、基于开源的方式,搭建一个智能终端设备操作系统的框架和平台" + @State text: string = 'TextInput:test keepEditableState' + @State enterKey: string = '' + @State enterKeyType: number = 0 + enterKeyTypeStr: string[] = ['Go', 'Search', 'Send', 'Next', 'Done', 'PREVIOUS', 'NEW_LINE'] + enterKeyTypeNum: number[] = + [EnterKeyType.Go, EnterKeyType.Search, EnterKeyType.Send, EnterKeyType.Next, EnterKeyType.Done, + EnterKeyType.PREVIOUS, EnterKeyType.NEW_LINE] + + build() { + Column() { + TextInput({ placeholder: 'input...', text: this.text }) + .id('textInputKeepEditableState0100') + .width('95%') + .borderWidth(3) + .onSubmit((enterKey: EnterKeyType, event: SubmitEvent) => { + console.log(`onSubmit>> enterKey=${enterKey}`); + this.enterKeyType = enterKey.valueOf(); + for (let index = 0; index < this.enterKeyTypeNum.length; index++) { + if (enterKey == this.enterKeyTypeNum[index]) { + this.enterKey = this.enterKeyTypeStr[index]; + } + } + // 调用keepEditableState方法,输入框保持编辑态 + event.keepEditableState() + }) + + Text('current EnterKeyType is:' + this.enterKey) + .fontColor(Color.Brown) + .fontSize(20) + .margin({ top: 20, bottom: 10 }) + .width('95%') + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1340.ets new file mode 100644 index 00000000..6521d236 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1340.ets @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor1340 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Row() { + Search({ value: "light" }).layoutWeight(1) + Button("浅色模式").id("change_theme_button").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1350.ets new file mode 100644 index 00000000..4c463920 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1350.ets @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor1350 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Row() { + Search({ value: "light" }).layoutWeight(1) + Button("ChangeTheme").id("change_theme_button").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1360.ets new file mode 100644 index 00000000..061d6ce1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1360.ets @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor1360 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + } + + build() { + Row() { + Search({ value: "light" }).layoutWeight(1) + Button("ChangeTheme").id("change_theme_button").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1370.ets new file mode 100644 index 00000000..9276ad3e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1370.ets @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor1360 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + } + + build() { + Row() { + Search({ value: "light" }).layoutWeight(1) + Button("ChangeTheme").id("change_theme_button").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1380.ets new file mode 100644 index 00000000..9503a72c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1380.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor1380 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Row() { + WithTheme({ colorMode: ThemeColorMode.LIGHT }) { + Search({ value: "light" }).layoutWeight(1) + } + + Button("ChangeTheme").id("change_theme_button").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1390.ets new file mode 100644 index 00000000..1f5db095 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1390.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor1390 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + } + + build() { + Row() { + WithTheme({ colorMode: ThemeColorMode.DARK }) { + Search({ value: "light" }).layoutWeight(1) + } + + Button("ChangeTheme").id("change_theme_button").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1400.ets new file mode 100644 index 00000000..b68032b2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1400.ets @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor1390 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + } + + build() { + Row() { + WithTheme({ colorMode: ThemeColorMode.SYSTEM }) { + Search({ value: "light" }).layoutWeight(1) + } + + Button("ChangeTheme").id("change_theme_button").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1550.ets new file mode 100644 index 00000000..627364c3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1550.ets @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor1550 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Row() { + WithTheme({ colorMode: ThemeColorMode.SYSTEM }) { + Text() { + Span("light").layoutWeight(1) + }.layoutWeight(1) + } + + Button("ChangeTheme").id("change_theme_button").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1560.ets new file mode 100644 index 00000000..f48b0e24 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1560.ets @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor1560 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Row() { + WithTheme({ colorMode: ThemeColorMode.SYSTEM }) { + Text() { + Span("light").layoutWeight(1) + }.layoutWeight(1) + } + + Button("ChangeTheme").id("change_theme_button").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1570.ets new file mode 100644 index 00000000..d5c50160 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1570.ets @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor1570 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + } + + build() { + Row() { + WithTheme({ colorMode: ThemeColorMode.SYSTEM }) { + Text() { + Span("light").layoutWeight(1) + }.layoutWeight(1) + } + + Button("ChangeTheme").id("change_theme_button").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1580.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1580.ets new file mode 100644 index 00000000..be8f3161 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1580.ets @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor1580 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + } + + build() { + Row() { + WithTheme({ colorMode: ThemeColorMode.SYSTEM }) { + Text() { + Span("light").layoutWeight(1) + }.layoutWeight(1) + } + + Button("ChangeTheme").id("change_theme_button").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1590.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1590.ets new file mode 100644 index 00000000..e41c50b7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1590.ets @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor1590 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + } + + build() { + Row() { + WithTheme({ colorMode: ThemeColorMode.LIGHT }) { + Text() { + Span("light").layoutWeight(1) + }.layoutWeight(1) + } + + Button("ChangeTheme").id("change_theme_button").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1600.ets new file mode 100644 index 00000000..0e509307 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1600.ets @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor1600 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + } + + build() { + Row() { + WithTheme({ colorMode: ThemeColorMode.DARK }) { + Text() { + Span("light").layoutWeight(1) + }.layoutWeight(1) + } + + Button("ChangeTheme").id("change_theme_button").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1610.ets new file mode 100644 index 00000000..d1d1062b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1610.ets @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor1610 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Row() { + WithTheme({ colorMode: ThemeColorMode.SYSTEM }) { + Text() { + Span("light").layoutWeight(1) + }.layoutWeight(1) + } + + Button("ChangeTheme").id("change_theme_button").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1970.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1970.ets new file mode 100644 index 00000000..0113c887 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1970.ets @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor1970 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column() { + Button("浅色模式").id("change_theme_bt").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + }) + TextPicker({ + range: ['Test 1', 'Test 2', 'Test 3', 'Test4'] + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1980.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1980.ets new file mode 100644 index 00000000..0e9730a5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1980.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant' + +@Entry +@Component +struct UIComponentUISupportColor1980 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column() { + Row() { + Button("Dark").id("change_theme_bt").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + }) + }.margin({ bottom: 20 }) + + WithTheme({ colorMode: ThemeColorMode.SYSTEM }) { + TextPicker({ + range: ['Test 1', 'Test 2', 'Test 3', 'Test4'] + }) + } + }.width('100%') + .height('100%') + + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1990.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1990.ets new file mode 100644 index 00000000..75e531ed --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1990.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant' + +@Entry +@Component +struct UIComponentUISupportColor2030 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + } + + build() { + Column() { + Row() { + Button("Light").id("change_light_theme_bt").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + }) + }.margin({ bottom: 20 }) + + WithTheme({ colorMode: ThemeColorMode.SYSTEM }) { + TextPicker({ + range: ['Test 1', 'Test 2', 'Test 3', 'Test4'] + }) + } + }.width('100%') + .height('100%') + + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2000.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2000.ets new file mode 100644 index 00000000..e6384d43 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2000.ets @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor2000 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + } + + build() { + Column() { + Button("深色模式").id("change_theme_bt").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + }) + TextPicker({ + range: ['Test 1', 'Test 2', 'Test 3', 'Test4'] + }) + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2010.ets new file mode 100644 index 00000000..5c6bd98c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2010.ets @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant' + +@Entry +@Component +struct UIComponentUISupportColor2010 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + } + + build() { + Column() { + WithTheme({ colorMode: ThemeColorMode.LIGHT }) { + TextPicker({ + range: ['Test 1', 'Test 2', 'Test 3', 'Test4'] + }) + } + }.width('100%') + .height('100%') + + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2020.ets new file mode 100644 index 00000000..b6477d72 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2020.ets @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant' + +@Entry +@Component +struct UIComponentUISupportColor2020 { + build() { + Column() { + WithTheme({ colorMode: ThemeColorMode.DARK }) { + TextPicker({ + range: ['Test 1', 'Test 2', 'Test 3', 'Test4'] + }) + } + }.width('100%') + .height('100%') + + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2030.ets new file mode 100644 index 00000000..9dfe8e9e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2030.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant' + +@Entry +@Component +struct UIComponentUISupportColor2030 { + build() { + Column() { + Row() { + Button("Light").id("change_light_theme_bt").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + }) + Button("Dark").id("change_dark_theme_bt").margin({ left: 20 }).onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + }) + }.margin({ bottom: 20 }) + + WithTheme({ colorMode: ThemeColorMode.SYSTEM }) { + TextPicker({ + range: ['Test 1', 'Test 2', 'Test 3', 'Test4'] + }) + } + }.width('100%') + .height('100%') + + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2110.ets new file mode 100644 index 00000000..47ad9bd8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2110.ets @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor2110 { + + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column({space: 20}) { + TimePicker({ + selected: new Date('2020-12-25T08:30:00') + }) + + Button("ChangeTheme").id("change_theme_button").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + }) + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2120.ets new file mode 100644 index 00000000..cf4ad2cb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2120.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor2120 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column({ space: 20 }) { + TimePicker({ + selected: new Date('2020-12-25T08:30:00') + }) + + Button("ChangeTheme").id("change_theme_button").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + }) + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2130.ets new file mode 100644 index 00000000..0fbc87ea --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2130.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor2130 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + } + + build() { + Column({ space: 20 }) { + TimePicker({ + selected: new Date('2020-12-25T08:30:00') + }) + + Button("ChangeTheme").id("change_theme_button").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + }) + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2140.ets new file mode 100644 index 00000000..d74f489f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2140.ets @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor2140 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + } + + build() { + Column({ space: 20 }) { + TimePicker({ + selected: new Date('2020-12-25T08:30:00') + }) + + Button("ChangeTheme").id("change_theme_button").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + }) + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2150.ets new file mode 100644 index 00000000..f6bad415 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2150.ets @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor2150 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + } + + build() { + Column({ space: 20 }) { + WithTheme({ colorMode: ThemeColorMode.LIGHT }) { + TimePicker({ + selected: new Date('2020-12-25T08:30:00') + }).backgroundColor($r('sys.color.background_primary')) + } + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2160.ets new file mode 100644 index 00000000..b0820c36 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2160.ets @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor2160 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column({ space: 20 }) { + WithTheme({ colorMode: ThemeColorMode.DARK }) { + TimePicker({ + selected: new Date('2020-12-25T08:30:00') + }).backgroundColor($r('sys.color.background_primary')) + } + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2170.ets new file mode 100644 index 00000000..63ff4e86 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2170.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor2170 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column({ space: 20 }) { + WithTheme({ colorMode: ThemeColorMode.SYSTEM }) { + TimePicker({ + selected: new Date('2020-12-25T08:30:00') + }).backgroundColor($r('sys.color.background_primary')) + } + + Button("ChangeTheme").id("change_theme_button").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + }) + + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2180.ets new file mode 100644 index 00000000..73dc36af --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2180.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor2180 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column() { + Button("浅色模式").id("Toggle").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + }) + Toggle({ type: ToggleType.Checkbox }) + Toggle({ type: ToggleType.Button }) { + Text('Toggle Button') + } + + Toggle({ type: ToggleType.Switch }) + } + .width('100%') + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2190.ets new file mode 100644 index 00000000..5a682671 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2190.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor2190 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + } + + build() { + Column() { + Button("深色模式").id("Toggle").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + }) + Toggle({ type: ToggleType.Checkbox }) + Toggle({ type: ToggleType.Button }) { + Text('Toggle Button') + } + + Toggle({ type: ToggleType.Switch }) + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2200.ets new file mode 100644 index 00000000..c78cd91d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2200.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor2200 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + } + + build() { + Column() { + Button("浅色模式").id("Toggle").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + }) + Toggle({ type: ToggleType.Checkbox }) + Toggle({ type: ToggleType.Button }) { + Text('Toggle Button') + } + + Toggle({ type: ToggleType.Switch }) + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2210.ets new file mode 100644 index 00000000..62e1d934 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2210.ets @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant'; + +@Entry +@Component +struct UIComponentUISupportColor2200 { + aboutToAppear(): void { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + } + + build() { + Column() { + Button("深色模式").id("Toggle").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + }) + Toggle({ type: ToggleType.Checkbox }) + Toggle({ type: ToggleType.Button }) { + Text('Toggle Button') + } + + Toggle({ type: ToggleType.Switch }) + } + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2220.ets new file mode 100644 index 00000000..39166808 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2220.ets @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentUISupportColor2220 { + build() { + Column() { + WithTheme({ colorMode: ThemeColorMode.LIGHT }) { + Row() { + Toggle({ type: ToggleType.Switch, isOn: false }) + Toggle({ type: ToggleType.Switch, isOn: true }) + } + } + }.width('100%') + .height('100%') + + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2230.ets new file mode 100644 index 00000000..ad4b880b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2230.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant' + +@Entry +@Component +struct UIComponentUISupportColor2230 { + build() { + Column() { + Row() { + Button("Light").id("change_light_theme_bt").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + }) + Button("Dark").id("change_dark_theme_bt").margin({ left: 20 }).onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + }) + }.margin({ bottom: 20 }) + + WithTheme({ colorMode: ThemeColorMode.DARK }) { + Row() { + Toggle({ type: ToggleType.Switch, isOn: false }) + Toggle({ type: ToggleType.Switch, isOn: true }) + } + } + }.width('100%') + .height('100%') + + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2240.ets new file mode 100644 index 00000000..6d7d7256 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2240.ets @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import ConfigurationConstant from '@ohos.app.ability.ConfigurationConstant' + +@Entry +@Component +struct UIComponentUISupportColor2240 { + build() { + Column() { + Row() { + Button("Light").id("change_light_theme_bt").onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); + }) + Button("Dark").id("change_dark_theme_bt").margin({ left: 20 }).onClick(() => { + getContext(this).getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); + }) + }.margin({ bottom: 20 }) + + WithTheme({ colorMode: ThemeColorMode.SYSTEM }) { + Row() { + Toggle({ type: ToggleType.Switch, isOn: false }) + Toggle({ type: ToggleType.Switch, isOn: true }) + } + } + }.width('100%') + .height('100%') + + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIDataPicker/UIComponentButtonDatepickerInterface0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIDataPicker/UIComponentButtonDatepickerInterface0230.ets new file mode 100644 index 00000000..1349f93b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIDataPicker/UIComponentButtonDatepickerInterface0230.ets @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonDatepickerInterface0230 { + private selectedDate: Date = new Date('2023-04-30') + + build() { + Column() { + DatePicker({ + start: new Date('1980-4-30'), + end: new Date('2370-4-30'), + selected: this.selectedDate + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIDataPicker/UIComponentButtonDatepickerInterface0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIDataPicker/UIComponentButtonDatepickerInterface0290.ets new file mode 100644 index 00000000..8b6ad896 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIDataPicker/UIComponentButtonDatepickerInterface0290.ets @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonDatepickerInterface0290 { + @State isLunar: boolean = false + private selectedDate: Date = new Date('2023-04-30') + + build() { + Column() { + DatePicker({ + start: new Date('1980-4-30'), + end: new Date('2370-4-30'), + selected: this.selectedDate + }).lunar(true) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIDataPicker/UIComponentPopupbxPickrold0560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIDataPicker/UIComponentPopupbxPickrold0560.ets new file mode 100644 index 00000000..a1615816 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIDataPicker/UIComponentPopupbxPickrold0560.ets @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupbxPickrold0560 { + build() { + Row() { + Column() { + DatePicker({ + start: new Date('1970-1-1'), + end: new Date('2100-1-1'), + }) + } + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UISearchInterface/UISearchInterface006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UISearchInterface/UISearchInterface006.ets new file mode 100644 index 00000000..535f4f5a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UISearchInterface/UISearchInterface006.ets @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UISearchInterface006 { + @State text: string = '这是提示文本' + + build() { + Row() { + Column() { + Search({ placeholder: this.text }) + .width(336) + .height(56) + .copyOption(CopyOptions.LocalDevice) + .margin({ top: 20 }) + .key('UISearchInterface006_001') + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/resources/containerspan_click_error.png b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/resources/containerspan_click_error.png new file mode 100644 index 0000000000000000000000000000000000000000..476223a2cbaa029e0ccc67660eb768effb766501 GIT binary patch literal 15905 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 literal 0 HcmV?d00001 diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/resources/containerspan_width_error.png b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/resources/containerspan_width_error.png new file mode 100644 index 0000000000000000000000000000000000000000..eaae1996c7bcdeafd8a6287b9d5d44cfda56a934 GIT binary patch literal 35731 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 I-00i?1;{rY6951J literal 0 HcmV?d00001 diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/resources/span_null_param_error.png b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/resources/span_null_param_error.png new file mode 100644 index 0000000000000000000000000000000000000000..846adf54057902753c7ad575ea11769db6c5eec8 GIT binary patch literal 16861 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 BMD+jw literal 0 HcmV?d00001 diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts index c26fa1d9..3e7da318 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts @@ -21,44 +21,43 @@ var abilityDelegator = undefined var abilityDelegatorArguments = undefined async function onAbilityCreateCallback() { - hilog.info(0x0000, 'testTag', '%{public}s', 'onAbilityCreateCallback'); + hilog.info(0x0000, 'testTag', '%{public}s', 'onAbilityCreateCallback'); } async function addAbilityMonitorCallback(err: any) { - hilog.info(0x0000, 'testTag', 'addAbilityMonitorCallback : %{public}s', JSON.stringify(err) ?? ''); + hilog.info(0x0000, 'testTag', 'addAbilityMonitorCallback : %{public}s', JSON.stringify(err) ?? ''); } export default class OpenHarmonyTestRunner implements TestRunner { - constructor() { - } + constructor() { + } - onPrepare() { - hilog.info(0x0000, 'testTag', '%{public}s', 'OpenHarmonyTestRunner OnPrepare '); - } + onPrepare() { + hilog.info(0x0000, 'testTag', '%{public}s', 'OpenHarmonyTestRunner OnPrepare '); + } - async onRun() { - hilog.info(0x0000, 'testTag', '%{public}s', 'OpenHarmonyTestRunner onRun run'); - abilityDelegatorArguments = AbilityDelegatorRegistry.getArguments() - abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator() - var testAbilityName = abilityDelegatorArguments.bundleName + '.TestAbility' - let lMonitor = { - abilityName: testAbilityName, - onAbilityCreate: onAbilityCreateCallback, - }; - abilityDelegator.addAbilityMonitor(lMonitor, addAbilityMonitorCallback) - var cmd = 'aa start -d 0 -a TestAbility' + ' -b ' + abilityDelegatorArguments.bundleName - var debug = abilityDelegatorArguments.parameters['-D'] - if (debug == 'true') - { - cmd += ' -D' - } - hilog.info(0x0000, 'testTag', 'cmd : %{public}s', cmd); - abilityDelegator.executeShellCommand(cmd, - (err: any, d: any) => { - hilog.info(0x0000, 'testTag', 'executeShellCommand : err : %{public}s', JSON.stringify(err) ?? ''); - hilog.info(0x0000, 'testTag', 'executeShellCommand : data : %{public}s', d.stdResult ?? ''); - hilog.info(0x0000, 'testTag', 'executeShellCommand : data : %{public}s', d.exitCode ?? ''); - }) - hilog.info(0x0000, 'testTag', '%{public}s', 'OpenHarmonyTestRunner onRun end'); + async onRun() { + hilog.info(0x0000, 'testTag', '%{public}s', 'OpenHarmonyTestRunner onRun run'); + abilityDelegatorArguments = AbilityDelegatorRegistry.getArguments() + abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator() + var testAbilityName = abilityDelegatorArguments.bundleName + '.TestAbility' + let lMonitor = { + abilityName: testAbilityName, + onAbilityCreate: onAbilityCreateCallback, + }; + abilityDelegator.addAbilityMonitor(lMonitor, addAbilityMonitorCallback) + var cmd = 'aa start -d 0 -a TestAbility' + ' -b ' + abilityDelegatorArguments.bundleName + var debug = abilityDelegatorArguments.parameters['-D'] + if (debug == 'true') { + cmd += ' -D' } + hilog.info(0x0000, 'testTag', 'cmd : %{public}s', cmd); + abilityDelegator.executeShellCommand(cmd, + (err: any, d: any) => { + hilog.info(0x0000, 'testTag', 'executeShellCommand : err : %{public}s', JSON.stringify(err) ?? ''); + hilog.info(0x0000, 'testTag', 'executeShellCommand : data : %{public}s', d.stdResult ?? ''); + hilog.info(0x0000, 'testTag', 'executeShellCommand : data : %{public}s', d.exitCode ?? ''); + }) + hilog.info(0x0000, 'testTag', '%{public}s', 'OpenHarmonyTestRunner onRun end'); + } } \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/module.json5 b/function/ui_compare_rh/uicompare/entry/src/ohosTest/module.json5 index e58bd507..57179624 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/module.json5 +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/module.json5 @@ -12,6 +12,15 @@ "installationFree": false, "pages": "$profile:test_pages", "requestPermissions": [ + { + "name": "ohos.permission.SYSTEM_FLOAT_WINDOW", + "usedScene": { + "abilities": [ + "EntryAbility" + ], + "when": "inuse" + } + }, { "name": "ohos.permission.WRITE_MEDIA" }, @@ -25,7 +34,13 @@ "name":"ohos.permission.RUNNING_LOCK" }, { - "name":"ohos.permission.INTERNET" + "name": "ohos.permission.CAPTURE_SCREEN" + }, + { + "name": "ohos.permission.ACCESS_SCREEN_LOCK_INNER" + }, + { + "name": "ohos.permission.INTERNET" } ], "abilities": [ diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/integer.json b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/integer.json index 97e43d83..557d9e21 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/integer.json +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/integer.json @@ -1,5 +1,5 @@ { - "integer":[ + "integer": [ { "name": "0", "value": 0 @@ -11,22 +11,28 @@ { "name": "20", "value": 20 - },{ + }, + { "name": "50", "value": 50 - },{ + }, + { "name": "integer30", "value": 30 - },{ + }, + { "name": "integer100", "value": 100 - },{ + }, + { "name": "string30", "value": 30 - },{ + }, + { "name": "30", "value": 30 - },{ + }, + { "name": "15", "value": 15 }, @@ -41,6 +47,10 @@ { "name": "integer333", "value": 333 + }, + { + "name": "negative5", + "value": 5 } ] } \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/strarray.json b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/strarray.json index abd922b6..7fa83f28 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/strarray.json +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/strarray.json @@ -78,7 +78,8 @@ "value": "ཤིང་ཏོག་ཧྥེང་ལི། " } ] - },{ + }, + { "name": "fruit_ww", "value": [ { @@ -163,7 +164,7 @@ } ] }, - { + { "name": "appliance_ww", "value": [ { diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/profile/test_pages.json b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/profile/test_pages.json index 5cc05ce9..dffbe546 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/profile/test_pages.json +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/profile/test_pages.json @@ -1,6 +1,796 @@ { "src": [ "testability/pages/Index", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0090", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0030", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0050", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0060", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0020", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0080", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0110", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0070", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0140", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0100", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0130", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0150", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0530", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0590", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0550", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0560", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0520", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0510", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0540", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0570", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0650", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0660", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0640", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0580", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0620", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0630", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0180", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0170", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0200", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0220", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0230", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0190", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0270", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0290", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0280", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0260", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0250", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0300", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0320", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0680", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0670", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0790", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0770", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0700", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0750", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0740", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0730", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0720", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0780", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0810", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0710", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0760", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0800", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0820", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0330", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0370", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0350", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0340", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0390", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0690", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0410", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0400", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0420", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0380", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0360", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0430", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0450", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0830", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0470", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0440", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0870", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0890", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0900", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0910", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0840", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0480", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0930", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0950", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0850", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0880", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0860", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0940", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0970", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0490", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0960", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0920", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0500", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0980", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage1000", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0990", + "testability/pages/UIComponentButtonTextPickerMirrorImage/UIComponentButtonTextPickerMirrorImage0120", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1970", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1980", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1990", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2000", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2010", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2020", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2030", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2110", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2120", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2130", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2140", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2150", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2160", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2170", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2180", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2190", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2200", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2210", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2220", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2230", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor2240", + "testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0010", + "testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0020", + "testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0030", + "testability/pages/UIComponentButtonTextPickerEvent/UIComponentButtonTextPickerEvent0040", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0010", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0030", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0060", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0120", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0130", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0040", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0050", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0070", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0230", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0270", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0310", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0400", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0420", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0370", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0320", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0390", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0350", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0380", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0150", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0160", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0170", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0410", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0330", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0300", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0080", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0360", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0340", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0580", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0530", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0510", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0550", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0560", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0570", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0520", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0540", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0280", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0290", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0100", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0090", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0240", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0260", + "testability/pages/UIComponentButtonTextPickerInterface/UIComponentButtonTextPickerInterface0250", + "testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0010", + "testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0030", + "testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0040", + "testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0050", + "testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0070", + "testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0080", + "testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0090", + "testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0100", + "testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0110", + "testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0120", + "testability/pages/UIComponentButtonTextPickerFadeout/UIComponentButtonTextPickerFadeout0130", + "testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0010", + "testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0020", + "testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0030", + "testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0040", + "testability/pages/UIComponentButtonTextPickerOverBoundaryRebound/UIComponentButtonTextPickerOverBoundaryRebound0050", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0120", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0180", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0530", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0560", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0590", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0620", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0650", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1010", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1020", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1030", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1050", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0570", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0240", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0670", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0110", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0130", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0600", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0520", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0220", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1070", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0640", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0540", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1040", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0630", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0140", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1060", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0580", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0550", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1090", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0610", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1100", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0660", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1130", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0680", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0210", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0690", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1140", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0700", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0250", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0710", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1080", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0730", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1120", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0720", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0230", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0740", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog1110", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0270", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0750", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0800", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0260", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0760", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0280", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0810", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0290", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0770", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0330", + "testability/pages/ComponentFunctionSpecialComponentsDialogTextPickerDialog/ComponentFunctionSpecialComponentsDialogTextPickerDialog0780", + "testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0020", + "testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0050", + "testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0030", + "testability/pages/UIComponentPopupboxButtonstyle/UIComponentPopupboxButtonstyle0060", + "testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0520", + "testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0550", + "testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0530", + "testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0510", + "testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0540", + "testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0620", + "testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0570", + "testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0580", + "testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0590", + "testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0640", + "testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0630", + "testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0600", + "testability/pages/UIComponentPopupboxEnter/UIComponentPopupboxEnter0610", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0250", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0370", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0220", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0240", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0270", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0190", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0310", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0180", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0300", + "testability/pages/UIComponentButtonToggleInteraction/UIComponentButtonToggleInteraction0010", + "testability/pages/UIDataPicker/UIComponentPopupbxPickrold0560", + "testability/pages/UIDataPicker/UIComponentButtonDatepickerInterface0230", + "testability/pages/UIButton/UIComponentUIsupportColor0130", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1340", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1350", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1360", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1370", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1380", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1390", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1400", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1550", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1560", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1570", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1580", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1590", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1600", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1610", + "testability/pages/UIComponentInfomationMarqueeDirection/UIComponentInfomationMarqueeDirection0120", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1210", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1280", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1310", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1270", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1390", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1190", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1360", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1140", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1300", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1410", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1240", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1250", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1290", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1220", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1260", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1380", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1080", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1400", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1370", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1340", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1090", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1350", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1330", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1420", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1230", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1320", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1070", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1120", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1030", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1000", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1460", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1470", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1010", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1050", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1160", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1020", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1040", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1060", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1130", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1450", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1440", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1200", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1150", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1180", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1100", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1110", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1170", + "testability/pages/UIComponentPopupboxTextPickerDialogInterface/UIComponentPopupboxTextPickerDialogInterface1430", + "testability/pages/UIComponentPopupboxTextPickerDialogInteraction/UIComponentPopupboxTextPickerDialogInteraction0030", + "testability/pages/UIComponentPopupboxTextPickerDialogInteraction/UIComponentPopupboxTextPickerDialogInteraction0010", + "testability/pages/UIComponentPopupboxTextPickerDialogInteraction/UIComponentPopupboxTextPickerDialogInteraction0020", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0510", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0200", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog1000", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0500", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0150", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0940", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0490", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0160", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0980", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0470", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0080", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0950", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0190", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0960", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0460", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0090", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0970", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0450", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0170", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0480", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0990", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0400", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0100", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0930", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0440", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0900", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0430", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0040", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0920", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0420", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0030", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0910", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0410", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0890", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0360", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0880", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0310", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0870", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0390", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0860", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0370", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0840", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0340", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0790", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0380", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0850", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0350", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0820", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0300", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0830", + "testability/pages/UIComponentFunctionSpecialComponentsDialogTextPickerDialog/UIComponentFunctionSpecialComponentsDialogTextPickerDialog0320", + "testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0080", + "testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0070", + "testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0060", + "testability/pages/UIComponentPopupBoxPopup/UIComponentPopupBoxPopup0050", + "testability/pages/UIComponentButtonTimepickerEvent/UIComponentButtonTimepickerEvent0020", + "testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0040", + "testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0050", + "testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0060", + "testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0080", + "testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0100", + "testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0110", + "testability/pages/UIComponentTextTextAbility/UIComponentTextTextAbility0180", + "testability/pages/UISearchInterface/UISearchInterface006", + "testability/pages/UIComponentContainerSpanInterface/UIComponentContainerSpanInterface002", + "testability/pages/UIComponentTextInterface/UIComponentTextInterface008", + "testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0110", + "testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0120", + "testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0220", + "testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0230", + "testability/pages/UIComponentSoftKeyBoardOptimize/UIComponentSoftKeyBoardOptimize0250", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0210", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1430", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1590", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1330", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0770", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1300", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0570", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1570", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0250", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1320", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1530", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0750", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1250", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0540", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1510", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0220", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1280", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1480", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0700", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1220", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0550", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0610", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0280", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1390", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1520", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0790", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1310", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1490", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0560", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0740", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1230", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1580", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0530", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1410", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0780", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0260", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1270", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1350", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0600", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1420", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0240", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1380", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1500", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1630", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1290", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1460", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0590", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0720", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1260", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0580", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1440", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0230", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1340", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1560", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0310", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1400", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1540", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0290", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1790", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1550", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0270", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1100", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1360", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0330", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1370", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1050", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0300", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0850", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1090", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0380", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1800", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1060", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0320", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0980", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0020", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1160", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1680", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0970", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0110", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1170", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1690", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0840", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1010", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0340", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0860", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1030", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0350", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1020", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1780", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0400", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0870", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1070", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0370", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0880", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1120", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1650", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0960", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1180", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0390", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0890", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0090", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1140", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0360", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0930", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0080", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1200", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1660", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0950", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0050", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1040", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1640", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0910", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0120", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1080", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0800", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1000", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0060", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1150", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1610", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0900", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0100", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1130", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1670", + "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset0060", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow023", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow025", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow026", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow027", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow029", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow030", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow031", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow032", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow033", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow058", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow059", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow061", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow062", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow063", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow064", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow065", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow066", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow067", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow068", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow069", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow070", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow071", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow072", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow073", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow074", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow075", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow076", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow077", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow078", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow079", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow080", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow081", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow084", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow087", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow088", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow091", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow094", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow095", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow098", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow101", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow102", + "testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0290", + "testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0300", + "testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0320", + "testability/pages/UIComponentPopupBoxStyleStrong/UIComponentPopupBoxStyleStrong0330", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0020", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0030", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0040", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0050", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0060", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0070", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0080", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0090", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0100", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0110", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0120", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0130", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0140", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0150", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0160", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0170", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0180", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0190", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0200", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0210", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0220", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0230", + "testability/pages/UIComponentFunctionFormSelectionTimePickerLanguageOrder/UIComponentFunctionFormSelectionTimePickerLanguageOrder0240", + "testability/pages/UIComponentButtonToggleInteraction/UIComponentButtonToggleInteraction0030", + "testability/pages/UIComponentButtonToggleInteraction/UIComponentButtonToggleInteraction0020", + "testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0030", + "testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0040", + "testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0240", + "testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0250", + "testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0280", + "testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0290", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20160", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20190", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20200", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20080", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20030", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20040", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20240", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20070", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20170", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20100", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20120", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20130", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20150", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20110", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20050", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20220", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20260", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20210", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20250", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20230", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20280", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20270", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20290", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20340", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20310", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20350", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20330", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20360", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20390", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20370", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20380", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20320", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20400", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20300", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20010", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20020", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20090", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20060", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20180", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface2/UIComponentPopupboxTimepickerdialogInterface20140", + "testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0090", + "testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0030", + "testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0020", + "testability/pages/UIComponentPopupboxTimepickerdialogScenarios/UIComponentPopupboxTimepickerdialogScenarios0010", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0950", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1070", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1030", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1240", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1090", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1010", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0900", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1260", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1180", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1310", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1060", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1050", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1290", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1020", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1080", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1100", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0980", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1120", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0910", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1220", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1360", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1340", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0990", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0860", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0700", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0890", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0850", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1130", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0880", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1160", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1300", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1200", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1110", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1280", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1040", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1170", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0820", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0800", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0790", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1140", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0920", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1150", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0760", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1270", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0710", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0740", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1350", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0830", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0720", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1210", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0730", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0940", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0770", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0960", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0930", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1000", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0840", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1320", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0750", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1230", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0870", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1330", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0780", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0970", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface0810", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1250", + "testability/pages/UIComponentPopupboxTimepickerdialogInterface/UIComponentPopupboxTimepickerdialogInterface1190", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0920", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0180", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1190", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1730", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0940", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0170", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1110", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1740", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0990", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0070", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1600", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1760", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0410", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0140", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0630", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1710", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0030", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0420", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0620", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1720", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0430", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0010", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0650", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1750", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0440", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0040", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0710", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1620", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0450", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0130", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0670", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0820", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0460", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0160", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0640", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1700", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0470", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0200", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0690", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0830", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0480", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0190", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0680", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0810", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0490", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0150", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0660", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1770", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0510", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1470", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0760", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1210", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0500", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1450", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0730", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric1240", + "testability/pages/UIComponentButtonTimepickerNumeric/UIComponentButtonTimepickerNumeric0520", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0290", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0010", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0260", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0280", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0110", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0030", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0150", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0200", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0020", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0170", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0230", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0130", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0210", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0360", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0140", + "testability/pages/UIComponentButtonTimepickerInterface/UIComponentButtonTimepickerInterface0160", + "testability/pages/UIComponentScrollPickerPickerrefactor/UIComponentScrollPickerPickerrefactor0190", + "testability/pages/UIComponentPopupboxPickerold/UIComponentPopupboxPickerold1260", + "testability/pages/UIComponentPopupboxPickerold/UIComponentPopupboxPickerold1250", + "testability/pages/UIComponentPopupboxPickerold/UIComponentPopupboxPickerold1270", + "testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0040", + "testability/pages/UIComponentTextTextInputCursor/UIComponentTextTextInputCursor1720", + "testability/pages/UIComponentTextTextInputKeepEditableState/UIComponentTextTextInputKeepEditableState0100", "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0001", "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0002", "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0003", @@ -1458,6 +2248,96 @@ "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0990", "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize1000", "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize1010", + "testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle006", + "testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle008", + "testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle009", + "testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle010", + "testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle012", + "testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle016", + "testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle017", + "testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle020", + "testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle021", + "testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle022", + "testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle023", + "testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle024", + "testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle025", + "testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle026", + "testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle014", + "testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle015", + "testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle018", + "testability/pages/UIComponentButtonRadioStyle/UIComponentButtonRadioStyle019", + "testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0010", + "testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0020", + "testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0030", + "testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0050", + "testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0060", + "testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0070", + "testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0080", + "testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0090", + "testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0100", + "testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0110", + "testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0120", + "testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0130", + "testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0140", + "testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0150", + "testability/pages/UIComponentButtonToggleCustomizing/UIComponentButtonToggleCustomizing0170", + "testability/pages/UIComponentButtonToggleEvent/UIComponentButtonToggleEvent0010", + "testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0010", + "testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0040", + "testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0070", + "testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0170", + "testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0220", + "testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0230", + "testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0250", + "testability/pages/UIComponentButtonToggleInterface/UIComponentButtonToggleInterface0330", + "testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0010", + "testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0030", + "testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0070", + "testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0090", + "testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0100", + "testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0110", + "testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0120", + "testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0130", + "testability/pages/UIComponentButtonToggleMirror/UIComponentButtonToggleMirror0140", + "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0500", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0120", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0100", + "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0470", + "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0460", + "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0490", + "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0480", + "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0510", + "testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0270", + "testability/pages/UIComponentPopupBoxPromptToastSystem/UIComponentPopupBoxPromptToastSystem0260", + "testability/pages/UIComponentPopupBoxPicker/UIComponentPopupBoxPicker0200", + + "testability/pages/UIComponentPopupboxPopupFollowtransformoftarget/UIComponentPopupboxPopupFollowtransformoftarget0450", + + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1980", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1970", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0830", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0080", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0100", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0110", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1100", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1090", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1630", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1190", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1310", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1200", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1380", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0160", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0670", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1480", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0040", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0190", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1510", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1490", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0470", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1390", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0320", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest0540", + "testability/pages/UIComponentPopupboxMenuMenuTest/UIComponentPopupboxMenuMenuTest1060" "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0010", "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0020", "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0030", diff --git a/function/ui_compare_rh/uicompare_tools/excel/uicompare.xlsx b/function/ui_compare_rh/uicompare_tools/excel/uicompare.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..b65b66383037baefc53911f3a40c8293bb8747a4 GIT binary patch literal 28732 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 literal 0 HcmV?d00001 diff --git a/function/ui_compare_rh/uicompare_tools/excel/uicompare_gen.xlsx b/function/ui_compare_rh/uicompare_tools/excel/uicompare_gen.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..e9b9bc33bdc3e2f569fe80736fe3aa785b9ae926 GIT binary patch literal 22069 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 Sh7KQr4gB{7);UE5-uhqk6nQ29 literal 0 HcmV?d00001 diff --git a/function/ui_compare_rh/uicompare_tools/run.bat b/function/ui_compare_rh/uicompare_tools/run.bat index 3fe200aa..5110dc05 100644 --- a/function/ui_compare_rh/uicompare_tools/run.bat +++ b/function/ui_compare_rh/uicompare_tools/run.bat @@ -34,4 +34,4 @@ set /p param= 输入入参: python UiCompareTools_progress.py %param% -pause +pause \ No newline at end of file -- Gitee